Class ClientboundOpenBookPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundOpenBookPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InteractionHandstatic final StreamCodec<FriendlyByteBuf, ClientboundOpenBookPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClientboundOpenBookPacket(FriendlyByteBuf p_179009_) ClientboundOpenBookPacket(InteractionHand p_132601_) -
Method Summary
Modifier and TypeMethodDescriptiongetHand()voidhandle(ClientGamePacketListener p_132607_) type()private voidwrite(FriendlyByteBuf p_132610_) 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
-
hand
-
-
Constructor Details
-
ClientboundOpenBookPacket
-
ClientboundOpenBookPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getHand
-