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
Behaviors
When this property is attached to an entity - the behaviors attached of entity.
public List<EntityBehavior> Behaviors
Field Value
BehaviorsAsJsonObj
Entity type behaviors
public JsonObject[] BehaviorsAsJsonObj
Field Value
Methods
Clone()
Use this to make a deep copy of these properties.
public abstract EntitySidedProperties Clone()
Returns
loadBehaviors(Entity, EntityProperties, IWorldAccessor)
public void loadBehaviors(Entity entity, EntityProperties properties, IWorldAccessor world)
Parameters
entity
Entityproperties
EntityPropertiesworld
IWorldAccessor