Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
fix links
(Factor out how variants are defined into Modding:Registry_Object_JSON_Parsing)
(fix links)
Line 80: Line 80:
     <td>array of objects</td>
     <td>array of objects</td>
     <td>-</td>
     <td>-</td>
     <td>Allows you define multiple [[Modding:Registry_Object_JSON_Parsing|variants]] of the same item.</td>
     <td>Allows you define multiple [[Modding:Registry_Object_JSON_Parsing|variants]] of the same block.</td>
     <td>armor, ore-graded, plank, </td>
     <td>armor, ore-graded, plank, </td>
   </tr>
   </tr>
Line 87: Line 87:
     <td>key: string; value: object</td>
     <td>key: string; value: object</td>
     <td>-</td>
     <td>-</td>
     <td>Allows different property values to be [[Modding:Registry_Object_JSON_Parsing#Filtering_out_variants|specified]] based on the variant code.</td>
     <td>Allows different property values to be [[Modding:Registry_Object_JSON_Parsing#ByType_properties|specified]] based on the variant code.</td>
   </tr>
   </tr>
<tr>
<tr>
Confirmedusers
261

edits