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
Modifier and TypeMethodDescriptiondefault @Nullable EquipmentSlotequipmentSlot(TypedKey<Item> item) intintmaxStackSize(TypedKey<Item> item)
-
Method Details
-
maxStackSize
-
maxDamage
-
equipmentSlot
- Parameters:
item- namespaced item identifier- Returns:
- where the item is worn,
nullwhen it cannot be - Since:
- 0.1.0
-