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