public class ClientCreativeInventoryActionPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientCreativeInventoryActionPacket(int slot,
ItemStack clicked) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getClickedItem() |
int |
getSlot() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ClientCreativeInventoryActionPacket(int slot,
ItemStack clicked)
public int getSlot()
public ItemStack getClickedItem()
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.