mojira.dev
MC-223040

Lightning can deoxidize copper in spawn protection

The Bug:

Lightning can deoxidize copper in spawn protection.

Steps to Reproduce:

  1. Start a server, join it, give operator permissions to yourself, and switch into creative mode.

  2. Set the world spawn to your current location and summon a large area of oxidized copper blocks below your feet by using the commands provided below.

    /setworldspawn ~ ~ ~
    /fill ~5 ~-1 ~5 ~-5 ~-1 ~-5 minecraft:oxidized_copper
  3. Switch into survival mode, remove your operator permissions, and grant anyone else with them in order to activate spawn protection.

  4. Summon some lightning at your position by using the command provided below in the server console.

    /execute at @p run summon minecraft:lightning_bolt ~ ~ ~
  5. Take note as to whether or not lightning can deoxidize copper in spawn protection.

Observed Behavior:

Copper is deoxidized.

Expected Behavior:

Copper would not be deoxidized.

Comments 4

Because players are not affecting it, it is not protected. WAI.

But I think players can affect it too by using a channeling trident.

Yes, players can affect it by using a channeling trident.

That is separately tracked at MC-225175.

Given the resolution of MC-249204, MC-224203, and MC-224867, it is highly likely that this behavior is working as intended despite the assigned "Mojang Priority". This comment from @unknown states that spawn protection is supposed to prevent any kind of player interaction, and since lightning can naturally hit spawn protection, this is most likely intentional behavior.

Avoma

(Unassigned)

Confirmed

Platform

Low

Block states

spawn-protection

21w14a, 21w18a, 21w19a, 21w20a, 1.17.1, ..., 1.19.3, 1.19.4, 1.20.1, 1.21, 1.21.4

Retrieved