Modding:Entity Json Properties: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 520: Line 520:
     <td>1</td>
     <td>1</td>
     <td>Can be used to scale the entity up or down.</td>
     <td>Can be used to scale the entity up or down.</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_client" data-tt-parent="root">Behaviors</div></td>
    <td>array of object</td>
    <td></td>
    <td>A behavior adds custom abilities to the entity.</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_client_info" data-tt-parent="p_behaviors_client" data-invisible="true"></div></td>
    <td colspan="3">
<table class="wikitable">
  <tr style="background-color: grey;">
    <th style="background-color: grey;">Name</th>
    <th style="background-color: grey;">Explanation</th>
<th style="background-color: grey;">Properties</th>
  </tr>
  <tr>
    <td>'''collectitems'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''health'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''hunger'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''breathe'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''playerphysics'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''controlledphysics'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''taskai'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''interpolateposition'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''despawn'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''grow'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''multiply'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''aimingaccuracy'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''emotionstates'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''repulseagents'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''tiredness'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''nametag'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''placeblock'''</td>
<td></td>
<td></td>
  </tr>
  <tr>
    <td>'''passivephysics'''</td>
<td></td>
<td></td>
  </tr>
</table>
</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 534: Line 642:
   </tr>
   </tr>
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_attributes_info" data-tt-parent="p_attributes_server" data-invisible="true"></div></td>
     <td scope="row"><div class="tt" data-tt-id="p_attributes_server_info" data-tt-parent="p_attributes_server" data-invisible="true"></div></td>
     <td colspan="3">
     <td colspan="3">
Extra attributes added to the entity for server use only. Those are final and cannot be modified. It's a good way to keep things organized and and modifiable. These can be used by behaviors or the entity class:
Extra attributes added to the entity for server use only. Those are final and cannot be modified. It's a good way to keep things organized and and modifiable. These can be used by behaviors or the entity class:
Confirmedusers, editor, Administrators
886

edits