Table of Contents

Class EntityBehaviorRepulseAgents

Namespace
Vintagestory.GameContent
Assembly
VSEssentials.dll

Allows the entity to be pushed by or push other entities using a spherical/cylindrical repulsion area.
Uses the "repulseagents" code Open in GitHub

[DocumentAsJson]
public class EntityBehaviorRepulseAgents : EntityBehavior
Inheritance
EntityBehaviorRepulseAgents
Derived

Examples

"behaviors": [
 {
    "code": "repulseagents",
    "movable": false
 }
]

Fields

movable (Optional) (Default: true)

If true, this entity can be pushed by other entities. If false, it can't

[DocumentAsJson("Optional", "true", false)]
protected bool movable

Field Value

bool