User Tools

Site Tools


tutorial:items_docs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:items_docs [2020/11/02 04:43] – Update & fabricitemsettings leocth2tutorial: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)
 </code> </code>
-''foodComponent'' - instance of'FoodComponent. When set, the Item will be edible based on the settings provided by the FoodComponent builder. For an in-depth explanation of the available options, view the FoodComponent Overview page.+''foodComponent'' - instance of ''FoodComponent''. When set, the Item will be edible based on the settings provided by the FoodComponent builder. For an in-depth explanation of the available options, view the FoodComponent Overview page.
  
 ---- ----
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) 
-</code> 
-''rarity'' - Rarity of the given Item. 
- 
-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