public class ClientPlayerUseItemPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientPlayerUseItemPacket(Hand hand) |
| Modifier and Type | Method and Description |
|---|---|
Hand |
getHand() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ClientPlayerUseItemPacket(Hand hand)
public Hand getHand()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.