net.minecraft.network.protocol.game

public class ServerboundUseItemPacket

implements Packet<ServerGamePacketListener>

aih
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
net.minecraft.src.C_5199_
net.minecraft.network.protocol.game.PacketPlayInBlockPlace

Field summary

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

Constructor summary

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

Method summary

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