net.minecraft.network.protocol.game

public class ServerboundUseItemOnPacket

implements Packet<ServerGamePacketListener>

ts
net.minecraft.network.protocol.game.ServerboundUseItemOnPacket
net.minecraft.class_2885
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket
net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket
net.minecraft.server.v1_16_R3.PacketPlayInUseItem

Field summary

Modifier and TypeField
private BlockHitResult
a
blockHit
field_17602
blockHitResult
field_218795_a
private InteractionHand
b
hand
field_13134
hand
field_187027_c

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(sa arg0)
handle(ServerGamePacketListener arg0)
method_12547(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
func_148833_a(IServerPlayNetHandler arg0)
public InteractionHand
b()
getHand()
method_12546()
getHand()
func_187022_c()
public BlockHitResult
c()
getHitResult()
method_12543()
getBlockHitResult()
func_218794_c()