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

    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lpo;a:Lfx;
      intermediary field_12040 Lnet/minecraft/class_2622;field_12040:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
    • blockEntityType

      private int blockEntityType
      Mappings:
      Namespace Name Mixin selector
      official b Lpo;b:I
      intermediary field_12038 Lnet/minecraft/class_2622;field_12038:I
      named blockEntityType Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;blockEntityType:I
    • tag

      private CompoundTag tag
      Mappings:
      Namespace Name Mixin selector
      official c Lpo;c:Lmq;
      intermediary field_12039 Lnet/minecraft/class_2622;field_12039:Lnet/minecraft/class_2487;
      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 blockEntityType, CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpo;<init>(Lfx;ILmq;)V
      intermediary <init> Lnet/minecraft/class_2622;<init>(Lnet/minecraft/class_2338;ILnet/minecraft/class_2487;)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 Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/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 Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpo;a(Lpd;)V
      intermediary method_11292 Lnet/minecraft/class_2622;method_11292(Lnet/minecraft/class_2602;)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 b Lpo;b()Lfx;
      intermediary method_11293 Lnet/minecraft/class_2622;method_11293()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
    • getBlockEntityType

      @Environment(CLIENT) public int getBlockEntityType()
      Mappings:
      Namespace Name Mixin selector
      official c Lpo;c()I
      intermediary method_11291 Lnet/minecraft/class_2622;method_11291()I
      named getBlockEntityType Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getBlockEntityType()I
    • getCompoundTag

      @Environment(CLIENT) public CompoundTag getCompoundTag()
      Mappings:
      Namespace Name Mixin selector
      official d Lpo;d()Lmq;
      intermediary method_11290 Lnet/minecraft/class_2622;method_11290()Lnet/minecraft/class_2487;
      named getCompoundTag Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getCompoundTag()Lnet/minecraft/nbt/CompoundTag;