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
place a piston facing up
place a solid block right next to it
place redstone on the solid block
place any copper rod on top of the piston
set weather to rain or wait for it to rain
use a channeling trident on the rod.
notice the animation when the rod is hit is white for a second
break the redstone
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();
}
I cannot reproduce this. Could you attach a video of the issue?