Package net.minecraft.client.network
Class ClientPlayerInteractionManager
java.lang.Object
net.minecraft.client.network.ClientPlayerInteractionManager
@Environment(CLIENT) public class ClientPlayerInteractionManager extends Object
- Mappings:
Namespace Name official bdaintermediary net/minecraft/class_906named net/minecraft/client/network/ClientPlayerInteractionManager
-
Field Summary
Fields Modifier and Type Field Description private intblockBreakingCooldownprivate floatblockBreakingSoundCooldownprivate booleanbreakingBlockprivate MinecraftClientclientprivate BlockPoscurrentBreakingPosprivate floatcurrentBreakingProgressprivate LevelInfo.GameModegameModeprivate intlastSelectedSlotprivate ClientPlayNetworkHandlernetworkHandlerprivate ItemStackselectedStack -
Constructor Summary
Constructors Constructor Description ClientPlayerInteractionManager(MinecraftClient client, ClientPlayNetworkHandler clientPlayNetworkHandler) -
Method Summary
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector official aLbda;a:Lave;intermediary field_3988Lnet/minecraft/class_906;field_3988:Lnet/minecraft/class_669;named clientLnet/minecraft/client/network/ClientPlayerInteractionManager;client:Lnet/minecraft/client/MinecraftClient;
-
networkHandler
- Mappings:
Namespace Name Mixin selector official bLbda;b:Lbcy;intermediary field_3989Lnet/minecraft/class_906;field_3989:Lnet/minecraft/class_903;named networkHandlerLnet/minecraft/client/network/ClientPlayerInteractionManager;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
-
currentBreakingPos
- Mappings:
Namespace Name Mixin selector official cLbda;c:Lcj;intermediary field_3990Lnet/minecraft/class_906;field_3990:Lnet/minecraft/class_1372;named currentBreakingPosLnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingPos:Lnet/minecraft/util/math/BlockPos;
-
selectedStack
- Mappings:
Namespace Name Mixin selector official dLbda;d:Lzx;intermediary field_3991Lnet/minecraft/class_906;field_3991:Lnet/minecraft/class_2056;named selectedStackLnet/minecraft/client/network/ClientPlayerInteractionManager;selectedStack:Lnet/minecraft/item/ItemStack;
-
currentBreakingProgress
private float currentBreakingProgress- Mappings:
Namespace Name Mixin selector official eLbda;e:Fintermediary field_3992Lnet/minecraft/class_906;field_3992:Fnamed currentBreakingProgressLnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingProgress:F
-
blockBreakingSoundCooldown
private float blockBreakingSoundCooldown- Mappings:
Namespace Name Mixin selector official fLbda;f:Fintermediary field_3993Lnet/minecraft/class_906;field_3993:Fnamed blockBreakingSoundCooldownLnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingSoundCooldown:F
-
blockBreakingCooldown
private int blockBreakingCooldown- Mappings:
Namespace Name Mixin selector official gLbda;g:Iintermediary field_3994Lnet/minecraft/class_906;field_3994:Inamed blockBreakingCooldownLnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingCooldown:I
-
breakingBlock
private boolean breakingBlock- Mappings:
Namespace Name Mixin selector official hLbda;h:Zintermediary field_3995Lnet/minecraft/class_906;field_3995:Znamed breakingBlockLnet/minecraft/client/network/ClientPlayerInteractionManager;breakingBlock:Z
-
gameMode
- Mappings:
Namespace Name Mixin selector official iLbda;i:Ladp$a;intermediary field_3996Lnet/minecraft/class_906;field_3996:Lnet/minecraft/class_102$class_103;named gameModeLnet/minecraft/client/network/ClientPlayerInteractionManager;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
-
lastSelectedSlot
private int lastSelectedSlot- Mappings:
Namespace Name Mixin selector official jLbda;j:Iintermediary field_3997Lnet/minecraft/class_906;field_3997:Inamed lastSelectedSlotLnet/minecraft/client/network/ClientPlayerInteractionManager;lastSelectedSlot:I
-
-
Constructor Details
-
ClientPlayerInteractionManager
public ClientPlayerInteractionManager(MinecraftClient client, ClientPlayNetworkHandler clientPlayNetworkHandler)- Mappings:
Namespace Name Mixin selector official <init>Lbda;<init>(Lave;Lbcy;)Vintermediary <init>Lnet/minecraft/class_906;<init>(Lnet/minecraft/class_669;Lnet/minecraft/class_903;)Vnamed <init>Lnet/minecraft/client/network/ClientPlayerInteractionManager;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/network/ClientPlayNetworkHandler;)V
-
-
Method Details
-
breakBlockOrFire
public static void breakBlockOrFire(MinecraftClient client, ClientPlayerInteractionManager interactionManager, BlockPos pos, Direction direction)- Mappings:
Namespace Name Mixin selector official aLbda;a(Lave;Lbda;Lcj;Lcq;)Vintermediary method_3127Lnet/minecraft/class_906;method_3127(Lnet/minecraft/class_669;Lnet/minecraft/class_906;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Vnamed breakBlockOrFireLnet/minecraft/client/network/ClientPlayerInteractionManager;breakBlockOrFire(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/network/ClientPlayerInteractionManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
-
copyAbilities
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lwn;)Vintermediary method_3131Lnet/minecraft/class_906;method_3131(Lnet/minecraft/class_1963;)Vnamed copyAbilitiesLnet/minecraft/client/network/ClientPlayerInteractionManager;copyAbilities(Lnet/minecraft/entity/player/PlayerEntity;)V
-
isSpectator
public boolean isSpectator()- Mappings:
Namespace Name Mixin selector official aLbda;a()Zintermediary method_3122Lnet/minecraft/class_906;method_3122()Znamed isSpectatorLnet/minecraft/client/network/ClientPlayerInteractionManager;isSpectator()Z
-
setGameMode
- Mappings:
Namespace Name Mixin selector official aLbda;a(Ladp$a;)Vintermediary method_3126Lnet/minecraft/class_906;method_3126(Lnet/minecraft/class_102$class_103;)Vnamed setGameModeLnet/minecraft/client/network/ClientPlayerInteractionManager;setGameMode(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
-
method_3139
- Mappings:
Namespace Name Mixin selector official bLbda;b(Lwn;)Vintermediary method_3139Lnet/minecraft/class_906;method_3139(Lnet/minecraft/class_1963;)Vnamed method_3139Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_3139(Lnet/minecraft/entity/player/PlayerEntity;)V
-
hasStatusBars
public boolean hasStatusBars()- Mappings:
Namespace Name Mixin selector official bLbda;b()Zintermediary method_3137Lnet/minecraft/class_906;method_3137()Znamed hasStatusBarsLnet/minecraft/client/network/ClientPlayerInteractionManager;hasStatusBars()Z
-
breakBlock
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lcj;Lcq;)Zintermediary method_3130Lnet/minecraft/class_906;method_3130(Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Znamed breakBlockLnet/minecraft/client/network/ClientPlayerInteractionManager;breakBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
attackBlock
- Mappings:
Namespace Name Mixin selector official bLbda;b(Lcj;Lcq;)Zintermediary method_3138Lnet/minecraft/class_906;method_3138(Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Znamed attackBlockLnet/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 cLbda;c()Vintermediary method_3141Lnet/minecraft/class_906;method_3141()Vnamed cancelBlockBreakingLnet/minecraft/client/network/ClientPlayerInteractionManager;cancelBlockBreaking()V
-
updateBlockBreakingProgress
- Mappings:
Namespace Name Mixin selector official cLbda;c(Lcj;Lcq;)Zintermediary method_3142Lnet/minecraft/class_906;method_3142(Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Znamed updateBlockBreakingProgressLnet/minecraft/client/network/ClientPlayerInteractionManager;updateBlockBreakingProgress(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
getReachDistance
public float getReachDistance()- Mappings:
Namespace Name Mixin selector official dLbda;d()Fintermediary method_3144Lnet/minecraft/class_906;method_3144()Fnamed getReachDistanceLnet/minecraft/client/network/ClientPlayerInteractionManager;getReachDistance()F
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official eLbda;e()Vintermediary method_3145Lnet/minecraft/class_906;method_3145()Vnamed tickLnet/minecraft/client/network/ClientPlayerInteractionManager;tick()V
-
isCurrentlyBreaking
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lcj;)Zintermediary method_3129Lnet/minecraft/class_906;method_3129(Lnet/minecraft/class_1372;)Znamed isCurrentlyBreakingLnet/minecraft/client/network/ClientPlayerInteractionManager;isCurrentlyBreaking(Lnet/minecraft/util/math/BlockPos;)Z
-
syncSelectedSlot
private void syncSelectedSlot()- Mappings:
Namespace Name Mixin selector official nLbda;n()Vintermediary method_3154Lnet/minecraft/class_906;method_3154()Vnamed syncSelectedSlotLnet/minecraft/client/network/ClientPlayerInteractionManager;syncSelectedSlot()V
-
onRightClick
public boolean onRightClick(ClientPlayerEntity player, ClientWorld world, ItemStack stack, BlockPos pos, Direction direction, Vec3d vec)- Mappings:
Namespace Name Mixin selector official aLbda;a(Lbew;Lbdb;Lzx;Lcj;Lcq;Laui;)Zintermediary method_3128Lnet/minecraft/class_906;method_3128(Lnet/minecraft/class_996;Lnet/minecraft/class_907;Lnet/minecraft/class_2056;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;Lnet/minecraft/class_649;)Znamed onRightClickLnet/minecraft/client/network/ClientPlayerInteractionManager;onRightClick(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Vec3d;)Z
-
method_3132
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lwn;Ladm;Lzx;)Zintermediary method_3132Lnet/minecraft/class_906;method_3132(Lnet/minecraft/class_1963;Lnet/minecraft/class_99;Lnet/minecraft/class_2056;)Znamed method_3132Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_3132(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Z
-
createPlayer
- Mappings:
Namespace Name Mixin selector official aLbda;a(Ladm;Lnb;)Lbew;intermediary method_3125Lnet/minecraft/class_906;method_3125(Lnet/minecraft/class_99;Lnet/minecraft/class_1688;)Lnet/minecraft/class_996;named createPlayerLnet/minecraft/client/network/ClientPlayerInteractionManager;createPlayer(Lnet/minecraft/world/World;Lnet/minecraft/stat/StatHandler;)Lnet/minecraft/client/network/ClientPlayerEntity;
-
attackEntity
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lwn;Lpk;)Vintermediary method_3133Lnet/minecraft/class_906;method_3133(Lnet/minecraft/class_1963;Lnet/minecraft/class_1745;)Vnamed attackEntityLnet/minecraft/client/network/ClientPlayerInteractionManager;attackEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)V
-
interactEntity
- Mappings:
Namespace Name Mixin selector official bLbda;b(Lwn;Lpk;)Zintermediary method_3140Lnet/minecraft/class_906;method_3140(Lnet/minecraft/class_1963;Lnet/minecraft/class_1745;)Znamed interactEntityLnet/minecraft/client/network/ClientPlayerInteractionManager;interactEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)Z
-
interactEntityAtLocation
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lwn;Lpk;Lauh;)Zintermediary method_3134Lnet/minecraft/class_906;method_3134(Lnet/minecraft/class_1963;Lnet/minecraft/class_1745;Lnet/minecraft/class_647;)Znamed interactEntityAtLocationLnet/minecraft/client/network/ClientPlayerInteractionManager;interactEntityAtLocation(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/hit/HitResult;)Z
-
clickSlot
public ItemStack clickSlot(int syncId, int slotId, int mouseButton, int actionType, PlayerEntity player)- Mappings:
Namespace Name Mixin selector official aLbda;a(IIIILwn;)Lzx;intermediary method_3124Lnet/minecraft/class_906;method_3124(IIIILnet/minecraft/class_1963;)Lnet/minecraft/class_2056;named clickSlotLnet/minecraft/client/network/ClientPlayerInteractionManager;clickSlot(IIIILnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
clickButton
public void clickButton(int syncId, int buttonId)- Mappings:
Namespace Name Mixin selector official aLbda;a(II)Vintermediary method_3123Lnet/minecraft/class_906;method_3123(II)Vnamed clickButtonLnet/minecraft/client/network/ClientPlayerInteractionManager;clickButton(II)V
-
clickCreativeStack
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lzx;I)Vintermediary method_3136Lnet/minecraft/class_906;method_3136(Lnet/minecraft/class_2056;I)Vnamed clickCreativeStackLnet/minecraft/client/network/ClientPlayerInteractionManager;clickCreativeStack(Lnet/minecraft/item/ItemStack;I)V
-
dropCreativeStack
- Mappings:
Namespace Name Mixin selector official aLbda;a(Lzx;)Vintermediary method_3135Lnet/minecraft/class_906;method_3135(Lnet/minecraft/class_2056;)Vnamed dropCreativeStackLnet/minecraft/client/network/ClientPlayerInteractionManager;dropCreativeStack(Lnet/minecraft/item/ItemStack;)V
-
stopUsingItem
- Mappings:
Namespace Name Mixin selector official cLbda;c(Lwn;)Vintermediary method_3143Lnet/minecraft/class_906;method_3143(Lnet/minecraft/class_1963;)Vnamed stopUsingItemLnet/minecraft/client/network/ClientPlayerInteractionManager;stopUsingItem(Lnet/minecraft/entity/player/PlayerEntity;)V
-
hasExperienceBar
public boolean hasExperienceBar()- Mappings:
Namespace Name Mixin selector official fLbda;f()Zintermediary method_3146Lnet/minecraft/class_906;method_3146()Znamed hasExperienceBarLnet/minecraft/client/network/ClientPlayerInteractionManager;hasExperienceBar()Z
-
hasLimitedAttackSpeed
public boolean hasLimitedAttackSpeed()- Mappings:
Namespace Name Mixin selector official gLbda;g()Zintermediary method_3147Lnet/minecraft/class_906;method_3147()Znamed hasLimitedAttackSpeedLnet/minecraft/client/network/ClientPlayerInteractionManager;hasLimitedAttackSpeed()Z
-
hasCreativeInventory
public boolean hasCreativeInventory()- Mappings:
Namespace Name Mixin selector official hLbda;h()Zintermediary method_3148Lnet/minecraft/class_906;method_3148()Znamed hasCreativeInventoryLnet/minecraft/client/network/ClientPlayerInteractionManager;hasCreativeInventory()Z
-
hasExtendedReach
public boolean hasExtendedReach()- Mappings:
Namespace Name Mixin selector official iLbda;i()Zintermediary method_3149Lnet/minecraft/class_906;method_3149()Znamed hasExtendedReachLnet/minecraft/client/network/ClientPlayerInteractionManager;hasExtendedReach()Z
-
hasRidingInventory
public boolean hasRidingInventory()- Mappings:
Namespace Name Mixin selector official jLbda;j()Zintermediary method_3150Lnet/minecraft/class_906;method_3150()Znamed hasRidingInventoryLnet/minecraft/client/network/ClientPlayerInteractionManager;hasRidingInventory()Z
-
isFlyingLocked
public boolean isFlyingLocked()- Mappings:
Namespace Name Mixin selector official kLbda;k()Zintermediary method_3151Lnet/minecraft/class_906;method_3151()Znamed isFlyingLockedLnet/minecraft/client/network/ClientPlayerInteractionManager;isFlyingLocked()Z
-
getCurrentGameMode
- Mappings:
Namespace Name Mixin selector official lLbda;l()Ladp$a;intermediary method_3152Lnet/minecraft/class_906;method_3152()Lnet/minecraft/class_102$class_103;named getCurrentGameModeLnet/minecraft/client/network/ClientPlayerInteractionManager;getCurrentGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
-
isBreakingBlock
public boolean isBreakingBlock()- Mappings:
Namespace Name Mixin selector official mLbda;m()Zintermediary method_3153Lnet/minecraft/class_906;method_3153()Znamed isBreakingBlockLnet/minecraft/client/network/ClientPlayerInteractionManager;isBreakingBlock()Z
-