Class ClientPlayerInteractionManager

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

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

    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a:Lbsu;
      intermediary field_1646 Lnet/minecraft/class_477;field_1646:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/client/network/ClientPlayerInteractionManager;client:Lnet/minecraft/client/MinecraftClient;
    • networkHandler

      private final ClientPlayNetworkHandler networkHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lcem;b:Lcee;
      intermediary field_1647 Lnet/minecraft/class_477;field_1647:Lnet/minecraft/class_1845;
      named networkHandler Lnet/minecraft/client/network/ClientPlayerInteractionManager;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
    • currentBreakingPos

      private BlockPos currentBreakingPos
      Mappings:
      Namespace Name Mixin selector
      official c Lcem;c:Ldt;
      intermediary field_10593 Lnet/minecraft/class_477;field_10593:Lnet/minecraft/class_2552;
      named currentBreakingPos Lnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingPos:Lnet/minecraft/util/math/BlockPos;
    • selectedStack

      private ItemStack selectedStack
      Mappings:
      Namespace Name Mixin selector
      official d Lcem;d:Lamj;
      intermediary field_5147 Lnet/minecraft/class_477;field_5147:Lnet/minecraft/class_1071;
      named selectedStack Lnet/minecraft/client/network/ClientPlayerInteractionManager;selectedStack:Lnet/minecraft/item/ItemStack;
    • currentBreakingProgress

      private float currentBreakingProgress
      Mappings:
      Namespace Name Mixin selector
      official e Lcem;e:F
      intermediary field_1651 Lnet/minecraft/class_477;field_1651:F
      named currentBreakingProgress Lnet/minecraft/client/network/ClientPlayerInteractionManager;currentBreakingProgress:F
    • blockBreakingSoundCooldown

      private float blockBreakingSoundCooldown
      Mappings:
      Namespace Name Mixin selector
      official f Lcem;f:F
      intermediary field_1653 Lnet/minecraft/class_477;field_1653:F
      named blockBreakingSoundCooldown Lnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingSoundCooldown:F
    • blockBreakingCooldown

      private int blockBreakingCooldown
      Mappings:
      Namespace Name Mixin selector
      official g Lcem;g:I
      intermediary field_1654 Lnet/minecraft/class_477;field_1654:I
      named blockBreakingCooldown Lnet/minecraft/client/network/ClientPlayerInteractionManager;blockBreakingCooldown:I
    • breakingBlock

      private boolean breakingBlock
      Mappings:
      Namespace Name Mixin selector
      official h Lcem;h:Z
      intermediary field_1655 Lnet/minecraft/class_477;field_1655:Z
      named breakingBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;breakingBlock:Z
    • field_1656

      private GameMode field_1656
      Mappings:
      Namespace Name Mixin selector
      official i Lcem;i:Larc;
      intermediary field_1656 Lnet/minecraft/class_477;field_1656:Lnet/minecraft/class_1157;
      named field_1656 Lnet/minecraft/client/network/ClientPlayerInteractionManager;field_1656:Lnet/minecraft/world/GameMode;
    • lastSelectedSlot

      private int lastSelectedSlot
      Mappings:
      Namespace Name Mixin selector
      official j Lcem;j:I
      intermediary field_1657 Lnet/minecraft/class_477;field_1657:I
      named lastSelectedSlot Lnet/minecraft/client/network/ClientPlayerInteractionManager;lastSelectedSlot:I
  • Constructor Details

    • ClientPlayerInteractionManager

      public ClientPlayerInteractionManager(MinecraftClient client, ClientPlayNetworkHandler clientPlayNetworkHandler)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcem;<init>(Lbsu;Lcee;)V
      intermediary <init> Lnet/minecraft/class_477;<init>(Lnet/minecraft/class_1600;Lnet/minecraft/class_1845;)V
      named <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 a Lcem;a(Lbsu;Lcem;Ldt;Lej;)V
      intermediary method_9659 Lnet/minecraft/class_477;method_9659(Lnet/minecraft/class_1600;Lnet/minecraft/class_477;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)V
      named breakBlockOrFire Lnet/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

      public void copyAbilities(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Lahd;)V
      intermediary method_1226 Lnet/minecraft/class_477;method_1226(Lnet/minecraft/class_988;)V
      named copyAbilities Lnet/minecraft/client/network/ClientPlayerInteractionManager;copyAbilities(Lnet/minecraft/entity/player/PlayerEntity;)V
    • isSpectator

      public boolean isSpectator()
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a()Z
      intermediary method_1221 Lnet/minecraft/class_477;method_1221()Z
      named isSpectator Lnet/minecraft/client/network/ClientPlayerInteractionManager;isSpectator()Z
    • method_1233

      public void method_1233(GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Larc;)V
      intermediary method_1233 Lnet/minecraft/class_477;method_1233(Lnet/minecraft/class_1157;)V
      named method_1233 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_1233(Lnet/minecraft/world/GameMode;)V
    • method_1236

      public void method_1236(PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official b Lcem;b(Lahd;)V
      intermediary method_1236 Lnet/minecraft/class_477;method_1236(Lnet/minecraft/class_988;)V
      named method_1236 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_1236(Lnet/minecraft/entity/player/PlayerEntity;)V
    • hasStatusBars

      public boolean hasStatusBars()
      Mappings:
      Namespace Name Mixin selector
      official b Lcem;b()Z
      intermediary method_1234 Lnet/minecraft/class_477;method_1234()Z
      named hasStatusBars Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasStatusBars()Z
    • breakBlock

      public boolean breakBlock(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Ldt;Lej;)Z
      intermediary method_9662 Lnet/minecraft/class_477;method_9662(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named breakBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;breakBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • attackBlock

      public boolean attackBlock(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Lcem;b(Ldt;Lej;)Z
      intermediary method_9664 Lnet/minecraft/class_477;method_9664(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)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 c Lcem;c()V
      intermediary method_1238 Lnet/minecraft/class_477;method_1238()V
      named cancelBlockBreaking Lnet/minecraft/client/network/ClientPlayerInteractionManager;cancelBlockBreaking()V
    • updateBlockBreakingProgress

      public boolean updateBlockBreakingProgress(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official c Lcem;c(Ldt;Lej;)Z
      intermediary method_9665 Lnet/minecraft/class_477;method_9665(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named updateBlockBreakingProgress Lnet/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 d Lcem;d()F
      intermediary method_1241 Lnet/minecraft/class_477;method_1241()F
      named getReachDistance Lnet/minecraft/client/network/ClientPlayerInteractionManager;getReachDistance()F
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official e Lcem;e()V
      intermediary method_1242 Lnet/minecraft/class_477;method_1242()V
      named tick Lnet/minecraft/client/network/ClientPlayerInteractionManager;tick()V
    • isCurrentlyBreaking

      private boolean isCurrentlyBreaking(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Ldt;)Z
      intermediary method_9661 Lnet/minecraft/class_477;method_9661(Lnet/minecraft/class_2552;)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 m Lcem;m()V
      intermediary method_1247 Lnet/minecraft/class_477;method_1247()V
      named syncSelectedSlot Lnet/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 a Lcem;a(Lcio;Lcen;Lamj;Ldt;Lej;Lbrw;)Z
      intermediary method_9660 Lnet/minecraft/class_477;method_9660(Lnet/minecraft/class_518;Lnet/minecraft/class_478;Lnet/minecraft/class_1071;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;Lnet/minecraft/class_236;)Z
      named onRightClick Lnet/minecraft/client/network/ClientPlayerInteractionManager;onRightClick(Lnet/minecraft/entity/player/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_1228

      public boolean method_1228(PlayerEntity playerEntity, World world, ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Lahd;Laqu;Lamj;)Z
      intermediary method_1228 Lnet/minecraft/class_477;method_1228(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_1071;)Z
      named method_1228 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_1228(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Z
    • method_9658

      public ClientPlayerEntity method_9658(World world, StatHandler statHandler)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Laqu;Ltz;)Lcio;
      intermediary method_9658 Lnet/minecraft/class_477;method_9658(Lnet/minecraft/class_1150;Lnet/minecraft/class_625;)Lnet/minecraft/class_518;
      named method_9658 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_9658(Lnet/minecraft/world/World;Lnet/minecraft/stat/StatHandler;)Lnet/minecraft/entity/player/ClientPlayerEntity;
    • attackEntity

      public void attackEntity(PlayerEntity player, Entity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Lahd;Lwv;)V
      intermediary method_1227 Lnet/minecraft/class_477;method_1227(Lnet/minecraft/class_988;Lnet/minecraft/class_864;)V
      named attackEntity Lnet/minecraft/client/network/ClientPlayerInteractionManager;attackEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)V
    • interactEntity

      public boolean interactEntity(PlayerEntity playerEntity, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lcem;b(Lahd;Lwv;)Z
      intermediary method_1237 Lnet/minecraft/class_477;method_1237(Lnet/minecraft/class_988;Lnet/minecraft/class_864;)Z
      named interactEntity Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)Z
    • interactEntityAtLocation

      public boolean interactEntityAtLocation(PlayerEntity player, Entity entity, BlockHitResult blockHitResult)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(Lahd;Lwv;Lbru;)Z
      intermediary method_9663 Lnet/minecraft/class_477;method_9663(Lnet/minecraft/class_988;Lnet/minecraft/class_864;Lnet/minecraft/class_234;)Z
      named interactEntityAtLocation Lnet/minecraft/client/network/ClientPlayerInteractionManager;interactEntityAtLocation(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/hit/BlockHitResult;)Z
    • clickSlot

      public ItemStack clickSlot(int syncId, int slotId, int mouseButton, int actionType, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lcem;a(IIIILahd;)Lamj;
      intermediary method_1224 Lnet/minecraft/class_477;method_1224(IIIILnet/minecraft/class_988;)Lnet/minecraft/class_1071;
      named clickSlot Lnet/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 a Lcem;a(II)V
      intermediary method_1222 Lnet/minecraft/class_477;method_1222(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 Lcem;a(Lamj;I)V
      intermediary method_1231 Lnet/minecraft/class_477;method_1231(Lnet/minecraft/class_1071;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 Lcem;a(Lamj;)V
      intermediary method_1230 Lnet/minecraft/class_477;method_1230(Lnet/minecraft/class_1071;)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 c Lcem;c(Lahd;)V
      intermediary method_1240 Lnet/minecraft/class_477;method_1240(Lnet/minecraft/class_988;)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 f Lcem;f()Z
      intermediary method_1243 Lnet/minecraft/class_477;method_1243()Z
      named hasExperienceBar Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasExperienceBar()Z
    • hasLimitedAttackSpeed

      public boolean hasLimitedAttackSpeed()
      Mappings:
      Namespace Name Mixin selector
      official g Lcem;g()Z
      intermediary method_1244 Lnet/minecraft/class_477;method_1244()Z
      named hasLimitedAttackSpeed Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasLimitedAttackSpeed()Z
    • hasCreativeInventory

      public boolean hasCreativeInventory()
      Mappings:
      Namespace Name Mixin selector
      official h Lcem;h()Z
      intermediary method_1245 Lnet/minecraft/class_477;method_1245()Z
      named hasCreativeInventory Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasCreativeInventory()Z
    • hasExtendedReach

      public boolean hasExtendedReach()
      Mappings:
      Namespace Name Mixin selector
      official i Lcem;i()Z
      intermediary method_1246 Lnet/minecraft/class_477;method_1246()Z
      named hasExtendedReach Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasExtendedReach()Z
    • hasRidingInventory

      public boolean hasRidingInventory()
      Mappings:
      Namespace Name Mixin selector
      official j Lcem;j()Z
      intermediary method_5707 Lnet/minecraft/class_477;method_5707()Z
      named hasRidingInventory Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasRidingInventory()Z
    • isFlyingLocked

      public boolean isFlyingLocked()
      Mappings:
      Namespace Name Mixin selector
      official k Lcem;k()Z
      intermediary method_9666 Lnet/minecraft/class_477;method_9666()Z
      named isFlyingLocked Lnet/minecraft/client/network/ClientPlayerInteractionManager;isFlyingLocked()Z
    • method_9667

      public GameMode method_9667()
      Mappings:
      Namespace Name Mixin selector
      official l Lcem;l()Larc;
      intermediary method_9667 Lnet/minecraft/class_477;method_9667()Lnet/minecraft/class_1157;
      named method_9667 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_9667()Lnet/minecraft/world/GameMode;