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
FieldsModifier and TypeFieldDescriptionprivate final BlockStateprivate final BlockPosstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBlockUpdatePacket> -
Constructor Summary
ConstructorsConstructorDescriptionClientboundBlockUpdatePacket(BlockPos p_131738_, BlockState p_131739_) ClientboundBlockUpdatePacket(BlockGetter pBlockGetter, BlockPos pPos) -
Method Summary
Modifier and TypeMethodDescriptiongetPos()voidhandle(ClientGamePacketListener pHandler) Passes this Packet on to the NetHandler for processing.type()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, isTerminal
-
Field Details
-
STREAM_CODEC
-
pos
-
blockState
-
-
Constructor Details
-
ClientboundBlockUpdatePacket
-
ClientboundBlockUpdatePacket
-
-
Method Details
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
Passes this Packet on to the NetHandler for processing.- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getBlockState
-
getPos
-