Started by
9Tea
on
Topic category: Help with Minecraft modding (Java Edition)
in the current version of the mob creation screen, if i try and go ove 100 health it just resets me back to 5, any way to fix this?
Topic category: Help with Minecraft modding (Java Edition)
in the current version of the mob creation screen, if i try and go ove 100 health it just resets me back to 5, any way to fix this?
yeah, you need to code it in. for ex:
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(399D);
this line with the number 399 makes my mob have 500 health
play around with numbers until you get what you want. Only edit this line.
@#1 can you change the max health of single mosnter with this? or do you know another method?
@#1.1 this changes the mob's max health, Hmm, what version are you using? I'm using 1.7.10. The format of the code is probably the same. Do you mind posting the code?
You can edit mobs health at the code.