net.minecraft.network.protocol.game

public class ServerboundUseItemPacket

implements Packet<ServerGamePacketListener>

aji
net.minecraft.network.protocol.game.ServerboundUseItemPacket
net.minecraft.class_2886

Field summary

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

Constructor summary

ModifierConstructor
public (InteractionHand arg0, int arg1, float arg2, float arg3)
private (FriendlyByteBuf arg0)

Method summary

Modifier and TypeMethod
private void
a(wc arg0)
write(FriendlyByteBuf arg0)
method_56006(class_2540 arg0)
public PacketType<ServerboundUseItemPacket>
a()
type()
method_65080()
public void
a(ahf arg0)
handle(ServerGamePacketListener arg0)
method_12550(class_2792 arg0)
public InteractionHand
b()
getHand()
method_12551()
public int
e()
getSequence()
method_42081()
public float
f()
getYRot()
method_60586()
public float
g()
getXRot()
method_60587()