Make a mob with over 100 health?

Started by 9Tea on

Topic category: Help with modding (Java Edition)

Last seen on 02:46, 3. May 2018
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a mob with over 100 health?

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?

Last seen on 23:21, 14. Apr 2019
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah, you need to code it in.
Fri, 12/30/2016 - 01:10

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.

Last seen on 02:46, 3. May 2018
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:yeah, you need to code it in.
Fri, 12/30/2016 - 01:13

@#1 can you change the max health of single mosnter with this? or do you know another method?

Last seen on 23:21, 14. Apr 2019
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:yeah, you need to code it in.
Fri, 12/30/2016 - 03:15

@#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?

Last seen on 19:38, 5. Oct 2018
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can edit mobs health at
Fri, 12/30/2016 - 18:11

You can edit mobs health at the code.