net.minecraft.network.protocol.game

public class ServerboundUseItemOnPacket

implements Packet<ServerGamePacketListener>

aig
net.minecraft.network.protocol.game.ServerboundUseItemOnPacket
net.minecraft.class_2885
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket
net.minecraft.network.protocol.game.PacketPlayInUseItem

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundUseItemOnPacket>
a
STREAM_CODEC
field_48225
CODEC
private final BlockHitResult
b
blockHit
field_17602
blockHitResult
private final InteractionHand
c
hand
field_13134
hand
private final int
d
sequence
field_38049
sequence

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)
write(PacketByteBuf buf)
public PacketType<ServerboundUseItemOnPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12547(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public InteractionHand
b()
getHand()
method_12546()
getHand()
public BlockHitResult
e()
getHitResult()
method_12543()
getBlockHitResult()
public int
f()
getSequence()
method_42080()
getSequence()