Player's health

Started by minheragon12345 on

Topic category: Help with MCreator software

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 133
Player's health

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

Active 10 months ago
Joined Jun 2019
Points:
2602

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
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.

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

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

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

Active 10 months ago
Joined Jun 2019
Points:
2602

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
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?

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 133
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

Active 10 months ago
Joined Jun 2019
Points:
2602

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
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

Active 10 months ago
Joined Jun 2019
Points:
2602

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
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

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 133
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 :((

Active 4 years ago
Joined Aug 2019
Points:
748

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 123
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.

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 133
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

Active 4 years ago
Joined Aug 2019
Points:
748

User statistics:

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

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

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 133
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 :((

Active 4 years ago
Joined Aug 2019
Points:
748

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 123
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.

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

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

LOl nice ! What about lower max health then XD

Active 4 years ago
Joined Aug 2019
Points:
748

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 123
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.