net.minecraft.network.protocol.game

public class ServerboundUseItemOnPacket

implements Packet<ServerGamePacketListener>

aig
net.minecraft.network.protocol.game.ServerboundUseItemOnPacket
net.minecraft.class_2885
net.minecraft.unmapped.C_yiwzfjbl
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket
net.minecraft.network.packet.c2s.play.PlayerInteractionWithBlockC2SPacket
net.minecraft.src.C_5198_
net.minecraft.network.protocol.game.PacketPlayInUseItem

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundUseItemOnPacket>
a
STREAM_CODEC
field_48225
f_epdgbyux
CODEC
CODEC
f_316673_
private final BlockHitResult
b
blockHit
field_17602
f_pxsiuwld
blockHitResult
blockHitResult
f_134691_
private final InteractionHand
c
hand
field_13134
f_ybzuvayz
hand
hand
f_134692_
private final int
d
sequence
field_38049
f_wmewrihq
sequence
actionIndex
f_238003_

Constructor summary

ModifierConstructor
public (InteractionHand hand, BlockHitResult blockHitResult, int sequence)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56005(class_2540 arg0)
m_bngwfzvh(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
m_134704_(C_4983_ arg0)
public PacketType<ServerboundUseItemOnPacket>
a()
type()
method_65080()
m_bbocywrf()
getPacketType()
getType()
m_5779_()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12547(class_2792 arg0)
m_eaxrtxfv(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public InteractionHand
b()
getHand()
method_12546()
m_ndnqukye()
getHand()
getHand()
m_134703_()
public BlockHitResult
e()
getHitResult()
method_12543()
m_kefdknvg()
getBlockHitResult()
getBlockHitResult()
m_134706_()
public int
f()
getSequence()
method_42080()
m_loxsqyym()
getSequence()
getActionIndex()
m_238008_()