How to add more than 1024 hp to entity?

Started by vlonabuser on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add more than 1024 hp to entity?

I tred to add more hp by on initial spawn procedure, but it doesnt seem to be working

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
From what i know, minecraft…
Tue, 08/02/2022 - 14:30

From what i know, minecraft limits max health to 1024 hp. 

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add another mod called …
Tue, 08/30/2022 - 20:18

Add another mod called "Attributes Fix". It will allow you to go higher than 1024 to up 64K i believe?

But that's only in-game, MCreator will still only allow you to 1024. So spawn your mob with the /summon command and set its HP to whatever you want.

 

Ex: /summon creeper ~ ~ ~ {Health:30000,Attributes:[{Name:"generic.maxHealth",Base:30000b}]}
I think this is right.