Class ServerPlayerInteractionManager

java.lang.Object
net.minecraft.server.network.ServerPlayerInteractionManager
Direct Known Subclasses:
DemoServerPlayerInteractionManager

public class ServerPlayerInteractionManager extends Object
Mappings:
Namespace Name
official lt
intermediary net/minecraft/class_799
named net/minecraft/server/network/ServerPlayerInteractionManager
  • Field Details

    • world

      public World world
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a:Laht;
      intermediary field_2844 Lnet/minecraft/class_799;field_2844:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/server/network/ServerPlayerInteractionManager;world:Lnet/minecraft/world/World;
    • player

      public ServerPlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      official b Llt;b:Lls;
      intermediary field_2845 Lnet/minecraft/class_799;field_2845:Lnet/minecraft/class_798;
      named player Lnet/minecraft/server/network/ServerPlayerInteractionManager;player:Lnet/minecraft/entity/player/ServerPlayerEntity;
    • gameMode

      private LevelInfo.GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official c Llt;c:Lahw$a;
      intermediary field_2846 Lnet/minecraft/class_799;field_2846:Lnet/minecraft/class_1156$class_1157;
      named gameMode Lnet/minecraft/server/network/ServerPlayerInteractionManager;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
    • mining

      private boolean mining
      Mappings:
      Namespace Name Mixin selector
      official d Llt;d:Z
      intermediary field_2847 Lnet/minecraft/class_799;field_2847:Z
      named mining Lnet/minecraft/server/network/ServerPlayerInteractionManager;mining:Z
    • field_2848

      private int field_2848
      Mappings:
      Namespace Name Mixin selector
      official e Llt;e:I
      intermediary field_2848 Lnet/minecraft/class_799;field_2848:I
      named field_2848 Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_2848:I
    • field_11764

      private BlockPos field_11764
      Mappings:
      Namespace Name Mixin selector
      official f Llt;f:Lcl;
      intermediary field_11764 Lnet/minecraft/class_799;field_11764:Lnet/minecraft/class_2552;
      named field_11764 Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_11764:Lnet/minecraft/util/math/BlockPos;
    • tickCounter

      private int tickCounter
      Mappings:
      Namespace Name Mixin selector
      official g Llt;g:I
      intermediary field_2852 Lnet/minecraft/class_799;field_2852:I
      named tickCounter Lnet/minecraft/server/network/ServerPlayerInteractionManager;tickCounter:I
    • failedToMine

      private boolean failedToMine
      Mappings:
      Namespace Name Mixin selector
      official h Llt;h:Z
      intermediary field_2853 Lnet/minecraft/class_799;field_2853:Z
      named failedToMine Lnet/minecraft/server/network/ServerPlayerInteractionManager;failedToMine:Z
    • miningPos

      private BlockPos miningPos
      Mappings:
      Namespace Name Mixin selector
      official i Llt;i:Lcl;
      intermediary field_11765 Lnet/minecraft/class_799;field_11765:Lnet/minecraft/class_2552;
      named miningPos Lnet/minecraft/server/network/ServerPlayerInteractionManager;miningPos:Lnet/minecraft/util/math/BlockPos;
    • field_2857

      private int field_2857
      Mappings:
      Namespace Name Mixin selector
      official j Llt;j:I
      intermediary field_2857 Lnet/minecraft/class_799;field_2857:I
      named field_2857 Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_2857:I
    • field_2858

      private int field_2858
      Mappings:
      Namespace Name Mixin selector
      official k Llt;k:I
      intermediary field_2858 Lnet/minecraft/class_799;field_2858:I
      named field_2858 Lnet/minecraft/server/network/ServerPlayerInteractionManager;field_2858:I
  • Constructor Details

    • ServerPlayerInteractionManager

      public ServerPlayerInteractionManager(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llt;<init>(Laht;)V
      intermediary <init> Lnet/minecraft/class_799;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/server/network/ServerPlayerInteractionManager;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • setGameMode

      public void setGameMode(LevelInfo.GameMode gamemode)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Lahw$a;)V
      intermediary method_2171 Lnet/minecraft/class_799;method_2171(Lnet/minecraft/class_1156$class_1157;)V
      named setGameMode Lnet/minecraft/server/network/ServerPlayerInteractionManager;setGameMode(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
    • getGameMode

      public LevelInfo.GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official b Llt;b()Lahw$a;
      intermediary method_2172 Lnet/minecraft/class_799;method_2172()Lnet/minecraft/class_1156$class_1157;
      named getGameMode Lnet/minecraft/server/network/ServerPlayerInteractionManager;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
    • isSurvival

      public boolean isSurvival()
      Mappings:
      Namespace Name Mixin selector
      official c Llt;c()Z
      intermediary method_10767 Lnet/minecraft/class_799;method_10767()Z
      named isSurvival Lnet/minecraft/server/network/ServerPlayerInteractionManager;isSurvival()Z
    • isCreative

      public boolean isCreative()
      Mappings:
      Namespace Name Mixin selector
      official d Llt;d()Z
      intermediary method_2176 Lnet/minecraft/class_799;method_2176()Z
      named isCreative Lnet/minecraft/server/network/ServerPlayerInteractionManager;isCreative()Z
    • setGameModeIfNotPresent

      public void setGameModeIfNotPresent(LevelInfo.GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official b Llt;b(Lahw$a;)V
      intermediary method_2174 Lnet/minecraft/class_799;method_2174(Lnet/minecraft/class_1156$class_1157;)V
      named setGameModeIfNotPresent Lnet/minecraft/server/network/ServerPlayerInteractionManager;setGameModeIfNotPresent(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
    • update

      public void update()
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a()V
      intermediary method_2165 Lnet/minecraft/class_799;method_2165()V
      named update Lnet/minecraft/server/network/ServerPlayerInteractionManager;update()V
    • processBlockBreakingAction

      public void processBlockBreakingAction(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Lcl;Lcs;)V
      intermediary method_10765 Lnet/minecraft/class_799;method_10765(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)V
      named processBlockBreakingAction Lnet/minecraft/server/network/ServerPlayerInteractionManager;processBlockBreakingAction(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
    • method_10764

      public void method_10764(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Lcl;)V
      intermediary method_10764 Lnet/minecraft/class_799;method_10764(Lnet/minecraft/class_2552;)V
      named method_10764 Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_10764(Lnet/minecraft/util/math/BlockPos;)V
    • method_10769

      public void method_10769()
      Mappings:
      Namespace Name Mixin selector
      official e Llt;e()V
      intermediary method_10769 Lnet/minecraft/class_799;method_10769()V
      named method_10769 Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_10769()V
    • tryBreakBlock

      private boolean tryBreakBlock(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Llt;c(Lcl;)Z
      intermediary method_10768 Lnet/minecraft/class_799;method_10768(Lnet/minecraft/class_2552;)Z
      named tryBreakBlock Lnet/minecraft/server/network/ServerPlayerInteractionManager;tryBreakBlock(Lnet/minecraft/util/math/BlockPos;)Z
    • method_10766

      public boolean method_10766(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Llt;b(Lcl;)Z
      intermediary method_10766 Lnet/minecraft/class_799;method_10766(Lnet/minecraft/class_2552;)Z
      named method_10766 Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_10766(Lnet/minecraft/util/math/BlockPos;)Z
    • method_12791

      public ActionResult method_12791(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Lzj;Laht;Ladq;Lqm;)Lqo;
      intermediary method_12791 Lnet/minecraft/class_799;method_12791(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_1071;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2962;
      named method_12791 Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_12791(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • method_12792

      public ActionResult method_12792(PlayerEntity playerEntity, World world, @Nullable ItemStack itemStack, Hand hand, BlockPos blockPos, Direction direction, float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Lzj;Laht;Ladq;Lqm;Lcl;Lcs;FFF)Lqo;
      intermediary method_12792 Lnet/minecraft/class_799;method_12792(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_1071;Lnet/minecraft/class_2961;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;
      named method_12792 Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_12792(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
    • setWorld

      public void setWorld(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Llq;)V
      intermediary method_2168 Lnet/minecraft/class_799;method_2168(Lnet/minecraft/class_795;)V
      named setWorld Lnet/minecraft/server/network/ServerPlayerInteractionManager;setWorld(Lnet/minecraft/server/world/ServerWorld;)V