I'm making a mob with 2500 hp and it's health was capped at 1024, so naturally I decided to go and change it in the code editor.
I set it to 2500 in the code and when I go to test it has 1024 health, but the code still says 2500.
Any help?
Issue comments
You might be able to alter it with Reflection Java system, but you will need to get some Java knowledge to do this, plus it is hacky and can lead to unpredicted results as the mob system seems to be designed with 1024 being a max value.
This is how other mods do it, but this is not really a correct solution.
Entity health is capped at 1024 by attributes system in Minecraft.