Lightning rod

block survival:lightningrod · from game

Attracts lightning. Place up to 40 blocks above ground for maximum effect.

Game logic (C#)

The C# classes this block's JSON definition hands its behavior to. Files link to vssurvivalmod on GitHub, pinned to the commit the mapping was made from.

RoleName in JSONC# typeSource file
Behavior UnstableFalling BlockBehaviorUnstableFalling BlockBehavior/BehaviorUnstableFalling.cs
Behavior Lockable BlockBehaviorLockable BlockBehavior/BehaviorLockable.cs
Block entity behavior AttractsLightning BEBehaviorAttractsLightning BlockEntityBehavior/BEBehaviorAttractsLightning.cs

Produced by (1)

Filters
RecipeCategoryIngredients → output
Lightning rod (Item Recipe) grid

Used in (1)

Filters
RecipeCategoryIngredients → output
Copper bits (Item Recipe) grid

Found in structures (1)

StructureKind
Tobias cave area storystructure

This confirms the schematic(s) contain this code somewhere, not where or how many times -- the per-instance block-entity decoding used for tapestries isn't run for every content type.