net.minecraft.network.protocol.game

public class ServerboundUseItemPacket

implements Packet<ServerGamePacketListener>

aih
net.minecraft.network.protocol.game.ServerboundUseItemPacket
net.minecraft.class_2886
net.minecraft.network.packet.c2s.play.PlayerInteractItemC2SPacket
net.minecraft.network.protocol.game.PacketPlayInBlockPlace

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundUseItemPacket>
a
STREAM_CODEC
field_48226
CODEC
private final InteractionHand
b
hand
field_13136
hand
private final int
c
sequence
field_38050
sequence
private final float
d
yRot
field_51930
yaw
private final float
e
xRot
field_51931
pitch

Constructor summary

ModifierConstructor
public (InteractionHand hand, int sequence, float yaw, float pitch)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56006(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundUseItemPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12550(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public InteractionHand
b()
getHand()
method_12551()
getHand()
public int
e()
getSequence()
method_42081()
getSequence()
public float
f()
getYRot()
method_60586()
getYaw()
public float
g()
getXRot()
method_60587()
getPitch()