Json:entity:behavior: Difference between revisions

From Vintage Story Wiki
(Created page with "<table class="wikitable"> <tr style="background-color: grey;"> <th style="background-color: grey;">Name</th> <th style="background-color: grey;">Explanation</th> <t...")
 
No edit summary
Line 3: Line 3:
     <th style="background-color: grey;">Name</th>
     <th style="background-color: grey;">Name</th>
     <th style="background-color: grey;">Explanation</th>
     <th style="background-color: grey;">Explanation</th>
<th style="background-color: grey;">Properties</th>
    <th style="background-color: grey;">Properties</th>
    <th style="background-color: grey;">Side</th>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''collectitems'''</td>
     <td><code>collectitems</code></td>
<td></td>
<td>The entity collections items laying around on the ground. Used by player</td>
<td></td>
<td></td>
<td>Server</td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''health'''</td>
     <td><code>health</code></td>
<td></td>
<td>Applies health to the entity. Means the entity can be hurt as well.</td>
<td></td>
<td>currenthealth, maxhealth, basemaxhealth</td>
<td>Server</td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''hunger'''</td>
     <td><code>hunger</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''breathe'''</td>
     <td><code>breathe</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''playerphysics'''</td>
     <td><code>playerphysics</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''controlledphysics'''</td>
     <td><code>controlledphysics</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''taskai'''</td>
     <td><code>taskai</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''interpolateposition'''</td>
     <td><code>interpolateposition</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''despawn'''</td>
     <td><code>despawn</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''grow'''</td>
     <td><code>grow</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''multiply'''</td>
     <td><code>multiply</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''aimingaccuracy'''</td>
     <td><code>aimingaccuracy</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''emotionstates'''</td>
     <td><code>emotionstates</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''repulseagents'''</td>
     <td><code>repulseagents</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''tiredness'''</td>
     <td><code>tiredness</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''nametag'''</td>
     <td><code>nametag</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''placeblock'''</td>
     <td><code>placeblock</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
   <tr>
   <tr style="vertical-align: top;">
     <td>'''passivephysics'''</td>
     <td><code>passivephysics</code></td>
<td></td>
<td></td>
<td></td>
<td></td>
   </tr>
   </tr>
</table>
</table>

Revision as of 11:12, 13 November 2018

Name Explanation Properties Side
collectitems The entity collections items laying around on the ground. Used by player Server
health Applies health to the entity. Means the entity can be hurt as well. currenthealth, maxhealth, basemaxhealth Server
hunger
breathe
playerphysics
controlledphysics
taskai
interpolateposition
despawn
grow
multiply
aimingaccuracy
emotionstates
repulseagents
tiredness
nametag
placeblock
passivephysics