Class ClientPlayerInteractionManager

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

@Environment(CLIENT) public class ClientPlayerInteractionManager extends Object
Mappings:
Namespace Name
official bnp
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 Lbnp;a:Lbes;
      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 Lbnp;b:Lbno;
      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 Lbnp;c:Lco;
      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 Lbnp;d:Lafj;
      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 Lbnp;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 Lbnp;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 Lbnp;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 Lbnp;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 Lbnp;i:Lajq;
      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 Lbnp;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> Lbnp;<init>(Lbes;Lbno;)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 Lbnp;a(Lbes;Lbnp;Lco;Lcv;)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 Lbnp;a(Laay;)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 Lbnp;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 Lbnp;a(Lajq;)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 Lbnp;b(Laay;)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 Lbnp;b()Z
      intermediary method_1234 Lnet/minecraft/class_477;method_1234()Z
      named hasStatusBars Lnet/minecraft/client/network/ClientPlayerInteractionManager;hasStatusBars()Z
    • method_12233

      public boolean method_12233(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Lco;)Z
      intermediary method_12233 Lnet/minecraft/class_477;method_12233(Lnet/minecraft/class_2552;)Z
      named method_12233 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_12233(Lnet/minecraft/util/math/BlockPos;)Z
    • attackBlock

      public boolean attackBlock(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Lco;Lcv;)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 Lbnp;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 b Lbnp;b(Lco;Lcv;)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 Lbnp;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 Lbnp;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 b Lbnp;b(Lco;)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 n Lbnp;n()V
      intermediary method_1247 Lnet/minecraft/class_477;method_1247()V
      named syncSelectedSlot Lnet/minecraft/client/network/ClientPlayerInteractionManager;syncSelectedSlot()V
    • method_13842

      public ActionResult method_13842(ClientPlayerEntity clientPlayerEntity, ClientWorld clientWorld, BlockPos blockPos, Direction direction, Vec3d vec3d, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Lbps;Lbnq;Lco;Lcv;Lbdw;Lri;)Lrk;
      intermediary method_13842 Lnet/minecraft/class_477;method_13842(Lnet/minecraft/class_518;Lnet/minecraft/class_478;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;Lnet/minecraft/class_236;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2962;
      named method_13842 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_13842(Lnet/minecraft/entity/player/ClientPlayerEntity;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • method_12234

      public ActionResult method_12234(PlayerEntity playerEntity, World world, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Laay;Lajs;Lri;)Lrk;
      intermediary method_12234 Lnet/minecraft/class_477;method_12234(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2962;
      named method_12234 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_12234(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • method_9658

      public ClientPlayerEntity method_9658(World world, StatHandler statHandler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Lajs;Lob;)Lbps;
      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 Lbnp;a(Laay;Lsn;)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
    • method_12235

      public ActionResult method_12235(PlayerEntity playerEntity, Entity entity, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Laay;Lsn;Lri;)Lrk;
      intermediary method_12235 Lnet/minecraft/class_477;method_12235(Lnet/minecraft/class_988;Lnet/minecraft/class_864;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2962;
      named method_12235 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_12235(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • method_12236

      public ActionResult method_12236(PlayerEntity playerEntity, Entity entity, BlockHitResult blockHitResult, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Laay;Lsn;Lbdu;Lri;)Lrk;
      intermediary method_12236 Lnet/minecraft/class_477;method_12236(Lnet/minecraft/class_988;Lnet/minecraft/class_864;Lnet/minecraft/class_234;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2962;
      named method_12236 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_12236(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • method_1224

      public ItemStack method_1224(int int2, int int3, int int4, ItemAction itemAction, PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(IIILacq;Laay;)Lafj;
      intermediary method_1224 Lnet/minecraft/class_477;method_1224(IIILnet/minecraft/class_2679;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;
      named method_1224 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_1224(IIILnet/minecraft/util/ItemAction;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • clickButton

      public void clickButton(int syncId, int buttonId)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;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 Lbnp;a(Lafj;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 Lbnp;a(Lafj;)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 Lbnp;c(Laay;)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 Lbnp;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 Lbnp;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 Lbnp;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 Lbnp;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 Lbnp;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 Lbnp;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 Lbnp;l()Lajq;
      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;
    • isBreakingBlock

      public boolean isBreakingBlock()
      Mappings:
      Namespace Name Mixin selector
      official m Lbnp;m()Z
      intermediary method_9668 Lnet/minecraft/class_477;method_9668()Z
      named isBreakingBlock Lnet/minecraft/client/network/ClientPlayerInteractionManager;isBreakingBlock()Z
    • method_12231

      public void method_12231(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(I)V
      intermediary method_12231 Lnet/minecraft/class_477;method_12231(I)V
      named method_12231 Lnet/minecraft/client/network/ClientPlayerInteractionManager;method_12231(I)V