tutorial:items_docs
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:items_docs [2020/03/30 02:50] – created draylar | tutorial:items_docs [2020/04/01 19:23] – clarify max count limits draylar | ||
---|---|---|---|
Line 14: | Line 14: | ||
| group | ItemGroup | Sets the ItemGroup of the Item, which is used for creative tabs. | | | group | ItemGroup | Sets the ItemGroup of the Item, which is used for creative tabs. | | ||
| rarity | Rarity | Sets the rarity of the Item, which changes its name color. | | | rarity | Rarity | Sets the rarity of the Item, which changes its name color. | | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Food ==== | ||
+ | <code java> | ||
+ | public Item.Settings food(FoodComponent foodComponent) | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Max Stack Count ==== | ||
+ | <code java> | ||
+ | public Item.Settings maxCount(int maxCount) | ||
+ | </ | ||
+ | '' | ||
tutorial/items_docs.txt · Last modified: 2023/06/12 16:25 by mineblock11