How to add more than 1024 hp to entity?

Started by vlonabuser on Tue, 08/02/2022 - 13:47

Topic category: Help with modding (Java Edition)

Last seen on 11:45, 5. Sep 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to add more than 1024 hp to entity?
Tue, 08/02/2022 - 13:47

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

Last seen on 08:41, 3. Oct 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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. 

Last seen on 22:29, 26. Sep 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.