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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47903 Lnet/minecraft/class_2622;field_47903:Lnet/minecraft/class_9139;
      official a Lacp;a:Lzn;
    • pos

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

      private final BlockEntityType<?> blockEntityType
      Mappings:
      Namespace Name Mixin selector
      named blockEntityType Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;blockEntityType:Lnet/minecraft/block/entity/BlockEntityType;
      intermediary field_12038 Lnet/minecraft/class_2622;field_12038:Lnet/minecraft/class_2591;
      official c Lacp;c:Ldpk;
    • nbt

      private final NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      named nbt Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;
      intermediary field_12039 Lnet/minecraft/class_2622;field_12039:Lnet/minecraft/class_2487;
      official d Lacp;d:Lus;
  • Constructor Details

    • BlockEntityUpdateS2CPacket

      private BlockEntityUpdateS2CPacket(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_2622;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2591;Lnet/minecraft/class_2487;)V
      official <init> Lacp;<init>(Liz;Ldpk;Lus;)V
  • Method Details

    • create

      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;create(Lnet/minecraft/block/entity/BlockEntity;Ljava/util/function/BiFunction;)Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
      intermediary method_39026 Lnet/minecraft/class_2622;method_39026(Lnet/minecraft/class_2586;Ljava/util/function/BiFunction;)Lnet/minecraft/class_2622;
      official a Lacp;a(Ldpi;Ljava/util/function/BiFunction;)Lacp;
    • create

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

      public PacketType<BlockEntityUpdateS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzw;a()Lzy;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11292 Lnet/minecraft/class_2622;method_11292(Lnet/minecraft/class_2602;)V
      official a Lacp;a(Laci;)V
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_11293 Lnet/minecraft/class_2622;method_11293()Lnet/minecraft/class_2338;
      official b Lacp;b()Liz;
    • getBlockEntityType

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

      public NbtCompound getNbt()
      Mappings:
      Namespace Name Mixin selector
      named getNbt Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_11290 Lnet/minecraft/class_2622;method_11290()Lnet/minecraft/class_2487;
      official f Lacp;f()Lus;