Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 275: Line 275:
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_textures" data-tt-parent="root">textures</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_textures" data-tt-parent="root">textures</div></td>
     <td>key: direction, value: [[JSON - Texture|texture]]</td>
     <td>key: direction, value: texture</td>
     <td></td>
     <td></td>
     <td>The texture definitions for the block as seen in the world, when dropped on the ground or held in the hand.</td>
     <td>The texture definitions for the block as seen in the world, when dropped on the ground or held in the hand.</td>
Line 308: Line 308:
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_texturesinventory" data-tt-parent="root">texturesinventory</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_texturesinventory" data-tt-parent="root">texturesinventory</div></td>
     <td>key: direction, value: [[JSON - Texture|texture]]</td>
     <td>key: direction, value: texture</td>
     <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>
Line 314: Line 314:
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_texturesbytype" data-tt-parent="root">texturesbytype</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_texturesbytype" data-tt-parent="root">texturesbytype</div></td>
     <td>key: string -> direction, value: [[JSON - Texture|texture]]</td>
     <td>key: string -> direction, value: texture</td>
     <td></td>
     <td></td>
     <td>When defining multiple block variants, use this property to selectively choose the textures of a variant.</td>
     <td>When defining multiple block variants, use this property to selectively choose the textures of a variant.</td>
Line 320: Line 320:
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_texturesinventorybytype" data-tt-parent="root">texturesinventorybytype</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_texturesinventorybytype" data-tt-parent="root">texturesinventorybytype</div></td>
     <td>key: string -> direction, value: [[JSON - Texture|texture]]</td>
     <td>key: string -> direction, value: texture</td>
     <td></td>
     <td></td>
     <td>When defining multiple block variants, use this property to selectively choose the inventory textures of a variant.</td>
     <td>When defining multiple block variants, use this property to selectively choose the inventory textures of a variant.</td>
Confirmedusers, editor, Administrators
886

edits