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 rq
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 Lrq;a:Lgj;
      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 Lrq;b:Lcmt;
      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 Lrq;c:Lok;
      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> Lrq;<init>(Lgj;Lcmt;Lok;)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> Lrq;<init>(Lpy;)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 Lrq;a(Lcmr;Ljava/util/function/Function;)Lrq;
      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 Lrq;a(Lcmr;)Lrq;
      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 Lrc;a(Lpy;)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 Lrq;a(Lrf;)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 Lrq;b()Lgj;
      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 Lrq;c()Lcmt;
      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 Lrq;d()Lok;
      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;