Custom health and damage question.

Started by Stickles376 on

Topic category: Advanced modding

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom health and damage question.

I am making a mod that changes the combat. I would like to know how to do 3 things: How do I change someone's default health, how do I make it so mobs only do 1 heart of damage, and how do I add items that permanently increase your health by one heart (health boost effect doesn't work).

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to install the…
Wed, 04/19/2023 - 07:22

You need to install the Plugin Attributes. This allows you to change different Attributes of a Entity.

Use "base value of Attribute" Procedure Block to change the Default Value of an Entity.

Also check this Topic I made to see which Attributes are Severside Only or not.