implements Packet<ServerGamePacketListener>
| akf | |
| net.minecraft.network.protocol.game.ServerboundUseItemPacket | |
| net.minecraft.class_2886 | |
| net.minecraft.network.packet.c2s.play.PlayerInteractItemC2SPacket |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final StreamCodec<FriendlyByteBuf, ServerboundUseItemPacket> |
| ||||||||
| private final InteractionHand |
| ||||||||
| private final int |
| ||||||||
| private final float |
| ||||||||
| private final float |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (InteractionHand hand, int sequence, float yaw, float pitch) |
| private | (FriendlyByteBuf buf) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private void |
| ||||||||
| public PacketType<ServerboundUseItemPacket> |
| ||||||||
| public void |
| ||||||||
| public InteractionHand |
| ||||||||
| public int |
| ||||||||
| public float |
| ||||||||
| public float |
|