Table of Contents

Class BEBehaviorAttractsLightning

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Redirects nearby lightning strikes to this block if it is exposed to the sky and is higher than nearby blocks. Defined with the "AttractsLightning" code. Open in GitHub

[DocumentAsJson]
public class BEBehaviorAttractsLightning : BlockEntityBehavior
Inheritance
BEBehaviorAttractsLightning

Examples

"entityBehaviors": [
    {
        "name": "AttractsLightning",
        "properties": {
            "artificialElevation": 5,
            "elevationAttractivenessMultiplier": 2
        }
    }
],

Fields

Properties (Required)

The properties for this behavior.

[DocumentAsJson("Required", "", false)]
private BEBehaviorAttractsLightning.ConfigurationProperties configProps

Field Value

BEBehaviorAttractsLightning.ConfigurationProperties