Modding:Basic Entity: Difference between revisions

From Vintage Story Wiki
m
m (change syntax highlighting?)
Line 21: Line 21:
<code>hitboxSize</code>: The size of the hitbox.
<code>hitboxSize</code>: The size of the hitbox.


<syntaxhighlight lang="c#">
<syntaxhighlight lang="json">
   "hitboxSize": {
   "hitboxSize": {
     "x": 0.4,
     "x": 0.4,
Line 29: Line 29:


<code>deadHitboxSize</code>: The size of the hitbox when the entity has died.
<code>deadHitboxSize</code>: The size of the hitbox when the entity has died.
<syntaxhighlight lang="c#">
<syntaxhighlight lang="json">
   "deadHitboxSize": {
   "deadHitboxSize": {
     "x": 0.4,
     "x": 0.4,
Confirmedusers
27

edits