net.minecraft.network.packet.s2c.play

public class OpenWrittenBookS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundOpenBookPacket
net.minecraft.class_3895
net.minecraft.network.packet.s2c.play.OpenWrittenBookS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, OpenWrittenBookS2CPacket>
STREAM_CODEC
field_47944
CODEC
private final Hand
hand
field_17199
hand

Constructor summary

ModifierConstructor
public (Hand hand)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55894(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<OpenWrittenBookS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_17187(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public Hand
getHand()
method_17188()
getHand()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)