Class BlockUpdateS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.BlockUpdateS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class BlockUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket
intermediary net/minecraft/class_2626
official ada
  • Field Details

    • CODEC

      public static final PacketCodec<RegistryByteBuf,BlockUpdateS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47905 Lnet/minecraft/class_2626;field_47905:Lnet/minecraft/class_9139;
      official a Lada;a:Lzt;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_12052 Lnet/minecraft/class_2626;field_12052:Lnet/minecraft/class_2338;
      official b Lada;b:Ljh;
    • state

      private final BlockState state
      Mappings:
      Namespace Name Mixin selector
      named state Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;state:Lnet/minecraft/block/BlockState;
      intermediary field_12051 Lnet/minecraft/class_2626;field_12051:Lnet/minecraft/class_2680;
      official c Lada;c:Ldxu;
  • Constructor Details

    • BlockUpdateS2CPacket

      public BlockUpdateS2CPacket(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary <init> Lnet/minecraft/class_2626;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official <init> Lada;<init>(Ljh;Ldxu;)V
    • BlockUpdateS2CPacket

      public BlockUpdateS2CPacket(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;<init>(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_2626;<init>(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)V
      official <init> Lada;<init>(Ldgm;Ljh;)V
  • Method Details

    • getPacketId

      public PacketType<BlockUpdateS2CPacket> 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 Laac;a()Laae;
    • 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/BlockUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11310 Lnet/minecraft/class_2626;method_11310(Lnet/minecraft/class_2602;)V
      official a Lada;a(Lacr;)V
    • getState

      public BlockState getState()
      Mappings:
      Namespace Name Mixin selector
      named getState Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;getState()Lnet/minecraft/block/BlockState;
      intermediary method_11308 Lnet/minecraft/class_2626;method_11308()Lnet/minecraft/class_2680;
      official b Lada;b()Ldxu;
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_11309 Lnet/minecraft/class_2626;method_11309()Lnet/minecraft/class_2338;
      official e Lada;e()Ljh;