Class BlockEventS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockEventS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official abu
intermediary net/minecraft/class_2623
named net/minecraft/network/packet/s2c/play/BlockEventS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Block
static final PacketCodec
<RegistryByteBuf, BlockEventS2CPacket> private final int
private final BlockPos
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
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 official a
Labu;a:Lys;
intermediary field_47904
Lnet/minecraft/class_2623;field_47904:Lnet/minecraft/class_9139;
named CODEC
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
pos
- Mappings:
Namespace Name Mixin selector official b
Labu;b:Lin;
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 c
Labu;c: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 d
Labu;d:I
intermediary field_12041
Lnet/minecraft/class_2623;field_12041:I
named data
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;data:I
-
block
- Mappings:
Namespace Name Mixin selector official e
Labu;e:Ldde;
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
- Mappings:
Namespace Name Mixin selector official <init>
Labu;<init>(Lin;Ldde;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
- Mappings:
Namespace Name Mixin selector official <init>
Labu;<init>(Lwf;)V
intermediary <init>
Lnet/minecraft/class_2623;<init>(Lnet/minecraft/class_9129;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Labu;a(Lwf;)V
intermediary method_55860
Lnet/minecraft/class_2623;method_55860(Lnet/minecraft/class_9129;)V
named write
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lzb;a()Lzd;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Labu;a(Labm;)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
- Mappings:
Namespace Name Mixin selector official b
Labu;b()Lin;
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 e
Labu;e()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 f
Labu;f()I
intermediary method_11296
Lnet/minecraft/class_2623;method_11296()I
named getData
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getData()I
-
getBlock
- Mappings:
Namespace Name Mixin selector official g
Labu;g()Ldde;
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;
-