Skip to content

Configurable Block Map for Lightning Transforms Blocks#1764

Merged
granny merged 23 commits into
PurpurMC:feat/lightning-affects-blocksfrom
GideonWhite1029:feat/lightning-affects-blocks
Jul 8, 2026
Merged

Configurable Block Map for Lightning Transforms Blocks#1764
granny merged 23 commits into
PurpurMC:feat/lightning-affects-blocksfrom
GideonWhite1029:feat/lightning-affects-blocks

Conversation

@GideonWhite1029

Copy link
Copy Markdown

Based on #1422 by @granny.

Replaces hardcoded block transformations with a configurable block-map, allowing server admins to define any block-to-block transformation caused by lightning strikes. The nearby-blocks effect now applies to all blocks defined in the map, not just sand.

gameplay-mechanics:
  lightning-transforms-blocks:
    enabled: true
    nearby-blocks:
      enabled: true
      max-depth: 65
      max-iteration: 65
    block-map:
      minecraft:water: minecraft:stone
      minecraft:sand: minecraft:glass
      minecraft:stone: minecraft:obsidian

granny and others added 23 commits March 16, 2026 21:35
@granny granny changed the title Block map for Lightning Transforms Blocks Configurable Block Map for Lightning Transforms Blocks Jul 8, 2026
@granny
granny merged commit f2da14f into PurpurMC:feat/lightning-affects-blocks Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants