public static class Item.Properties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
canRepair |
private Item |
containerItem |
private Food |
food |
private ItemGroup |
group |
private java.util.function.Supplier<java.util.concurrent.Callable<ItemStackTileEntityRenderer>> |
ister |
private int |
maxDamage |
private int |
maxStackSize |
private Rarity |
rarity |
private java.util.Map<ToolType,java.lang.Integer> |
toolClasses |
Constructor and Description |
---|
Properties() |
Modifier and Type | Method and Description |
---|---|
Item.Properties |
addToolType(ToolType type,
int level) |
Item.Properties |
containerItem(Item containerItemIn) |
Item.Properties |
defaultMaxDamage(int maxDamageIn) |
Item.Properties |
food(Food foodIn) |
Item.Properties |
group(ItemGroup groupIn) |
Item.Properties |
maxDamage(int maxDamageIn) |
Item.Properties |
maxStackSize(int maxStackSizeIn) |
Item.Properties |
rarity(Rarity rarityIn) |
Item.Properties |
setISTER(java.util.function.Supplier<java.util.concurrent.Callable<ItemStackTileEntityRenderer>> ister) |
Item.Properties |
setNoRepair() |
private int maxStackSize
private int maxDamage
private Item containerItem
private ItemGroup group
private Rarity rarity
private Food food
private boolean canRepair
private java.util.Map<ToolType,java.lang.Integer> toolClasses
private java.util.function.Supplier<java.util.concurrent.Callable<ItemStackTileEntityRenderer>> ister
public Item.Properties food(Food foodIn)
public Item.Properties maxStackSize(int maxStackSizeIn)
public Item.Properties defaultMaxDamage(int maxDamageIn)
public Item.Properties maxDamage(int maxDamageIn)
public Item.Properties containerItem(Item containerItemIn)
public Item.Properties group(ItemGroup groupIn)
public Item.Properties rarity(Rarity rarityIn)
public Item.Properties setNoRepair()
public Item.Properties addToolType(ToolType type, int level)
public Item.Properties setISTER(java.util.function.Supplier<java.util.concurrent.Callable<ItemStackTileEntityRenderer>> ister)