public class PassthroughItemMaterial extends java.lang.Object implements ItemMaterial
Constructor and Description |
---|
PassthroughItemMaterial(ItemMaterial material) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxDamage()
Gets the the maximum damage this item can take before being broken.
|
int |
getMaxStackSize()
Gets the the maximum quantity of this item that can be in a single stack.
|
public PassthroughItemMaterial(@Nullable ItemMaterial material)
public int getMaxStackSize()
ItemMaterial
getMaxStackSize
in interface ItemMaterial
public int getMaxDamage()
ItemMaterial
getMaxDamage
in interface ItemMaterial