mojira.dev
MCPE-234166

Lightning Rod stays white after being hit by lightning

hello there mojang i have found a new bug in 1.21.131. this bug is not causing any issues but some people might not like it its not much to explain

a copper rod will become white forever even after relogging.

steps to reproduce this issue

  1. place a piston facing up

  2. place a solid block right next to it

  3. place redstone on the solid block

  4. place any copper rod on top of the piston

  5. set weather to rain or wait for it to rain

  6. use a channeling trident on the rod.

  7. notice the animation when the rod is hit is white for a second

  8. break the redstone

  9. notice the rod is still white

expected result

if thats a new animation of it becoming white you should add a code that makes it so if lighting is not hitting it for a certain time it will revert

if that's a glitched effect then it should not become white

this is not a bad glitch but i still want to report it just incase here's a code i think might help

// Logic suggestion for report: Ensure state resets on Redstone/Weather update
if (!is_struck_by_lightning && !is_powered_by_redstone) {
this->setBlockState("minecraft:powered", false);
this->updateRenderCache();
}

Attachments

Comments 2

I cannot reproduce this. Could you attach a video of the issue?

ok here you go


}

evan

(Unassigned)

1539669

Confirmed

Multiple

1.21.131 Hotfix, 26.0.26 Preview

Retrieved