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