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 ft
intermediary net/minecraft/class_1472
named net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket
  • Field Details

    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lft;a:Lcj;
      intermediary field_6115 Lnet/minecraft/class_1472;field_6115:Lnet/minecraft/class_1372;
      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 Lft;b:I
      intermediary field_6116 Lnet/minecraft/class_1472;field_6116:I
      named blockEntityId Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;blockEntityId:I
    • tag

      private CompoundTag tag
      Mappings:
      Namespace Name Mixin selector
      official c Lft;c:Ldn;
      intermediary field_6117 Lnet/minecraft/class_1472;field_6117:Lnet/minecraft/class_1405;
      named tag Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;tag:Lnet/minecraft/nbt/CompoundTag;
  • Constructor Details

    • BlockEntityUpdateS2CPacket

      public BlockEntityUpdateS2CPacket()
    • BlockEntityUpdateS2CPacket

      public BlockEntityUpdateS2CPacket​(BlockPos pos, int blockEntityId, CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lft;<init>(Lcj;ILdn;)V
      intermediary <init> Lnet/minecraft/class_1472;<init>(Lnet/minecraft/class_1372;ILnet/minecraft/class_1405;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/nbt/CompoundTag;)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 Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)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 Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)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 Lft;a(Lfj;)V
      intermediary method_5393 Lnet/minecraft/class_1472;method_5393(Lnet/minecraft/class_1462;)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 Lft;a()Lcj;
      intermediary method_5392 Lnet/minecraft/class_1472;method_5392()Lnet/minecraft/class_1372;
      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 Lft;b()I
      intermediary method_5394 Lnet/minecraft/class_1472;method_5394()I
      named getBlockEntityId Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getBlockEntityId()I
    • getCompoundTag

      @Environment(CLIENT) public CompoundTag getCompoundTag()
      Mappings:
      Namespace Name Mixin selector
      official c Lft;c()Ldn;
      intermediary method_5395 Lnet/minecraft/class_1472;method_5395()Lnet/minecraft/class_1405;
      named getCompoundTag Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getCompoundTag()Lnet/minecraft/nbt/CompoundTag;