Table of Contents

Class EntityServerProperties

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

Constructors

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

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

Parameters

behaviors JsonObject[]
commonConfigs Dictionary<string, JsonObject>

Fields

SpawnConditions

The conditions for spawning the entity.

public SpawnConditions SpawnConditions

Field Value

SpawnConditions

Methods

BehaviorsWithEarlyLoadCollectibleMappings(Entity, IWorldAccessor)

Returns a list of all entity behaviors that return true for ShouldEarlyLoadCollectibleMappings
Note, these behaviors are temporarily created in this list only, not attached to the entity, and should be discarded by the caller

public List<EntityBehaviorAndConfig> BehaviorsWithEarlyLoadCollectibleMappings(Entity entity, IWorldAccessor world)

Parameters

entity Entity
world IWorldAccessor

Returns

List<EntityBehaviorAndConfig>

Clone()

Makes a copy of this EntiyServerProperties type

public override EntitySidedProperties Clone()

Returns

EntitySidedProperties