Package net.minecraft.client.network
Class ClientPlayerInteractionManager
java.lang.Object
net.minecraft.client.network.ClientPlayerInteractionManager
- Mappings:
Namespace Name named net/minecraft/client/network/ClientPlayerInteractionManager
intermediary net/minecraft/class_636
official fzi
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private float
private boolean
private final MinecraftClient
private BlockPos
private float
private GameMode
private int
private static final Logger
private final ClientPlayNetworkHandler
private ItemStack
-
Constructor Summary
ConstructorDescriptionClientPlayerInteractionManager
(MinecraftClient client, ClientPlayNetworkHandler networkHandler) -
Method Summary
Modifier and TypeMethodDescriptionboolean
attackBlock
(BlockPos pos, Direction direction) void
attackEntity
(PlayerEntity player, Entity target) boolean
breakBlock
(BlockPos pos) void
void
clickButton
(int syncId, int buttonId) void
clickCreativeStack
(ItemStack stack, int slotId) void
clickRecipe
(int syncId, RecipeEntry<?> recipe, boolean craftAll) void
clickSlot
(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity player) void
copyAbilities
(PlayerEntity player) createPlayer
(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook) createPlayer
(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting) void
dropCreativeStack
(ItemStack stack) int
boolean
boolean
boolean
boolean
boolean
interactBlock
(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult) private ActionResult
interactBlockInternal
(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult) interactEntity
(PlayerEntity player, Entity entity, Hand hand) interactEntityAtLocation
(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand) interactItem
(PlayerEntity player, Hand hand) boolean
private boolean
boolean
void
pickFromInventory
(int slot) private void
sendSequencedPacket
(ClientWorld world, SequencedPacketCreator packetCreator) void
setGameMode
(GameMode gameMode) void
setGameModes
(GameMode gameMode, @Nullable GameMode previousGameMode) void
slotChangedState
(int slot, int screenHandlerId, boolean newState) void
stopUsingItem
(PlayerEntity player) private void
void
tick()
boolean
updateBlockBreakingProgress
(BlockPos pos, Direction direction)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/network/ClientPlayerInteractionManager;LOGGER:Lorg/slf4j/Logger;
intermediary field_20316
Lnet/minecraft/class_636;field_20316:Lorg/slf4j/Logger;
official a
Lfzi;a:Lorg/slf4j/Logger;
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/network/ClientPlayerInteractionManager;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_3712
Lnet/minecraft/class_636;field_3712:Lnet/minecraft/class_310;
official b
Lfzi;b:Lfgi;
-
networkHandler
- Mappings:
Namespace Name Mixin selector named networkHandler
Lnet/minecraft/client/network/ClientPlayerInteractionManager;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
intermediary field_3720
Lnet/minecraft/class_636;field_3720:Lnet/minecraft/class_634;
official c
Lfzi;c:Lfza;
-
currentBreakingPos
- Mappings:
Namespace Name Mixin selector named currentBreakingPos
Lnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingPos:Lnet/minecraft/util/math/BlockPos;
intermediary field_3714
Lnet/minecraft/class_636;field_3714:Lnet/minecraft/class_2338;
official d
Lfzi;d:Ljd;
-
selectedStack
- Mappings:
Namespace Name Mixin selector named selectedStack
Lnet/minecraft/client/network/ClientPlayerInteractionManager;selectedStack:Lnet/minecraft/item/ItemStack;
intermediary field_3718
Lnet/minecraft/class_636;field_3718:Lnet/minecraft/class_1799;
official e
Lfzi;e:Lcuo;
-
currentBreakingProgress
private float currentBreakingProgress- Mappings:
Namespace Name Mixin selector named currentBreakingProgress
Lnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingProgress:F
intermediary field_3715
Lnet/minecraft/class_636;field_3715:F
official f
Lfzi;f:F
-
blockBreakingSoundCooldown
private float blockBreakingSoundCooldown- Mappings:
Namespace Name Mixin selector named blockBreakingSoundCooldown
Lnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingSoundCooldown:F
intermediary field_3713
Lnet/minecraft/class_636;field_3713:F
official g
Lfzi;g:F
-
blockBreakingCooldown
private int blockBreakingCooldown- Mappings:
Namespace Name Mixin selector named blockBreakingCooldown
Lnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingCooldown:I
intermediary field_3716
Lnet/minecraft/class_636;field_3716:I
official h
Lfzi;h:I
-
breakingBlock
private boolean breakingBlock- Mappings:
Namespace Name Mixin selector named breakingBlock
Lnet/minecraft/client/network/ClientPlayerInteractionManager;breakingBlock:Z
intermediary field_3717
Lnet/minecraft/class_636;field_3717:Z
official i
Lfzi;i:Z
-
gameMode
- Mappings:
Namespace Name Mixin selector named gameMode
Lnet/minecraft/client/network/ClientPlayerInteractionManager;gameMode:Lnet/minecraft/world/GameMode;
intermediary field_3719
Lnet/minecraft/class_636;field_3719:Lnet/minecraft/class_1934;
official j
Lfzi;j:Ldcr;
-
previousGameMode
- Mappings:
Namespace Name Mixin selector named previousGameMode
Lnet/minecraft/client/network/ClientPlayerInteractionManager;previousGameMode:Lnet/minecraft/world/GameMode;
intermediary field_24608
Lnet/minecraft/class_636;field_24608:Lnet/minecraft/class_1934;
official k
Lfzi;k:Ldcr;
-
lastSelectedSlot
private int lastSelectedSlot- Mappings:
Namespace Name Mixin selector named lastSelectedSlot
Lnet/minecraft/client/network/ClientPlayerInteractionManager;lastSelectedSlot:I
intermediary field_3721
Lnet/minecraft/class_636;field_3721:I
official l
Lfzi;l:I
-
-
Constructor Details
-
ClientPlayerInteractionManager
public ClientPlayerInteractionManager(MinecraftClient client, ClientPlayNetworkHandler networkHandler) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/network/ClientPlayerInteractionManager;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/network/ClientPlayNetworkHandler;)V
intermediary <init>
Lnet/minecraft/class_636;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_634;)V
official <init>
Lfzi;<init>(Lfgi;Lfza;)V
-
-
Method Details
-
copyAbilities
- Mappings:
Namespace Name Mixin selector named copyAbilities
Lnet/minecraft/client/network/ClientPlayerInteractionManager;copyAbilities(Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_2903
Lnet/minecraft/class_636;method_2903(Lnet/minecraft/class_1657;)V
official a
Lfzi;a(Lcmv;)V
-
setGameModes
- Mappings:
Namespace Name Mixin selector named setGameModes
Lnet/minecraft/client/network/ClientPlayerInteractionManager;setGameModes(Lnet/minecraft/world/GameMode;Lnet/minecraft/world/GameMode;)V
intermediary method_32790
Lnet/minecraft/class_636;method_32790(Lnet/minecraft/class_1934;Lnet/minecraft/class_1934;)V
official a
Lfzi;a(Ldcr;Ldcr;)V
-
setGameMode
- Mappings:
Namespace Name Mixin selector named setGameMode
Lnet/minecraft/client/network/ClientPlayerInteractionManager;setGameMode(Lnet/minecraft/world/GameMode;)V
intermediary method_2907
Lnet/minecraft/class_636;method_2907(Lnet/minecraft/class_1934;)V
official a
Lfzi;a(Ldcr;)V
-
hasStatusBars
public boolean hasStatusBars()- Mappings:
Namespace Name Mixin selector named hasStatusBars
Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasStatusBars()Z
intermediary method_2908
Lnet/minecraft/class_636;method_2908()Z
official a
Lfzi;a()Z
-
breakBlock
- Mappings:
Namespace Name Mixin selector named breakBlock
Lnet/minecraft/client/network/ClientPlayerInteractionManager;breakBlock(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_2899
Lnet/minecraft/class_636;method_2899(Lnet/minecraft/class_2338;)Z
official a
Lfzi;a(Ljd;)Z
-
attackBlock
- Mappings:
Namespace Name Mixin selector named attackBlock
Lnet/minecraft/client/network/ClientPlayerInteractionManager;attackBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
intermediary method_2910
Lnet/minecraft/class_636;method_2910(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
official a
Lfzi;a(Ljd;Lji;)Z
-
cancelBlockBreaking
public void cancelBlockBreaking()- Mappings:
Namespace Name Mixin selector named cancelBlockBreaking
Lnet/minecraft/client/network/ClientPlayerInteractionManager;cancelBlockBreaking()V
intermediary method_2925
Lnet/minecraft/class_636;method_2925()V
official b
Lfzi;b()V
-
updateBlockBreakingProgress
- Mappings:
Namespace Name Mixin selector named updateBlockBreakingProgress
Lnet/minecraft/client/network/ClientPlayerInteractionManager;updateBlockBreakingProgress(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
intermediary method_2902
Lnet/minecraft/class_636;method_2902(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
official b
Lfzi;b(Ljd;Lji;)Z
-
sendSequencedPacket
- Mappings:
Namespace Name Mixin selector named sendSequencedPacket
Lnet/minecraft/client/network/ClientPlayerInteractionManager;sendSequencedPacket(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/SequencedPacketCreator;)V
intermediary method_41931
Lnet/minecraft/class_636;method_41931(Lnet/minecraft/class_638;Lnet/minecraft/class_7204;)V
official a
Lfzi;a(Lfyz;Lgan;)V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/client/network/ClientPlayerInteractionManager;tick()V
intermediary method_2927
Lnet/minecraft/class_636;method_2927()V
official c
Lfzi;c()V
-
isCurrentlyBreaking
- Mappings:
Namespace Name Mixin selector named isCurrentlyBreaking
Lnet/minecraft/client/network/ClientPlayerInteractionManager;isCurrentlyBreaking(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_2922
Lnet/minecraft/class_636;method_2922(Lnet/minecraft/class_2338;)Z
official b
Lfzi;b(Ljd;)Z
-
syncSelectedSlot
private void syncSelectedSlot()- Mappings:
Namespace Name Mixin selector named syncSelectedSlot
Lnet/minecraft/client/network/ClientPlayerInteractionManager;syncSelectedSlot()V
intermediary method_2911
Lnet/minecraft/class_636;method_2911()V
official m
Lfzi;m()V
-
interactBlock
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lfzi;a(Lgdv;Lbqp;Lews;)Lbqq;
-
interactBlockInternal
private ActionResult interactBlockInternal(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult) - Mappings:
Namespace Name Mixin selector 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;
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;
official b
Lfzi;b(Lgdv;Lbqp;Lews;)Lbqq;
-
interactItem
- Mappings:
Namespace Name Mixin selector named interactItem
Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
intermediary method_2919
Lnet/minecraft/class_636;method_2919(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
official a
Lfzi;a(Lcmv;Lbqp;)Lbqq;
-
createPlayer
public ClientPlayerEntity createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lfzi;a(Lfyz;Lavz;Lffu;)Lgdv;
-
createPlayer
public ClientPlayerEntity createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lfzi;a(Lfyz;Lavz;Lffu;ZZ)Lgdv;
-
attackEntity
- Mappings:
Namespace Name Mixin selector named attackEntity
Lnet/minecraft/client/network/ClientPlayerInteractionManager;attackEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)V
intermediary method_2918
Lnet/minecraft/class_636;method_2918(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;)V
official a
Lfzi;a(Lcmv;Lbsq;)V
-
interactEntity
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lfzi;a(Lcmv;Lbsq;Lbqp;)Lbqq;
-
interactEntityAtLocation
public ActionResult interactEntityAtLocation(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lfzi;a(Lcmv;Lbsq;Lewt;Lbqp;)Lbqq;
-
clickSlot
public void clickSlot(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity player) - See Also:
- Mappings:
Namespace Name Mixin selector named clickSlot
Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickSlot(IIILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_2906
Lnet/minecraft/class_636;method_2906(IIILnet/minecraft/class_1713;Lnet/minecraft/class_1657;)V
official a
Lfzi;a(IIILcqc;Lcmv;)V
-
clickRecipe
- Mappings:
Namespace Name Mixin selector named clickRecipe
Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickRecipe(ILnet/minecraft/recipe/RecipeEntry;Z)V
intermediary method_2912
Lnet/minecraft/class_636;method_2912(ILnet/minecraft/class_8786;Z)V
official a
Lfzi;a(ILcyz;Z)V
-
clickButton
public void clickButton(int syncId, int buttonId) - Mappings:
Namespace Name Mixin selector named clickButton
Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickButton(II)V
intermediary method_2900
Lnet/minecraft/class_636;method_2900(II)V
official a
Lfzi;a(II)V
-
clickCreativeStack
- Mappings:
Namespace Name Mixin selector named clickCreativeStack
Lnet/minecraft/client/network/ClientPlayerInteractionManager;clickCreativeStack(Lnet/minecraft/item/ItemStack;I)V
intermediary method_2909
Lnet/minecraft/class_636;method_2909(Lnet/minecraft/class_1799;I)V
official a
Lfzi;a(Lcuo;I)V
-
dropCreativeStack
- Mappings:
Namespace Name Mixin selector named dropCreativeStack
Lnet/minecraft/client/network/ClientPlayerInteractionManager;dropCreativeStack(Lnet/minecraft/item/ItemStack;)V
intermediary method_2915
Lnet/minecraft/class_636;method_2915(Lnet/minecraft/class_1799;)V
official a
Lfzi;a(Lcuo;)V
-
stopUsingItem
- Mappings:
Namespace Name Mixin selector named stopUsingItem
Lnet/minecraft/client/network/ClientPlayerInteractionManager;stopUsingItem(Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_2897
Lnet/minecraft/class_636;method_2897(Lnet/minecraft/class_1657;)V
official b
Lfzi;b(Lcmv;)V
-
hasExperienceBar
public boolean hasExperienceBar()- Mappings:
Namespace Name Mixin selector named hasExperienceBar
Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasExperienceBar()Z
intermediary method_2913
Lnet/minecraft/class_636;method_2913()Z
official d
Lfzi;d()Z
-
hasLimitedAttackSpeed
public boolean hasLimitedAttackSpeed()- Mappings:
Namespace Name Mixin selector named hasLimitedAttackSpeed
Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasLimitedAttackSpeed()Z
intermediary method_2924
Lnet/minecraft/class_636;method_2924()Z
official e
Lfzi;e()Z
-
hasCreativeInventory
public boolean hasCreativeInventory()- Mappings:
Namespace Name Mixin selector named hasCreativeInventory
Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasCreativeInventory()Z
intermediary method_2914
Lnet/minecraft/class_636;method_2914()Z
official f
Lfzi;f()Z
-
hasRidingInventory
public boolean hasRidingInventory()- Mappings:
Namespace Name Mixin selector named hasRidingInventory
Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasRidingInventory()Z
intermediary method_2895
Lnet/minecraft/class_636;method_2895()Z
official g
Lfzi;g()Z
-
isFlyingLocked
public boolean isFlyingLocked()- Mappings:
Namespace Name Mixin selector named isFlyingLocked
Lnet/minecraft/client/network/ClientPlayerInteractionManager;isFlyingLocked()Z
intermediary method_2928
Lnet/minecraft/class_636;method_2928()Z
official h
Lfzi;h()Z
-
getPreviousGameMode
- Mappings:
Namespace Name Mixin selector named getPreviousGameMode
Lnet/minecraft/client/network/ClientPlayerInteractionManager;getPreviousGameMode()Lnet/minecraft/world/GameMode;
intermediary method_28107
Lnet/minecraft/class_636;method_28107()Lnet/minecraft/class_1934;
official i
Lfzi;i()Ldcr;
-
getCurrentGameMode
- Mappings:
Namespace Name Mixin selector named getCurrentGameMode
Lnet/minecraft/client/network/ClientPlayerInteractionManager;getCurrentGameMode()Lnet/minecraft/world/GameMode;
intermediary method_2920
Lnet/minecraft/class_636;method_2920()Lnet/minecraft/class_1934;
official j
Lfzi;j()Ldcr;
-
isBreakingBlock
public boolean isBreakingBlock()- Mappings:
Namespace Name Mixin selector named isBreakingBlock
Lnet/minecraft/client/network/ClientPlayerInteractionManager;isBreakingBlock()Z
intermediary method_2923
Lnet/minecraft/class_636;method_2923()Z
official k
Lfzi;k()Z
-
getBlockBreakingProgress
public int getBlockBreakingProgress()- Mappings:
Namespace Name Mixin selector named getBlockBreakingProgress
Lnet/minecraft/client/network/ClientPlayerInteractionManager;getBlockBreakingProgress()I
intermediary method_51888
Lnet/minecraft/class_636;method_51888()I
official l
Lfzi;l()I
-
pickFromInventory
public void pickFromInventory(int slot) - Mappings:
Namespace Name Mixin selector named pickFromInventory
Lnet/minecraft/client/network/ClientPlayerInteractionManager;pickFromInventory(I)V
intermediary method_2916
Lnet/minecraft/class_636;method_2916(I)V
official a
Lfzi;a(I)V
-
slotChangedState
public void slotChangedState(int slot, int screenHandlerId, boolean newState) - Mappings:
Namespace Name Mixin selector named slotChangedState
Lnet/minecraft/client/network/ClientPlayerInteractionManager;slotChangedState(IIZ)V
intermediary method_54634
Lnet/minecraft/class_636;method_54634(IIZ)V
official a
Lfzi;a(IIZ)V
-