tutorial:items_docs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:items_docs [2020/11/02 04:43] – Update & fabricitemsettings leocth2 | tutorial:items_docs [2022/01/31 01:24] – [Food] solidblock | ||
---|---|---|---|
Line 30: | Line 30: | ||
public Item.Settings food(FoodComponent foodComponent) | public Item.Settings food(FoodComponent foodComponent) | ||
</ | </ | ||
- | '' | + | '' |
---- | ---- | ||
Line 101: | Line 101: | ||
Marks the item as being fireproof, and protects the item entity that contains the item from fire and lava. | Marks the item as being fireproof, and protects the item entity that contains the item from fire and lava. | ||
- | |||
- | ---- | ||
- | |||
- | ==== Rarity ==== | ||
- | <code java> | ||
- | public Item.Settings rarity(Rarity rarity) | ||
- | </ | ||
- | '' | ||
- | |||
- | If Rarity is set, the given Item will have a custom name color. An Item's Rarity defaults to common. | ||
- | ^ Rarity ^ Color ^ | ||
- | | Common | White | | ||
- | | Uncommon | Yellow | | ||
- | | Rare | Aqua | | ||
- | | Epic | Light Purple | | ||
- |
tutorial/items_docs.txt · Last modified: 2023/06/12 16:25 by mineblock11