net.minecraft.network.protocol.game

public class ServerboundUseItemPacket

implements Packet<ServerGamePacketListener>

ais
net.minecraft.network.protocol.game.ServerboundUseItemPacket
net.minecraft.class_2886
net.minecraft.unmapped.C_mnaqbeyf
net.minecraft.network.packet.c2s.play.PlayerInteractItemC2SPacket
net.minecraft.network.packet.c2s.play.PlayerInteractionWithItemC2SPacket

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundUseItemPacket>
a
STREAM_CODEC
field_48226
f_hgvorzmt
CODEC
CODEC
private final InteractionHand
b
hand
field_13136
f_rqowgnmz
hand
hand
private final int
c
sequence
field_38050
f_bevivupc
sequence
actionIndex
private final float
d
yRot
field_51930
f_lgtyngwf
yaw
private final float
e
xRot
field_51931
f_ecedcgof
pitch

Constructor summary

ModifierConstructor
public (InteractionHand hand, int sequence, float yaw, float pitch)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vu arg0)
write(FriendlyByteBuf arg0)
method_56006(class_2540 arg0)
m_afnojrgt(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
public PacketType<ServerboundUseItemPacket>
a()
type()
method_65080()
m_bbocywrf()
getPacketType()
getType()
public void
a(agp arg0)
handle(ServerGamePacketListener arg0)
method_12550(class_2792 arg0)
m_ykvosmuy(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
public InteractionHand
b()
getHand()
method_12551()
m_xfoclktj()
getHand()
getHand()
public int
e()
getSequence()
method_42081()
m_qzbliggz()
getSequence()
getActionIndex()
public float
f()
getYRot()
method_60586()
m_jujqdsqj()
getYaw()
public float
g()
getXRot()
method_60587()
m_lljgmbuo()
getPitch()