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