How Do I Add More Hearts To the Player

Started by P5yui on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do I Add More Hearts To the Player

I Am Trying To Make Angel Fruit For My Mod

How Do I Add More Hearts To the Player 

And How Do I Lake It Stack Like

1st Time You Eat It You Get +1 Heart

2st Time You Eat It You Get +1 More Heart So It Makes 2 And ETC

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is assuming your…
Wed, 03/10/2021 - 05:18

This is assuming your developing for version 1.16+

There are 2 ways

#1 - Use the Potion effect "Health Boost" you have less control on how many hearts but it works

#2 - use commands to set the max health attribute. go in game and type /attribute to see all the ones you can change, you have to use commands in mcreator to change them (as far as I know)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I Cant Find The /attribute…
Thu, 03/11/2021 - 00:49

I Cant Find The /attribute Command

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The attribute command only…
Thu, 03/11/2021 - 06:04

The attribute command only works for MC 1.16, so you need to wait till the 2021 Update releases. I have a bug using Health Boost or Absorption caused by probably the Update Tick system, adding the effect each tick and recovering all the health, making you invincible. I hope you find a way to do that, with the new command i think is more configurable

 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
there is a plugin that can…
Sun, 03/21/2021 - 02:14

there is a plugin that can change the attributes

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok but how do i make it give…
Tue, 03/23/2021 - 12:10

Ok but how do i make it give 1 heart the first time, 2 the second time and 3 the third time

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use a variable  
Wed, 03/31/2021 - 07:34

use a variable