tutorial:items_docs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:items_docs [2022/01/31 01:24] – [Food] solidblock | tutorial:items_docs [2022/12/11 21:18] – Remove group method haykam | ||
---|---|---|---|
Line 12: | Line 12: | ||
| maxDamage | '' | | maxDamage | '' | ||
| recipeRemainder | '' | | recipeRemainder | '' | ||
- | | group | '' | ||
| rarity | '' | | rarity | '' | ||
| fireproof | None | Marks the item as being fireproof. Prevents the item from being destroyed by lava and fire. | | | fireproof | None | Marks the item as being fireproof. Prevents the item from being destroyed by lava and fire. | | ||
Line 67: | Line 66: | ||
When a recipe remainder is set on an Item, any recipe using that Item will return the remainder on craft. This is used for buckets (Water, Lava, Milk) and bottles (Dragon Breath, Honey) returning their respective empty items when used in recipes. | When a recipe remainder is set on an Item, any recipe using that Item will return the remainder on craft. This is used for buckets (Water, Lava, Milk) and bottles (Dragon Breath, Honey) returning their respective empty items when used in recipes. | ||
- | |||
- | ---- | ||
- | |||
- | ==== Group ==== | ||
- | <code java> | ||
- | public Item.Settings group(ItemGroup group) | ||
- | </ | ||
- | '' | ||
- | |||
- | Each ItemGroup appears as a tab in the creative inventory. Adding an Item to this group will add it to the tab. The order of the group is based on registry order. For more information on creating a group, see the [[tutorial: | ||
---- | ---- |
tutorial/items_docs.txt · Last modified: 2023/06/12 16:25 by mineblock11