Difference between revisions of "Shears Items"
DeamonHunter (Talk | contribs) (Update Page.) |
DeamonHunter (Talk | contribs) (Reword the subtext to be less confusing.) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
</pre> | </pre> | ||
− | + | This item will shear any [[Farm Animal]] that have at least one item in [[Farm Animal#"shearItems"]] in their specifications. | |
+ | |||
+ | Shears, currently, do not have any extra components. | ||
Line 16: | Line 18: | ||
− | = Spawning in a | + | = Spawning in a Shears Item = |
Follow the guide at [[Items#How to Spawn an Item]]. When that guide mentions "kind", make sure to use "staxel.item.Shears" instead of "staxel.item.CraftItem" else you won't be able to spawn the item. | Follow the guide at [[Items#How to Spawn an Item]]. When that guide mentions "kind", make sure to use "staxel.item.Shears" instead of "staxel.item.CraftItem" else you won't be able to spawn the item. | ||
Latest revision as of 05:00, 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 Shears.
Shears are all items that have the following line;
"kind": "staxel.item.Shears",
This item will shear any Farm Animal that have at least one item in Farm Animal#"shearItems" in their specifications.
Shears, currently, do not have any extra components.
Creating a Shears Item
Shears 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.Shears".
Spawning in a Shears Item
Follow the guide at Items#How to Spawn an Item. When that guide mentions "kind", make sure to use "staxel.item.Shears" 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.