Json:entity:behavior

From Vintage Story Wiki
Revision as of 09:24, 14 November 2018 by CreativeMD (talk | contribs)
Name Explanation Properties Side
collectitems The entity collections items laying around on the ground. Used by player Server
health Applies custom health to the entity. Means the entity can be hurt as well. currenthealth = 20, maxhealth = 20, basemaxhealth = 20 Server
hunger Adds saturation and hunger, the entity needs to eat in order to stay alive. currentsaturation = 1200, maxsaturation = 1200, saturationlossdelay = 60 * 24, currentfruitLevel = 0, currentvegetableLevel = 0, currentgrainLevel = 0, currentproteinLevel = 0, currentdairyLevel = 0 Server
breathe The entity will need to breathe and therefore suffocate in other blocks (for example sand). Server
playerphysics stepHeight = 0.6 Universal
controlledphysics stepHeight = 0.6 Universal
taskai
interpolateposition Interpolates entity position and rotate. Smooths out the animations. It's a visual effect, therefore not available on server side. Client
despawn minPlayerDistance, belowLightLevel, minSeconds = 30 Server
grow
multiply
aimingaccuracy
emotionstates
repulseagents
tiredness
nametag
placeblock
passivephysics