In editing mob attributes, I've noticed something I found kind of odd. Does anyone know whether or not a creature somehow retains the information it has 'at the time of spawning'?
In other words, say you change a bear's health to 10 and it's damage to 3 and it's damage tier to 0. And it spawned prior to your changes. Do mobs update when the world restarts, or do they keep their original attributes? Cuz that's what happened with a bear the other day when I tested this. On a brand new spawned world, all the mobs had the correct health, damage, etc. But on my existing (1.18.1) world, it seemed like some animals would be correctly updated and some would not, which led me to believe that creatures seem to not update from when they are spawned. (Dunno for sure, that's why I'm asking.)
In a separate but possibly connected thing, I've edited out the 'poison' part from mushrooms, and they work fine... raw, but when I cook them, they revert back to poisonous! lol!
This seems to also be tied into things that are pre-existing 'not updating.'
Does anyone know offhand how the updating (or lack thereof) with existing spawns and items work?