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

    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lqz;a:Lgh;
      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 final BlockEntityType<?> blockEntityType
      Mappings:
      Namespace Name Mixin selector
      official b Lqz;b:Lclu;
      intermediary field_12038 Lnet/minecraft/class_2622;field_12038:Lnet/minecraft/class_2591;
      named blockEntityType Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;blockEntityType:Lnet/minecraft/block/entity/BlockEntityType;
    • nbt

      @Nullable private final @Nullable NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      official c Lqz;c:Lob;
      intermediary field_12039 Lnet/minecraft/class_2622;field_12039:Lnet/minecraft/class_2487;
      named nbt Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;
  • Constructor Details

    • BlockEntityUpdateS2CPacket

      private BlockEntityUpdateS2CPacket(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqz;<init>(Lgh;Lclu;Lob;)V
      intermediary <init> Lnet/minecraft/class_2622;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2591;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntityType;Lnet/minecraft/nbt/NbtCompound;)V
    • BlockEntityUpdateS2CPacket

      public BlockEntityUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqz;<init>(Lph;)V
      intermediary <init> Lnet/minecraft/class_2622;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • create

      public static BlockEntityUpdateS2CPacket create(BlockEntity blockEntity, Function<BlockEntity,NbtCompound> nbtGetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lqz;a(Lcls;Ljava/util/function/Function;)Lqz;
      intermediary method_39026 Lnet/minecraft/class_2622;method_39026(Lnet/minecraft/class_2586;Ljava/util/function/Function;)Lnet/minecraft/class_2622;
      named create Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;create(Lnet/minecraft/block/entity/BlockEntity;Ljava/util/function/Function;)Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
    • create

      public static BlockEntityUpdateS2CPacket create(BlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lqz;a(Lcls;)Lqz;
      intermediary method_38585 Lnet/minecraft/class_2622;method_38585(Lnet/minecraft/class_2586;)Lnet/minecraft/class_2622;
      named create Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;create(Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lql;a(Lph;)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 Lqz;a(Lqo;)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

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official b Lqz;b()Lgh;
      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

      public BlockEntityType<?> getBlockEntityType()
      Mappings:
      Namespace Name Mixin selector
      official c Lqz;c()Lclu;
      intermediary method_11291 Lnet/minecraft/class_2622;method_11291()Lnet/minecraft/class_2591;
      named getBlockEntityType Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getBlockEntityType()Lnet/minecraft/block/entity/BlockEntityType;
    • getNbt

      @Nullable public @Nullable NbtCompound getNbt()
      Mappings:
      Namespace Name Mixin selector
      official d Lqz;d()Lob;
      intermediary method_11290 Lnet/minecraft/class_2622;method_11290()Lnet/minecraft/class_2487;
      named getNbt Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;