Class BlockEventS2CPacket

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

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

    • CODEC

      public static final PacketCodec<RegistryByteBuf,BlockEventS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47904 Lnet/minecraft/class_2623;field_47904:Lnet/minecraft/class_9139;
      official a Lacq;a:Lzn;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_12044 Lnet/minecraft/class_2623;field_12044:Lnet/minecraft/class_2338;
      official b Lacq;b:Liz;
    • type

      private final int type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;type:I
      intermediary field_12042 Lnet/minecraft/class_2623;field_12042:I
      official c Lacq;c:I
    • data

      private final int data
      Mappings:
      Namespace Name Mixin selector
      named data Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;data:I
      intermediary field_12041 Lnet/minecraft/class_2623;field_12041:I
      official d Lacq;d:I
    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      named block Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;block:Lnet/minecraft/block/Block;
      intermediary field_12043 Lnet/minecraft/class_2623;field_12043:Lnet/minecraft/class_2248;
      official e Lacq;e:Ldfb;
  • Constructor Details

    • BlockEventS2CPacket

      public BlockEventS2CPacket(BlockPos pos, Block block, int type, int data)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
      intermediary <init> Lnet/minecraft/class_2623;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
      official <init> Lacq;<init>(Liz;Ldfb;II)V
    • BlockEventS2CPacket

      private BlockEventS2CPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2623;<init>(Lnet/minecraft/class_9129;)V
      official <init> Lacq;<init>(Lxa;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary method_55860 Lnet/minecraft/class_2623;method_55860(Lnet/minecraft/class_9129;)V
      official a Lacq;a(Lxa;)V
    • getPacketId

      public PacketType<BlockEventS2CPacket> 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/BlockEventS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11297 Lnet/minecraft/class_2623;method_11297(Lnet/minecraft/class_2602;)V
      official a Lacq;a(Laci;)V
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_11298 Lnet/minecraft/class_2623;method_11298()Lnet/minecraft/class_2338;
      official b Lacq;b()Liz;
    • getType

      public int getType()
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getType()I
      intermediary method_11294 Lnet/minecraft/class_2623;method_11294()I
      official e Lacq;e()I
    • getData

      public int getData()
      Mappings:
      Namespace Name Mixin selector
      named getData Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getData()I
      intermediary method_11296 Lnet/minecraft/class_2623;method_11296()I
      official f Lacq;f()I
    • getBlock

      public Block getBlock()
      Mappings:
      Namespace Name Mixin selector
      named getBlock Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getBlock()Lnet/minecraft/block/Block;
      intermediary method_11295 Lnet/minecraft/class_2623;method_11295()Lnet/minecraft/class_2248;
      official g Lacq;g()Ldfb;