Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
Line 5: Line 5:
<table id="treeviewtable" class="table table-bordered tt-table" style='table-layout: fixed'>
<table id="treeviewtable" class="table table-bordered tt-table" style='table-layout: fixed'>
   <tr>
   <tr>
     <th width='300' align='left'>Property</th>
     <th width='200' align='left'>Property</th>
     <th width='150' align='left'>Type</th>
     <th width='120' align='left'>Type</th>
     <th width='120' align='left'>Default</th>
     <th width='120' align='left'>Default</th>
     <th width='150' align='left'>Usage</th>
     <th width='200' align='left'>Usage</th>
     <th align='left'>Reference</th>
     <th align='left'>Reference</th>
   </tr>
   </tr>
   <tr>
   <tr>
     <td><div class="tt" data-tt-id="root">json</div></td>
     <td><div class="tt" data-tt-id="root">json</div></td>
    <td></td>
     <td></td>
     <td></td>
     <td></td>
     <td></td>
Line 25: Line 26:
     <td>required</td>
     <td>required</td>
     <td>A unique identifier for the block.</td>
     <td>A unique identifier for the block.</td>
    <td>Any Block</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 42: Line 44:
     <td>true</td>
     <td>true</td>
     <td>If the block will be loaded or not. Can be used to temporarily remove the block.</td>
     <td>If the block will be loaded or not. Can be used to temporarily remove the block.</td>
    <td>-</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 241: Line 244:
     <td>string</td>
     <td>string</td>
     <td>-</td>
     <td>-</td>
     <td>The block entity class is able to tick and to store extra data.</td>
     <td>The block entity class is able to tick and to store extra data. Allows for much more advanced properties.</td>
    <td>anvil, firepit, quern, skep</td>
   </tr>
   </tr>
   <tr>
   <tr>
219

edits