Class BEBehaviorDoor
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
A block entity behavior for a door. Requires BlockBehaviorDoor on a block to work. Defined with the "Door" code. Open in GitHub
[DocumentAsJson]
[AddDocumentationProperty("breakOnTriggerChance", "Affects the chance of door breaking and dropping itself upon using it", "System.Single", "Optional", "0", true)]
[AddDocumentationProperty("easingSpeed", "Affects animation speed of door opening or closing", "System.Single", "Optional", "10", true)]
public class BEBehaviorDoor : BEBehaviorAnimatable
- Inheritance
-
BEBehaviorDoor
Examples
"entityBehaviors": [
{ "name": "Door" }
],
...
"behaviors": [
{ "name": "Door" }
],
Properties
breakOnTriggerChance (Optional) (Default: 0)
Affects the chance of door breaking and dropping itself upon using it
Property Value
easingSpeed (Optional) (Default: 10)
Affects animation speed of door opening or closing