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
official ra
intermediary net/minecraft/class_2623
named net/minecraft/network/packet/s2c/play/BlockEventS2CPacket
  • Field Details

    • pos

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

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

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

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

    • BlockEventS2CPacket

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

      public BlockEventS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lra;<init>(Lph;)V
      intermediary <init> Lnet/minecraft/class_2623;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lql;a(Lph;)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 Lra;a(Lqo;)V
      intermediary method_11297 Lnet/minecraft/class_2623;method_11297(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getPos

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

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

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

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