Table of Contents

Class BlockEntityBehaviorType

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Allows adding behaviors for block entities. Remember, block entities are specific instances of blocks placed within the world. Open in GitHub

[DocumentAsJson]
public class BlockEntityBehaviorType
Inheritance
BlockEntityBehaviorType
Inherited Members
Extension Methods

Examples

"entityClass": "Brake",
"entityBehaviors": [
	{ "name": "MPBrake" },
	{ "name": "Animatable" }
],

Fields

Name

The ID for this block entity behavior.

[JsonProperty]
public string Name

Field Value

string

properties

A set of properties specific to the block entity behavior class.

[JsonProperty]
[JsonConverter(typeof(JsonAttributesConverter))]
public JsonObject properties

Field Value

JsonObject