Class ClientPlayerInteractionManager

java.lang.Object
net.minecraft.client.network.ClientPlayerInteractionManager

@Environment(CLIENT) public class ClientPlayerInteractionManager extends Object
Mappings:
Namespace Name
official fep
intermediary net/minecraft/class_636
named net/minecraft/client/network/ClientPlayerInteractionManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a:Lorg/slf4j/Logger;
      intermediary field_20316 Lnet/minecraft/class_636;field_20316:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/network/ClientPlayerInteractionManager;LOGGER:Lorg/slf4j/Logger;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Lfep;b:Lenf;
      intermediary field_3712 Lnet/minecraft/class_636;field_3712:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/network/ClientPlayerInteractionManager;client:Lnet/minecraft/client/MinecraftClient;
    • networkHandler

      private final ClientPlayNetworkHandler networkHandler
      Mappings:
      Namespace Name Mixin selector
      official c Lfep;c:Lfem;
      intermediary field_3720 Lnet/minecraft/class_636;field_3720:Lnet/minecraft/class_634;
      named networkHandler Lnet/minecraft/client/network/ClientPlayerInteractionManager;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
    • currentBreakingPos

      private BlockPos currentBreakingPos
      Mappings:
      Namespace Name Mixin selector
      official d Lfep;d:Lgu;
      intermediary field_3714 Lnet/minecraft/class_636;field_3714:Lnet/minecraft/class_2338;
      named currentBreakingPos Lnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingPos:Lnet/minecraft/util/math/BlockPos;
    • selectedStack

      private ItemStack selectedStack
      Mappings:
      Namespace Name Mixin selector
      official e Lfep;e:Lcfx;
      intermediary field_3718 Lnet/minecraft/class_636;field_3718:Lnet/minecraft/class_1799;
      named selectedStack Lnet/minecraft/client/network/ClientPlayerInteractionManager;selectedStack:Lnet/minecraft/item/ItemStack;
    • currentBreakingProgress

      private float currentBreakingProgress
      Mappings:
      Namespace Name Mixin selector
      official f Lfep;f:F
      intermediary field_3715 Lnet/minecraft/class_636;field_3715:F
      named currentBreakingProgress Lnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingProgress:F
    • blockBreakingSoundCooldown

      private float blockBreakingSoundCooldown
      Mappings:
      Namespace Name Mixin selector
      official g Lfep;g:F
      intermediary field_3713 Lnet/minecraft/class_636;field_3713:F
      named blockBreakingSoundCooldown Lnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingSoundCooldown:F
    • blockBreakingCooldown

      private int blockBreakingCooldown
      Mappings:
      Namespace Name Mixin selector
      official h Lfep;h:I
      intermediary field_3716 Lnet/minecraft/class_636;field_3716:I
      named blockBreakingCooldown Lnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingCooldown:I
    • breakingBlock

      private boolean breakingBlock
      Mappings:
      Namespace Name Mixin selector
      official i Lfep;i:Z
      intermediary field_3717 Lnet/minecraft/class_636;field_3717:Z
      named breakingBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;breakingBlock:Z
    • gameMode

      private GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official j Lfep;j:Lcmh;
      intermediary field_3719 Lnet/minecraft/class_636;field_3719:Lnet/minecraft/class_1934;
      named gameMode Lnet/minecraft/client/network/ClientPlayerInteractionManager;gameMode:Lnet/minecraft/world/GameMode;
    • previousGameMode

      @Nullable private @Nullable GameMode previousGameMode
      Mappings:
      Namespace Name Mixin selector
      official k Lfep;k:Lcmh;
      intermediary field_24608 Lnet/minecraft/class_636;field_24608:Lnet/minecraft/class_1934;
      named previousGameMode Lnet/minecraft/client/network/ClientPlayerInteractionManager;previousGameMode:Lnet/minecraft/world/GameMode;
    • lastSelectedSlot

      private int lastSelectedSlot
      Mappings:
      Namespace Name Mixin selector
      official l Lfep;l:I
      intermediary field_3721 Lnet/minecraft/class_636;field_3721:I
      named lastSelectedSlot Lnet/minecraft/client/network/ClientPlayerInteractionManager;lastSelectedSlot:I
  • Constructor Details

    • ClientPlayerInteractionManager

      public ClientPlayerInteractionManager(MinecraftClient client, ClientPlayNetworkHandler networkHandler)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfep;<init>(Lenf;Lfem;)V
      intermediary <init> Lnet/minecraft/class_636;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_634;)V
      named <init> Lnet/minecraft/client/network/ClientPlayerInteractionManager;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/network/ClientPlayNetworkHandler;)V
  • Method Details

    • copyAbilities

      public void copyAbilities(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lbym;)V
      intermediary method_2903 Lnet/minecraft/class_636;method_2903(Lnet/minecraft/class_1657;)V
      named copyAbilities Lnet/minecraft/client/network/ClientPlayerInteractionManager;copyAbilities(Lnet/minecraft/entity/player/PlayerEntity;)V
    • setGameModes

      public void setGameModes(GameMode gameMode, @Nullable @Nullable GameMode previousGameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lcmh;Lcmh;)V
      intermediary method_32790 Lnet/minecraft/class_636;method_32790(Lnet/minecraft/class_1934;Lnet/minecraft/class_1934;)V
      named setGameModes Lnet/minecraft/client/network/ClientPlayerInteractionManager;setGameModes(Lnet/minecraft/world/GameMode;Lnet/minecraft/world/GameMode;)V
    • setGameMode

      public void setGameMode(GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lcmh;)V
      intermediary method_2907 Lnet/minecraft/class_636;method_2907(Lnet/minecraft/class_1934;)V
      named setGameMode Lnet/minecraft/client/network/ClientPlayerInteractionManager;setGameMode(Lnet/minecraft/world/GameMode;)V
    • hasStatusBars

      public boolean hasStatusBars()
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a()Z
      intermediary method_2908 Lnet/minecraft/class_636;method_2908()Z
      named hasStatusBars Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasStatusBars()Z
    • breakBlock

      public boolean breakBlock(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lgu;)Z
      intermediary method_2899 Lnet/minecraft/class_636;method_2899(Lnet/minecraft/class_2338;)Z
      named breakBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;breakBlock(Lnet/minecraft/util/math/BlockPos;)Z
    • attackBlock

      public boolean attackBlock(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lgu;Lha;)Z
      intermediary method_2910 Lnet/minecraft/class_636;method_2910(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named attackBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;attackBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • cancelBlockBreaking

      public void cancelBlockBreaking()
      Mappings:
      Namespace Name Mixin selector
      official b Lfep;b()V
      intermediary method_2925 Lnet/minecraft/class_636;method_2925()V
      named cancelBlockBreaking Lnet/minecraft/client/network/ClientPlayerInteractionManager;cancelBlockBreaking()V
    • updateBlockBreakingProgress

      public boolean updateBlockBreakingProgress(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Lfep;b(Lgu;Lha;)Z
      intermediary method_2902 Lnet/minecraft/class_636;method_2902(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named updateBlockBreakingProgress Lnet/minecraft/client/network/ClientPlayerInteractionManager;updateBlockBreakingProgress(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • sendSequencedPacket

      private void sendSequencedPacket(ClientWorld world, SequencedPacketCreator packetCreator)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lfel;Lffl;)V
      intermediary method_41931 Lnet/minecraft/class_636;method_41931(Lnet/minecraft/class_638;Lnet/minecraft/class_7204;)V
      named sendSequencedPacket Lnet/minecraft/client/network/ClientPlayerInteractionManager;sendSequencedPacket(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/SequencedPacketCreator;)V
    • getReachDistance

      public float getReachDistance()
      Mappings:
      Namespace Name Mixin selector
      official c Lfep;c()F
      intermediary method_2904 Lnet/minecraft/class_636;method_2904()F
      named getReachDistance Lnet/minecraft/client/network/ClientPlayerInteractionManager;getReachDistance()F
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official d Lfep;d()V
      intermediary method_2927 Lnet/minecraft/class_636;method_2927()V
      named tick Lnet/minecraft/client/network/ClientPlayerInteractionManager;tick()V
    • isCurrentlyBreaking

      private boolean isCurrentlyBreaking(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lfep;b(Lgu;)Z
      intermediary method_2922 Lnet/minecraft/class_636;method_2922(Lnet/minecraft/class_2338;)Z
      named isCurrentlyBreaking Lnet/minecraft/client/network/ClientPlayerInteractionManager;isCurrentlyBreaking(Lnet/minecraft/util/math/BlockPos;)Z
    • syncSelectedSlot

      private void syncSelectedSlot()
      Mappings:
      Namespace Name Mixin selector
      official o Lfep;o()V
      intermediary method_2911 Lnet/minecraft/class_636;method_2911()V
      named syncSelectedSlot Lnet/minecraft/client/network/ClientPlayerInteractionManager;syncSelectedSlot()V
    • interactBlock

      public ActionResult interactBlock(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lfin;Lbdv;Ledw;)Lbdw;
      intermediary method_2896 Lnet/minecraft/class_636;method_2896(Lnet/minecraft/class_746;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
      named interactBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactBlock(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
    • interactBlockInternal

      private ActionResult interactBlockInternal(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult)
      Mappings:
      Namespace Name Mixin selector
      official b Lfep;b(Lfin;Lbdv;Ledw;)Lbdw;
      intermediary method_41934 Lnet/minecraft/class_636;method_41934(Lnet/minecraft/class_746;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
      named interactBlockInternal Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactBlockInternal(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
    • interactItem

      public ActionResult interactItem(PlayerEntity player, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lbym;Lbdv;)Lbdw;
      intermediary method_2919 Lnet/minecraft/class_636;method_2919(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactItem Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • createPlayer

      public ClientPlayerEntity createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lfel;Lams;Lemt;)Lfin;
      intermediary method_29357 Lnet/minecraft/class_636;method_29357(Lnet/minecraft/class_638;Lnet/minecraft/class_3469;Lnet/minecraft/class_299;)Lnet/minecraft/class_746;
      named createPlayer Lnet/minecraft/client/network/ClientPlayerInteractionManager;createPlayer(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/stat/StatHandler;Lnet/minecraft/client/recipebook/ClientRecipeBook;)Lnet/minecraft/client/network/ClientPlayerEntity;
    • createPlayer

      public ClientPlayerEntity createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lfel;Lams;Lemt;ZZ)Lfin;
      intermediary method_2901 Lnet/minecraft/class_636;method_2901(Lnet/minecraft/class_638;Lnet/minecraft/class_3469;Lnet/minecraft/class_299;ZZ)Lnet/minecraft/class_746;
      named createPlayer Lnet/minecraft/client/network/ClientPlayerInteractionManager;createPlayer(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/stat/StatHandler;Lnet/minecraft/client/recipebook/ClientRecipeBook;ZZ)Lnet/minecraft/client/network/ClientPlayerEntity;
    • attackEntity

      public void attackEntity(PlayerEntity player, Entity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lbym;Lbfh;)V
      intermediary method_2918 Lnet/minecraft/class_636;method_2918(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;)V
      named attackEntity Lnet/minecraft/client/network/ClientPlayerInteractionManager;attackEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)V
    • interactEntity

      public ActionResult interactEntity(PlayerEntity player, Entity entity, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lbym;Lbfh;Lbdv;)Lbdw;
      intermediary method_2905 Lnet/minecraft/class_636;method_2905(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactEntity Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • interactEntityAtLocation

      public ActionResult interactEntityAtLocation(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lbym;Lbfh;Ledx;Lbdv;)Lbdw;
      intermediary method_2917 Lnet/minecraft/class_636;method_2917(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3966;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactEntityAtLocation Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactEntityAtLocation(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/hit/EntityHitResult;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • clickSlot

      public void clickSlot(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity player)
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(IIILcbm;Lbym;)V
      intermediary method_2906 Lnet/minecraft/class_636;method_2906(IIILnet/minecraft/class_1713;Lnet/minecraft/class_1657;)V
      named clickSlot Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickSlot(IIILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/entity/player/PlayerEntity;)V
    • clickRecipe

      public void clickRecipe(int syncId, Recipe<?> recipe, boolean craftAll)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(ILcja;Z)V
      intermediary method_2912 Lnet/minecraft/class_636;method_2912(ILnet/minecraft/class_1860;Z)V
      named clickRecipe Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickRecipe(ILnet/minecraft/recipe/Recipe;Z)V
    • clickButton

      public void clickButton(int syncId, int buttonId)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(II)V
      intermediary method_2900 Lnet/minecraft/class_636;method_2900(II)V
      named clickButton Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickButton(II)V
    • clickCreativeStack

      public void clickCreativeStack(ItemStack stack, int slotId)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lcfx;I)V
      intermediary method_2909 Lnet/minecraft/class_636;method_2909(Lnet/minecraft/class_1799;I)V
      named clickCreativeStack Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickCreativeStack(Lnet/minecraft/item/ItemStack;I)V
    • dropCreativeStack

      public void dropCreativeStack(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(Lcfx;)V
      intermediary method_2915 Lnet/minecraft/class_636;method_2915(Lnet/minecraft/class_1799;)V
      named dropCreativeStack Lnet/minecraft/client/network/ClientPlayerInteractionManager;dropCreativeStack(Lnet/minecraft/item/ItemStack;)V
    • stopUsingItem

      public void stopUsingItem(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lfep;b(Lbym;)V
      intermediary method_2897 Lnet/minecraft/class_636;method_2897(Lnet/minecraft/class_1657;)V
      named stopUsingItem Lnet/minecraft/client/network/ClientPlayerInteractionManager;stopUsingItem(Lnet/minecraft/entity/player/PlayerEntity;)V
    • hasExperienceBar

      public boolean hasExperienceBar()
      Mappings:
      Namespace Name Mixin selector
      official e Lfep;e()Z
      intermediary method_2913 Lnet/minecraft/class_636;method_2913()Z
      named hasExperienceBar Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasExperienceBar()Z
    • hasLimitedAttackSpeed

      public boolean hasLimitedAttackSpeed()
      Mappings:
      Namespace Name Mixin selector
      official f Lfep;f()Z
      intermediary method_2924 Lnet/minecraft/class_636;method_2924()Z
      named hasLimitedAttackSpeed Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasLimitedAttackSpeed()Z
    • hasCreativeInventory

      public boolean hasCreativeInventory()
      Mappings:
      Namespace Name Mixin selector
      official g Lfep;g()Z
      intermediary method_2914 Lnet/minecraft/class_636;method_2914()Z
      named hasCreativeInventory Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasCreativeInventory()Z
    • hasExtendedReach

      public boolean hasExtendedReach()
      Mappings:
      Namespace Name Mixin selector
      official h Lfep;h()Z
      intermediary method_2926 Lnet/minecraft/class_636;method_2926()Z
      named hasExtendedReach Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasExtendedReach()Z
    • hasRidingInventory

      public boolean hasRidingInventory()
      Mappings:
      Namespace Name Mixin selector
      official i Lfep;i()Z
      intermediary method_2895 Lnet/minecraft/class_636;method_2895()Z
      named hasRidingInventory Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasRidingInventory()Z
    • isFlyingLocked

      public boolean isFlyingLocked()
      Mappings:
      Namespace Name Mixin selector
      official j Lfep;j()Z
      intermediary method_2928 Lnet/minecraft/class_636;method_2928()Z
      named isFlyingLocked Lnet/minecraft/client/network/ClientPlayerInteractionManager;isFlyingLocked()Z
    • getPreviousGameMode

      @Nullable public @Nullable GameMode getPreviousGameMode()
      Mappings:
      Namespace Name Mixin selector
      official k Lfep;k()Lcmh;
      intermediary method_28107 Lnet/minecraft/class_636;method_28107()Lnet/minecraft/class_1934;
      named getPreviousGameMode Lnet/minecraft/client/network/ClientPlayerInteractionManager;getPreviousGameMode()Lnet/minecraft/world/GameMode;
    • getCurrentGameMode

      public GameMode getCurrentGameMode()
      Mappings:
      Namespace Name Mixin selector
      official l Lfep;l()Lcmh;
      intermediary method_2920 Lnet/minecraft/class_636;method_2920()Lnet/minecraft/class_1934;
      named getCurrentGameMode Lnet/minecraft/client/network/ClientPlayerInteractionManager;getCurrentGameMode()Lnet/minecraft/world/GameMode;
    • isBreakingBlock

      public boolean isBreakingBlock()
      Mappings:
      Namespace Name Mixin selector
      official m Lfep;m()Z
      intermediary method_2923 Lnet/minecraft/class_636;method_2923()Z
      named isBreakingBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;isBreakingBlock()Z
    • getBlockBreakingProgress

      public int getBlockBreakingProgress()
      Mappings:
      Namespace Name Mixin selector
      official n Lfep;n()I
      intermediary method_51888 Lnet/minecraft/class_636;method_51888()I
      named getBlockBreakingProgress Lnet/minecraft/client/network/ClientPlayerInteractionManager;getBlockBreakingProgress()I
    • pickFromInventory

      public void pickFromInventory(int slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lfep;a(I)V
      intermediary method_2916 Lnet/minecraft/class_636;method_2916(I)V
      named pickFromInventory Lnet/minecraft/client/network/ClientPlayerInteractionManager;pickFromInventory(I)V