Class InteractionManager

java.lang.Object
net.minecraft.client.InteractionManager
Direct Known Subclasses:
MultiplayerInteractionManager, SingleplayerInteractionManager, TestInteractionManager

@Environment(CLIENT) public class InteractionManager extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_504
glue class_546
server net/minecraft/class_504
client ob
named net/minecraft/client/InteractionManager
  • Field Details

    • minecraft

      protected final Minecraft minecraft
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2104 Lnet/minecraft/class_504;field_2104:Lnet/minecraft/client/Minecraft;
      glue field_2326 Lclass_546;field_2326:Lnet/minecraft/client/Minecraft;
      server field_2104 Lnet/minecraft/class_504;field_2104:Lnet/minecraft/client/Minecraft;
      client a Lob;a:Lnet/minecraft/client/Minecraft;
      named minecraft Lnet/minecraft/client/InteractionManager;minecraft:Lnet/minecraft/client/Minecraft;
    • noTick

      public boolean noTick
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2105 Lnet/minecraft/class_504;field_2105:Z
      glue field_2327 Lclass_546;field_2327:Z
      server field_2105 Lnet/minecraft/class_504;field_2105:Z
      client b Lob;b:Z
      named noTick Lnet/minecraft/client/InteractionManager;noTick:Z
  • Constructor Details

    • InteractionManager

      public InteractionManager(Minecraft minecraft)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_504;<init>(Lnet/minecraft/client/Minecraft;)V
      glue <init> Lclass_546;<init>(Lnet/minecraft/client/Minecraft;)V
      server <init> Lnet/minecraft/class_504;<init>(Lnet/minecraft/client/Minecraft;)V
      client <init> Lob;<init>(Lnet/minecraft/client/Minecraft;)V
      named <init> Lnet/minecraft/client/InteractionManager;<init>(Lnet/minecraft/client/Minecraft;)V
  • Method Details

    • setWorld

      public void setWorld(World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1710 Lnet/minecraft/class_504;method_1710(Lnet/minecraft/class_18;)V
      glue method_1989 Lclass_546;method_1989(Lclass_129;)V
      server method_1710 Lnet/minecraft/class_504;method_1710(Ldj;)V
      client a Lob;a(Lfd;)V
      named setWorld Lnet/minecraft/client/InteractionManager;setWorld(Lnet/minecraft/world/World;)V
    • attackBlock

      public void attackBlock(int x, int y, int z, int direction)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1707 Lnet/minecraft/class_504;method_1707(IIII)V
      glue method_1986 Lclass_546;method_1986(IIII)V
      server method_1707 Lnet/minecraft/class_504;method_1707(IIII)V
      client a Lob;a(IIII)V
      named attackBlock Lnet/minecraft/client/InteractionManager;attackBlock(IIII)V
    • breakBlock

      public boolean breakBlock(int x, int y, int z, int direction)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1716 Lnet/minecraft/class_504;method_1716(IIII)Z
      glue method_1995 Lclass_546;method_1995(IIII)Z
      server method_1716 Lnet/minecraft/class_504;method_1716(IIII)Z
      client b Lob;b(IIII)Z
      named breakBlock Lnet/minecraft/client/InteractionManager;breakBlock(IIII)Z
    • processBlockBreakingAction

      public void processBlockBreakingAction(int x, int y, int z, int side)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1721 Lnet/minecraft/class_504;method_1721(IIII)V
      glue method_2000 Lclass_546;method_2000(IIII)V
      server method_1721 Lnet/minecraft/class_504;method_1721(IIII)V
      client c Lob;c(IIII)V
      named processBlockBreakingAction Lnet/minecraft/client/InteractionManager;processBlockBreakingAction(IIII)V
    • cancelBlockBreaking

      public void cancelBlockBreaking()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1705 Lnet/minecraft/class_504;method_1705()V
      glue method_1984 Lclass_546;method_1984()V
      server method_1705 Lnet/minecraft/class_504;method_1705()V
      client a Lob;a()V
      named cancelBlockBreaking Lnet/minecraft/client/InteractionManager;cancelBlockBreaking()V
    • update

      public void update(float float2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1706 Lnet/minecraft/class_504;method_1706(F)V
      glue method_1985 Lclass_546;method_1985(F)V
      server method_1706 Lnet/minecraft/class_504;method_1706(F)V
      client a Lob;a(F)V
      named update Lnet/minecraft/client/InteractionManager;update(F)V
    • getReachDistance

      public float getReachDistance()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1715 Lnet/minecraft/class_504;method_1715()F
      glue method_1994 Lclass_546;method_1994()F
      server method_1715 Lnet/minecraft/class_504;method_1715()F
      client b Lob;b()F
      named getReachDistance Lnet/minecraft/client/InteractionManager;getReachDistance()F
    • interactItem

      public boolean interactItem(PlayerEntity player, World world, ItemStack item)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1712 Lnet/minecraft/class_504;method_1712(Lnet/minecraft/class_54;Lnet/minecraft/class_18;Lnet/minecraft/class_31;)Z
      glue method_1991 Lclass_546;method_1991(Lclass_172;Lclass_129;Lclass_224;)Z
      server method_1712 Lnet/minecraft/class_504;method_1712(Lem;Ldj;Lfy;)Z
      client a Lob;a(Lgs;Lfd;Liz;)Z
      named interactItem Lnet/minecraft/client/InteractionManager;interactItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Z
    • preparePlayer

      public void preparePlayer(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1711 Lnet/minecraft/class_504;method_1711(Lnet/minecraft/class_54;)V
      glue method_1990 Lclass_546;method_1990(Lclass_172;)V
      server method_1711 Lnet/minecraft/class_504;method_1711(Lem;)V
      client a Lob;a(Lgs;)V
      named preparePlayer Lnet/minecraft/client/InteractionManager;preparePlayer(Lnet/minecraft/entity/player/PlayerEntity;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1720 Lnet/minecraft/class_504;method_1720()V
      glue method_1999 Lclass_546;method_1999()V
      server method_1720 Lnet/minecraft/class_504;method_1720()V
      client c Lob;c()V
      named tick Lnet/minecraft/client/InteractionManager;tick()V
    • canBeRendered

      public boolean canBeRendered()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1722 Lnet/minecraft/class_504;method_1722()Z
      glue method_2001 Lclass_546;method_2001()Z
      server method_1722 Lnet/minecraft/class_504;method_1722()Z
      client d Lob;d()Z
      named canBeRendered Lnet/minecraft/client/InteractionManager;canBeRendered()Z
    • preparePlayerRespawn

      public void preparePlayerRespawn(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1718 Lnet/minecraft/class_504;method_1718(Lnet/minecraft/class_54;)V
      glue method_1997 Lclass_546;method_1997(Lclass_172;)V
      server method_1718 Lnet/minecraft/class_504;method_1718(Lem;)V
      client b Lob;b(Lgs;)V
      named preparePlayerRespawn Lnet/minecraft/client/InteractionManager;preparePlayerRespawn(Lnet/minecraft/entity/player/PlayerEntity;)V
    • interactBlock

      public boolean interactBlock(PlayerEntity player, World world, ItemStack item, int x, int y, int z, int side)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1713 Lnet/minecraft/class_504;method_1713(Lnet/minecraft/class_54;Lnet/minecraft/class_18;Lnet/minecraft/class_31;IIII)Z
      glue method_1992 Lclass_546;method_1992(Lclass_172;Lclass_129;Lclass_224;IIII)Z
      server method_1713 Lnet/minecraft/class_504;method_1713(Lem;Ldj;Lfy;IIII)Z
      client a Lob;a(Lgs;Lfd;Liz;IIII)Z
      named interactBlock Lnet/minecraft/client/InteractionManager;interactBlock(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;IIII)Z
    • createPlayer

      public PlayerEntity createPlayer(World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1717 Lnet/minecraft/class_504;method_1717(Lnet/minecraft/class_18;)Lnet/minecraft/class_54;
      glue method_1996 Lclass_546;method_1996(Lclass_129;)Lclass_172;
      server method_1717 Lnet/minecraft/class_504;method_1717(Ldj;)Lem;
      client b Lob;b(Lfd;)Lgs;
      named createPlayer Lnet/minecraft/client/InteractionManager;createPlayer(Lnet/minecraft/world/World;)Lnet/minecraft/entity/player/PlayerEntity;
    • interactEntity

      public void interactEntity(PlayerEntity player, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1714 Lnet/minecraft/class_504;method_1714(Lnet/minecraft/class_54;Lnet/minecraft/class_57;)V
      glue method_1993 Lclass_546;method_1993(Lclass_172;Lclass_450;)V
      server method_1714 Lnet/minecraft/class_504;method_1714(Lem;Llq;)V
      client a Lob;a(Lgs;Lsn;)V
      named interactEntity Lnet/minecraft/client/InteractionManager;interactEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)V
    • attackEntity

      public void attackEntity(PlayerEntity player, Entity target)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1719 Lnet/minecraft/class_504;method_1719(Lnet/minecraft/class_54;Lnet/minecraft/class_57;)V
      glue method_1998 Lclass_546;method_1998(Lclass_172;Lclass_450;)V
      server method_1719 Lnet/minecraft/class_504;method_1719(Lem;Llq;)V
      client b Lob;b(Lgs;Lsn;)V
      named attackEntity Lnet/minecraft/client/InteractionManager;attackEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;)V
    • clickSlot

      public ItemStack clickSlot(int syncId, int slotId, int button, boolean shift, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1708 Lnet/minecraft/class_504;method_1708(IIIZLnet/minecraft/class_54;)Lnet/minecraft/class_31;
      glue method_1987 Lclass_546;method_1987(IIIZLclass_172;)Lclass_224;
      server method_1708 Lnet/minecraft/class_504;method_1708(IIIZLem;)Lfy;
      client a Lob;a(IIIZLgs;)Liz;
      named clickSlot Lnet/minecraft/client/InteractionManager;clickSlot(IIIZLnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • onScreenRemoved

      public void onScreenRemoved(int syncId, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1709 Lnet/minecraft/class_504;method_1709(ILnet/minecraft/class_54;)V
      glue method_1988 Lclass_546;method_1988(ILclass_172;)V
      server method_1709 Lnet/minecraft/class_504;method_1709(ILem;)V
      client a Lob;a(ILgs;)V
      named onScreenRemoved Lnet/minecraft/client/InteractionManager;onScreenRemoved(ILnet/minecraft/entity/player/PlayerEntity;)V