Prototype/Tool
Jump to navigation
Jump to search
Basics
Prototype type: tool
Items with a "durability". Used for science packs. Extends Prototype/Item.
Extensions
- Prototype/Armor armor
- Prototype/MiningTool mining-tool (for migration, cannot be used)
- Prototype/RepairTool repair-tool
Optional properties
This prototype inherits all the properties from Prototype/Item.
durability
Type: Types/double
Must be positive. Mandatory if infinite
is false.
durability_description_key
Type: Types/string
Default: "description.durability-key"
durability_description_value
Type: Types/string
Default: "description.durability-value"
infinite
Type: Types/bool
Default: true