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 abv
-
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
Labv;a:Lys;
-
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
Labv;b:Lja;
-
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
Labv;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
Labv;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
Labv;e:Ldfi;
-
-
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>
Labv;<init>(Lja;Ldfi;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>
Labv;<init>(Lwf;)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
Labv;a(Lwf;)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
Lzb;a()Lzd;
-
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
Labv;a(Labn;)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
Labv;b()Lja;
-
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
Labv;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
Labv;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
Labv;g()Ldfi;
-