Table of Contents

Class EntitySidedProperties

Namespace
Vintagestory.API.Common.Entities
Assembly
VintagestoryAPI.dll
public abstract class EntitySidedProperties
Inheritance
EntitySidedProperties
Derived
Inherited Members
Extension Methods

Constructors

EntitySidedProperties(JsonObject[], Dictionary<string, JsonObject>)

public EntitySidedProperties(JsonObject[] behaviors, Dictionary<string, JsonObject> commonConfigs)

Parameters

behaviors JsonObject[]
commonConfigs Dictionary<string, JsonObject>

Fields

Attributes

The attributes of the entity type.

public ITreeAttribute Attributes

Field Value

ITreeAttribute

Behaviors

When this property is attached to an entity - the behaviors attached of entity.

public List<EntityBehavior> Behaviors

Field Value

List<EntityBehavior>

BehaviorsAsJsonObj

Entity type behaviors

public JsonObject[] BehaviorsAsJsonObj

Field Value

JsonObject[]

Methods

Clone()

Use this to make a deep copy of these properties.

public abstract EntitySidedProperties Clone()

Returns

EntitySidedProperties

loadBehaviors(Entity, EntityProperties, IWorldAccessor)

public void loadBehaviors(Entity entity, EntityProperties properties, IWorldAccessor world)

Parameters

entity Entity
properties EntityProperties
world IWorldAccessor