Class ClientboundBlockEventPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundBlockEventPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final Block
private final BlockPos
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBlockEventPacket> -
Constructor Summary
ModifierConstructorDescriptionClientboundBlockEventPacket
(BlockPos p_131715_, Block p_131716_, int p_131717_, int p_131718_) private
-
Method Summary
Modifier and TypeMethodDescriptionint
getB0()
int
getB1()
getBlock()
getPos()
void
handle
(ClientGamePacketListener p_131724_) type()
private void
write
(RegistryFriendlyByteBuf p_331626_) 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.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
pos
-
b0
private final int b0 -
b1
private final int b1 -
block
-
-
Constructor Details
-
ClientboundBlockEventPacket
-
ClientboundBlockEventPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getPos
-
getB0
public int getB0() -
getB1
public int getB1() -
getBlock
-