Make a mob with over 100 health?

Started by 9Tea on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.

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?

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?

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.