Interface ItemDefaults.Source
- Enclosing class:
ItemDefaults
public static interface ItemDefaults.Source
Supplies the defaults of items the server knows about. Implemented over the
generated table.
- Since:
- 0.1.0
-
Method Summary
-
Method Details
-
maxStackSize
- Parameters:
item- namespaced item identifier- Returns:
- how many of this item fit in one slot
-
maxDamage
- Parameters:
item- namespaced item identifier- Returns:
- total durability, or
0when the item cannot break
-