Table of Contents

Class EntityBehaviorContainer

Namespace
Vintagestory.GameContent
Assembly
VSEssentials.dll

A type of entity behavior that can be used to hold an inventory. This is not a usable entity behavior, but other entity behaviors may used this. Open in GitHub

[DocumentAsJson]
public abstract class EntityBehaviorContainer : EntityBehavior
Inheritance
EntityBehaviorContainer
Derived

Fields

dropContentsOnDeath (Optional) (Default: False)

Should the contents of this container be dropped on death?

[DocumentAsJson("Optional", "False", false)]
private bool dropContentsOnDeath

Field Value

bool