net.minecraft.network.protocol.game

public class ServerboundUseItemOnPacket

implements Packet<ServerGamePacketListener>

wp
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_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(pn arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ux 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_()