Class ClientboundBlockEventPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundBlockEventPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientboundBlockEventPacket(BlockPos p_131715_, Block p_131716_, int p_131717_, int p_131718_) ClientboundBlockEventPacket(FriendlyByteBuf p_178623_) -
Method Summary
Modifier and TypeMethodDescriptionintgetB0()intgetB1()getBlock()getPos()voidhandle(ClientGamePacketListener p_131724_) voidwrite(FriendlyByteBuf p_131727_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
pos
-
b0
private final int b0 -
b1
private final int b1 -
block
-
-
Constructor Details
-
ClientboundBlockEventPacket
-
ClientboundBlockEventPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getPos
-
getB0
public int getB0() -
getB1
public int getB1() -
getBlock
-