− | Several data assets (like [[#Custom machines|machines]] and [[#Custom shops|shops]]) let you configure items to create. For consistency, these all share a set of common fields (internally represented by <samp>ISpawnItemData</samp>, and <samp>GenericSpawnItemData</samp> or <samp>GenericSpawnItemDataWithCondition</samp>):
| + | ''Item spawn fields'' are a common set of fields to use item queries in data assets like [[#Custom machines|machines]] and [[#Custom shops|shops]]. These are only available for data assets which specifically mention they support item spawn fields in their docs. |