public class JsonItemStack
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
itemID |
java.lang.Integer |
meta |
java.lang.String |
nbt |
java.lang.Float |
percentChance |
java.lang.Integer |
quantity |
Constructor and Description |
---|
JsonItemStack() |
JsonItemStack(net.minecraft.item.Item item) |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.item.ItemStack |
choose(java.util.List<JsonItemStack> stacks) |
net.minecraft.item.ItemStack |
getItemStack() |
public java.lang.String itemID
public java.lang.Integer quantity
public java.lang.Integer meta
public java.lang.String nbt
public java.lang.Float percentChance
public JsonItemStack()
public JsonItemStack(net.minecraft.item.Item item)
public net.minecraft.item.ItemStack getItemStack()
public static net.minecraft.item.ItemStack choose(java.util.List<JsonItemStack> stacks)