Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-201982

Lightning bolts get saved to chunk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.3, 1.16.4, 20w51a, 21w03a, 1.16.5, 21w13a, 1.17.1, 1.18.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b
    • None
    • Community Consensus
    • Entities

      Since selectors can target lightning bolts, they get saved to chunks.
      If you use this command setup for a while, and then shut it down and load some chunks, lightning will load in in the newly loaded chunks, looking very odd with the constant flashing of the sky.

      summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["lightning"],Duration:1}
      spreadplayers ~ ~ 1 300 false @e[tag=lightning,type=minecraft:area_effect_cloud,limit=1]
      execute at @e[tag=lightning,type=minecraft:area_effect_cloud,limit=1] run summon minecraft:lightning_bolt ~ ~ ~

      Do note, that this setup is only a way to trigger it on demand; it can happen with natural lightning strikes too, just much more hard to do so.

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: