Class ClientboundBlockUpdatePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundBlockUpdatePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundBlockUpdatePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundBlockUpdatePacket
(BlockPos p_131738_, BlockState p_131739_) ClientboundBlockUpdatePacket
(FriendlyByteBuf p_178628_) ClientboundBlockUpdatePacket
(BlockGetter p_131735_, BlockPos p_131736_) -
Method Summary
Modifier and TypeMethodDescriptiongetPos()
void
handle
(ClientGamePacketListener p_131745_) void
write
(FriendlyByteBuf p_131748_) 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
-
blockState
-
-
Constructor Details
-
ClientboundBlockUpdatePacket
-
ClientboundBlockUpdatePacket
-
ClientboundBlockUpdatePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getBlockState
-
getPos
-