How Do I Add More Hearts To the Player

Started by P5yui on Wed, 03/10/2021 - 02:29

Topic category: Help with modding (Java Edition)

Last seen on 02:45, 24. Mar 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How Do I Add More Hearts To the Player
Wed, 03/10/2021 - 02:29

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

Last seen on 04:20, 20. May 2022
Joined Apr 2020
Points:

User statistics:

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

Last seen on 02:45, 24. Mar 2022
Joined Mar 2021
Points:

User statistics:

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

I Cant Find The /attribute Command

Last seen on 04:24, 12. May 2022
Joined Feb 2016
Points:

User statistics:

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

 

Last seen on 22:36, 27. Apr 2021
Joined Oct 2020
Points:

User statistics:

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

there is a plugin that can change the attributes

Last seen on 19:07, 12. May 2022
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
DTM's Toolkit is the plugin
Sun, 03/21/2021 - 21:54

DTM's Toolkit is the plugin

Last seen on 02:45, 24. Mar 2022
Joined Mar 2021
Points:

User statistics:

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

Last seen on 18:13, 12. Oct 2021
Joined Mar 2021
Points:

User statistics:

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

use a variable