Class PlayerInteractBlockC2SPacket

java.lang.Object
net.minecraft.network.Packet
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket

public class PlayerInteractBlockC2SPacket extends Packet
Mappings:
Namespace Name
official jb
intermediary net/minecraft/class_731
named net/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket
  • Field Details

    • field_8830

      private int field_8830
      Mappings:
      Namespace Name Mixin selector
      official a Ljb;a:I
      intermediary field_8830 Lnet/minecraft/class_731;field_8830:I
      named field_8830 Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;field_8830:I
    • field_8831

      private int field_8831
      Mappings:
      Namespace Name Mixin selector
      official b Ljb;b:I
      intermediary field_8831 Lnet/minecraft/class_731;field_8831:I
      named field_8831 Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;field_8831:I
    • field_8832

      private int field_8832
      Mappings:
      Namespace Name Mixin selector
      official c Ljb;c:I
      intermediary field_8832 Lnet/minecraft/class_731;field_8832:I
      named field_8832 Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;field_8832:I
    • directionId

      private int directionId
      Mappings:
      Namespace Name Mixin selector
      official d Ljb;d:I
      intermediary field_8833 Lnet/minecraft/class_731;field_8833:I
      named directionId Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;directionId:I
    • stack

      private ItemStack stack
      Mappings:
      Namespace Name Mixin selector
      official e Ljb;e:Labo;
      intermediary field_2682 Lnet/minecraft/class_731;field_2682:Lnet/minecraft/class_1071;
      named stack Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;stack:Lnet/minecraft/item/ItemStack;
    • distanceX

      private float distanceX
      Mappings:
      Namespace Name Mixin selector
      official f Ljb;f:F
      intermediary field_8834 Lnet/minecraft/class_731;field_8834:F
      named distanceX Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;distanceX:F
    • distanceY

      private float distanceY
      Mappings:
      Namespace Name Mixin selector
      official g Ljb;g:F
      intermediary field_8835 Lnet/minecraft/class_731;field_8835:F
      named distanceY Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;distanceY:F
    • distanceZ

      private float distanceZ
      Mappings:
      Namespace Name Mixin selector
      official h Ljb;h:F
      intermediary field_8836 Lnet/minecraft/class_731;field_8836:F
      named distanceZ Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;distanceZ:F
  • Constructor Details

    • PlayerInteractBlockC2SPacket

      public PlayerInteractBlockC2SPacket()
    • PlayerInteractBlockC2SPacket

      @Environment(CLIENT) public PlayerInteractBlockC2SPacket(int x, int y, int z, int side, ItemStack stack, float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljb;<init>(IIIILabo;FFF)V
      intermediary <init> Lnet/minecraft/class_731;<init>(IIIILnet/minecraft/class_1071;FFF)V
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<init>(IIIILnet/minecraft/item/ItemStack;FFF)V
  • Method Details

    • read

      public void read(PacketByteBuf buf)
      Specified by:
      read in class Packet
      Mappings:
      Namespace Name Mixin selector
      official a Lfj;a(Leo;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in class Packet
      Mappings:
      Namespace Name Mixin selector
      official b Lfj;b(Leo;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Mappings:
      Namespace Name Mixin selector
      official a Ljb;a(Lia;)V
      intermediary method_8037 Lnet/minecraft/class_731;method_8037(Lnet/minecraft/class_2050;)V
      named apply Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • method_8038

      public int method_8038()
      Mappings:
      Namespace Name Mixin selector
      official c Ljb;c()I
      intermediary method_8038 Lnet/minecraft/class_731;method_8038()I
      named method_8038 Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;method_8038()I
    • method_8039

      public int method_8039()
      Mappings:
      Namespace Name Mixin selector
      official d Ljb;d()I
      intermediary method_8039 Lnet/minecraft/class_731;method_8039()I
      named method_8039 Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;method_8039()I
    • method_8040

      public int method_8040()
      Mappings:
      Namespace Name Mixin selector
      official e Ljb;e()I
      intermediary method_8040 Lnet/minecraft/class_731;method_8040()I
      named method_8040 Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;method_8040()I
    • getDirectionId

      public int getDirectionId()
      Mappings:
      Namespace Name Mixin selector
      official f Ljb;f()I
      intermediary method_8041 Lnet/minecraft/class_731;method_8041()I
      named getDirectionId Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getDirectionId()I
    • getStack

      public ItemStack getStack()
      Mappings:
      Namespace Name Mixin selector
      official g Ljb;g()Labo;
      intermediary method_1948 Lnet/minecraft/class_731;method_1948()Lnet/minecraft/class_1071;
      named getStack Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
    • getDistanceX

      public float getDistanceX()
      Mappings:
      Namespace Name Mixin selector
      official h Ljb;h()F
      intermediary method_8042 Lnet/minecraft/class_731;method_8042()F
      named getDistanceX Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getDistanceX()F
    • getDistanceY

      public float getDistanceY()
      Mappings:
      Namespace Name Mixin selector
      official i Ljb;i()F
      intermediary method_8043 Lnet/minecraft/class_731;method_8043()F
      named getDistanceY Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getDistanceY()F
    • getDistanceZ

      public float getDistanceZ()
      Mappings:
      Namespace Name Mixin selector
      official j Ljb;j()F
      intermediary method_8044 Lnet/minecraft/class_731;method_8044()F
      named getDistanceZ Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getDistanceZ()F