Class EntitySidedProperties
- Namespace
- Vintagestory.API.Common.Entities
- Assembly
- VintagestoryAPI.dll
public abstract class EntitySidedProperties
- Inheritance
-
EntitySidedProperties
- Derived
- Inherited Members
Constructors
EntitySidedProperties(JsonObject[])
public EntitySidedProperties(JsonObject[] behaviors)
Parameters
behaviors
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