Class BlockEventS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockEventS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/BlockEventS2CPacket
intermediary net/minecraft/class_2623
official acq
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Block
static final PacketCodec
<RegistryByteBuf, BlockEventS2CPacket> private final int
private final BlockPos
private final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
BlockEventS2CPacket
(BlockPos pos, Block block, int type, int data) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getBlock()
int
getData()
getPos()
int
getType()
private void
write
(RegistryByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- Specified by:
getPacketId
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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
- 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;
-