public class ItemStack extends Object
| Constructor and Description |
|---|
ItemStack(int id) |
ItemStack(int id,
int amount) |
| Modifier and Type | Method and Description |
|---|---|
static ItemStack |
read(com.github.steveice10.packetlib.io.NetInput in) |
static void |
write(com.github.steveice10.packetlib.io.NetOutput out,
ItemStack item) |
public ItemStack(int id)
public ItemStack(int id,
int amount)
public static ItemStack read(com.github.steveice10.packetlib.io.NetInput in) throws IOException
IOExceptionpublic static void write(com.github.steveice10.packetlib.io.NetOutput out,
ItemStack item)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.