Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 187: Line 187:
     <td>0</td>
     <td>0</td>
     <td></td>
     <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_shapebytype" data-tt-parent="root">shapebytype</div></td>
    <td>key: string, value: shape</td>
    <td></td>
    <td>When defining multiple block variants, use this property to selectively choose the shape of a variant.</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 305: Line 299:
     <td></td>
     <td></td>
     <td>The texture definitions for the block as seen in the player inventory. Overrides the textures definition if set.</td>
     <td>The texture definitions for the block as seen in the player inventory. Overrides the textures definition if set.</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_texturesbytype" data-tt-parent="root">texturesbytype</div></td>
    <td>key: string -> direction, value: texture</td>
    <td></td>
    <td>When defining multiple block variants, use this property to selectively choose the textures of a variant.</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_texturesinventorybytype" data-tt-parent="root">texturesinventorybytype</div></td>
    <td>key: string -> direction, value: texture</td>
    <td></td>
    <td>When defining multiple block variants, use this property to selectively choose the inventory textures of a variant.</td>
   </tr>
   </tr>
   <tr>
   <tr>
Confirmedusers, editor, Administrators
886

edits