Class BlockEntityUpdateS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class BlockEntityUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official ih
intermediary net/minecraft/class_2003
named net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket
  • Field Details

    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lih;a:Let;
      intermediary field_11594 Lnet/minecraft/class_2003;field_11594:Lnet/minecraft/class_2552;
      named pos Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
    • blockEntityId

      private int blockEntityId
      Mappings:
      Namespace Name Mixin selector
      official b Lih;b:I
      intermediary field_8580 Lnet/minecraft/class_2003;field_8580:I
      named blockEntityId Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;blockEntityId:I
    • nbt

      private NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      official c Lih;c:Lfy;
      intermediary field_8581 Lnet/minecraft/class_2003;field_8581:Lnet/minecraft/class_322;
      named nbt Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;
  • Constructor Details

    • BlockEntityUpdateS2CPacket

      public BlockEntityUpdateS2CPacket()
    • BlockEntityUpdateS2CPacket

      public BlockEntityUpdateS2CPacket(BlockPos pos, int blockEntityId, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lih;<init>(Let;ILfy;)V
      intermediary <init> Lnet/minecraft/class_2003;<init>(Lnet/minecraft/class_2552;ILnet/minecraft/class_322;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/nbt/NbtCompound;)V
  • Method Details

    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lgy;)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) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lht;b(Lgy;)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(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lih;a(Lhw;)V
      intermediary method_7681 Lnet/minecraft/class_2003;method_7681(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getPos

      @Environment(CLIENT) public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official a Lih;a()Let;
      intermediary method_7683 Lnet/minecraft/class_2003;method_7683()Lnet/minecraft/class_2552;
      named getPos Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
    • getBlockEntityId

      @Environment(CLIENT) public int getBlockEntityId()
      Mappings:
      Namespace Name Mixin selector
      official b Lih;b()I
      intermediary method_7685 Lnet/minecraft/class_2003;method_7685()I
      named getBlockEntityId Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getBlockEntityId()I
    • getNbt

      @Environment(CLIENT) public NbtCompound getNbt()
      Mappings:
      Namespace Name Mixin selector
      official c Lih;c()Lfy;
      intermediary method_7686 Lnet/minecraft/class_2003;method_7686()Lnet/minecraft/class_322;
      named getNbt Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;