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
official pq
intermediary net/minecraft/class_2626
named net/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket
  • Field Details

    • pos

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

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

    • BlockUpdateS2CPacket

      public BlockUpdateS2CPacket()
    • BlockUpdateS2CPacket

      public BlockUpdateS2CPacket​(BlockPos blockPos, BlockState blockState)
    • BlockUpdateS2CPacket

      public BlockUpdateS2CPacket​(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpq;<init>(Lbsz;Lfx;)V
      intermediary <init> Lnet/minecraft/class_2626;<init>(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;<init>(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)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 Lpq;a(Lpd;)V
      intermediary method_11310 Lnet/minecraft/class_2626;method_11310(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getState

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

      @Environment(CLIENT) public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;c()Lfx;
      intermediary method_11309 Lnet/minecraft/class_2626;method_11309()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;