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
Modifier and TypeFieldDescriptionprivate final BlockState
private final BlockPos
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBlockUpdatePacket> -
Constructor Summary
ConstructorDescriptionClientboundBlockUpdatePacket
(BlockPos p_131738_, BlockState p_131739_) ClientboundBlockUpdatePacket
(BlockGetter p_131735_, BlockPos p_131736_) -
Method Summary
Modifier and TypeMethodDescriptiongetPos()
void
handle
(ClientGamePacketListener p_131745_) type()
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
-
blockState
-
-
Constructor Details
-
ClientboundBlockUpdatePacket
-
ClientboundBlockUpdatePacket
-
-
Method Details
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getBlockState
-
getPos
-