Player's health

Started by minheragon12345 on Tue, 11/19/2019 - 12:12

Topic category: Help with MCreator software

Last seen on 12:43, 19. Sep 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Player's health
Tue, 11/19/2019 - 12:12

Is it possible to change player's max health without health boost or gears ? If not can you guys add this ?

Last seen on 02:57, 31. Aug 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I believe there is a command…
Tue, 11/19/2019 - 12:56

I believe there is a command option for this while wearing armor or holding a specific item.

Last seen on 12:43, 19. Sep 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yeah,that's why I'm asking…
Tue, 11/19/2019 - 13:01

Yeah,that's why I'm asking without gears

Last seen on 02:57, 31. Aug 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
then I don't think so. Why…
Tue, 11/19/2019 - 13:08

then I don't think so. Why can't you use health boost?

Last seen on 12:43, 19. Sep 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I tried :(( Why dont you try…
Tue, 11/19/2019 - 13:10

I tried :(( Why dont you try put health boost to an armor, then You will get what i mean :(( It's not regen

Last seen on 02:57, 31. Aug 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Check if player is wearing…
Tue, 11/19/2019 - 13:15

Check if player is wearing armor, only give them health boost for one tick.

health boost is also not damge absorption

Try

Last seen on 02:57, 31. Aug 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That's probably the issue,…
Tue, 11/19/2019 - 13:15

That's probably the issue, if it is not, you can open a ticket on the issue tracker

Last seen on 12:43, 19. Sep 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Nah, I think it's not an…
Tue, 11/19/2019 - 13:17

Nah, I think it's not an issue, it's bcs that's how minecraft works. Every time health boost ran out, the health turn back to how it was, or ticks you say, the health boost will be overwrited every tick :((

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Try making an if statement…
Tue, 11/19/2019 - 15:40

Try making an if statement in the procedure to test if the player has health boost, and if they don't then give health boost for 20000000 ticks.

Last seen on 12:43, 19. Sep 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I tried too XD after 2***…
Tue, 11/19/2019 - 15:41

I tried too XD after 2*** ticks you said it will

be back to normal

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If you make it long enough,…
Tue, 11/19/2019 - 15:51

If you make it long enough, it will barely be a problem.

Last seen on 12:43, 19. Sep 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
But if I made the health so…
Tue, 11/19/2019 - 15:52

But if I made the health so high then after those ticks about 27m, I will go to 0 then regen again :((

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You could make a custom…
Tue, 11/19/2019 - 15:59

You could make a custom potion effect with a procedure giving health boost for when potion started/applied, and when the potion ends set a NBT value for the player that is the player's health.

When the potion is given for the second time set the player's health to this NBT value after giving the health boost.
The health boost might need to be 1 tick longer.

Last seen on 12:43, 19. Sep 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
LOl nice ! What about lower…
Tue, 11/19/2019 - 16:01

LOl nice ! What about lower max health then XD

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Unless it's using the /give…
Tue, 11/19/2019 - 16:04

Unless it's using the /give command, I don't know how to do lower max health. You'd probably need custom code for it.