Table of Contents

Class BEBehaviorTrapDoor

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

A block entity behavior for a trapdoor. Requires BlockBehaviorTrapDoor on a block to work. Defined with the "TrapDoor" code. Open in GitHub

[DocumentAsJson]
[AddDocumentationProperty("easingSpeed", "Affects animation speed of trapdoor opening or closing", "System.Single", "Optional", "10", true)]
public class BEBehaviorTrapDoor : BEBehaviorAnimatable
Inheritance
BEBehaviorTrapDoor

Examples

"entityBehaviors": [
 { "name": "TrapDoor" }
],
...
"behaviors": [
 { "name": "TrapDoor" }
],

Properties

easingSpeed (Optional) (Default: 10)

Affects animation speed of trapdoor opening or closing

Property Value

Single