Class ClientboundAddTransientBlockPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAddTransientBlockPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundAddTransientBlockPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockStateprivate final BlockPosstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundAddTransientBlockPacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPos()voidhandle(ClientGamePacketListener listener) type()private voidwrite(RegistryFriendlyByteBuf output) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundAddTransientBlockPacket> STREAM_CODEC -
pos
-
blockState
-
-
Constructor Details
-
ClientboundAddTransientBlockPacket
-
ClientboundAddTransientBlockPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getBlockState
-
getPos
-