net.minecraft.network.protocol.game

public class ServerboundUseItemOnPacket

implements Packet<ServerGamePacketListener>

zi
net.minecraft.network.protocol.game.ServerboundUseItemOnPacket
net.minecraft.class_2885
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket
net.minecraft.src.C_5198_
net.minecraft.network.protocol.game.PacketPlayInUseItem

Field summary

Modifier and TypeField
private final BlockHitResult
a
blockHit
field_17602
blockHitResult
f_134691_
private final InteractionHand
b
hand
field_13134
hand
f_134692_
private final int
c
sequence
field_38049
sequence
f_238003_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(qx arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(xm arg0)
handle(ServerGamePacketListener arg0)
method_12547(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public InteractionHand
b()
getHand()
method_12546()
getHand()
m_134703_()
public BlockHitResult
c()
getHitResult()
method_12543()
getBlockHitResult()
m_134706_()
public int
d()
getSequence()
method_42080()
getSequence()
m_238008_()