Changes

→‎Item spawn fields: tweak condition description for clarity
Line 4,959: Line 4,959:  
| <samp>ID</samp>
 
| <samp>ID</samp>
 
| A unique identifier for this entry (not the item itself) within the current list. The ID should only contain alphanumeric/underscore/dot characters. For custom items, this should be prefixed with your mod ID like <samp>Example.ModId_Parsnips</samp>.
 
| A unique identifier for this entry (not the item itself) within the current list. The ID should only contain alphanumeric/underscore/dot characters. For custom items, this should be prefixed with your mod ID like <samp>Example.ModId_Parsnips</samp>.
|-
  −
| <samp>Condition</samp>
  −
| ''(Optional)'' A [[#Game state queries|game state query]] which indicates whether the item should be spawned. Defaults to always true.
   
|-
 
|-
 
| <samp>ItemId</samp>
 
| <samp>ItemId</samp>
Line 4,974: Line 4,971:  
"RandomItemId": [ "(O)388", "(O)390", "(O)206" ]
 
"RandomItemId": [ "(O)388", "(O)390", "(O)206" ]
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
|-
 +
| <samp>Condition</samp>
 +
| ''(Optional)'' A [[#Game state queries|game state query]] which indicates whether this entry should be applied. Defaults to always true.
 
|-
 
|-
 
| <samp>IsRecipe</samp>
 
| <samp>IsRecipe</samp>
translators
8,447

edits