Difference between revisions of "Pickaxe Items"
DeamonHunter (Talk | contribs) (Initial commit. Copy past and slight edit from shovels.) |
DeamonHunter (Talk | contribs) m (Oops.) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
</pre> | </pre> | ||
− | + | This item will break to [[Tile|Tiles]] that have the [[Mineable Component]] in their specifications. | |
+ | |||
+ | Pickaxes, currently, do not have any extra components. | ||
= Creating a Pickaxe Item = | = Creating a Pickaxe Item = | ||
− | Pickaxes are created in the exact same way as [[Craft Items]]. In fact you should follow the guide, [[ | + | Pickaxes are created in the exact same way as [[Craft Items]]. In fact you should follow the guide, [[Items#How to Make a Normal Item]], just replace the "kind" property with "staxel.item.Pickaxe". |
= Spawning in a Pickaxe Item = | = Spawning in a Pickaxe Item = | ||
− | Follow the guide at [[ | + | Follow the guide at [[Items#How to Spawn an Item]]. When that guide mentions "kind", make sure to use "staxel.item.Pickaxe" instead of "staxel.item.CraftItem" else you won't be able to spawn the item. |
= Config Options = | = Config Options = | ||
− | The list of basic properties is included at [[ | + | The list of basic properties is included at [[Items#Config Options]]. |
Latest revision as of 06:09, 12 December 2017
Items are fairly broad in their types. Each type has it's own properties and uses.
This page is for items that will act as if they were a pickaxe.
Pickaxes are all items that have the following line;
"kind": "staxel.item.Pickaxe",
This item will break to Tiles that have the Mineable Component in their specifications.
Pickaxes, currently, do not have any extra components.
Creating a Pickaxe Item
Pickaxes are created in the exact same way as Craft Items. In fact you should follow the guide, Items#How to Make a Normal Item, just replace the "kind" property with "staxel.item.Pickaxe".
Spawning in a Pickaxe Item
Follow the guide at Items#How to Spawn an Item. When that guide mentions "kind", make sure to use "staxel.item.Pickaxe" instead of "staxel.item.CraftItem" else you won't be able to spawn the item.
Config Options
The list of basic properties is included at Items#Config Options.