Extra Hearts

Started by VazzionZockt on

Topic category: Feature requests and ideas for MCreator

Last seen on 18:08, 3. Jan 2020
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Extra Hearts

Ive tried a lot to make my own armor that gives extra hearts and i think it would be a very nice feature that when you create an amor you can decide how many extra heart(s) each part gives.

I think thats a nice idea please think about it!

PS: I am from germany, sorry for that Bad english

 

 

Last seen on 09:33, 25. Jun 2018
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use normal commands…
Thu, 06/21/2018 - 09:03

you can use normal commands. Here is an example for a chestplate that gives you 2 extra hearts -

/give @p minecraft:diamond_chestplate 1 0 {AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:4,Operation:0,UUIDLeast:663922,UUIDMost:503556,Slot:"chest"}]}

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a potion effect…
Thu, 06/21/2018 - 09:14

There is a potion effect called "health boost"

However if you use it with tick rate trigger it resets every tick. It can be fixed with global variables, however it will only work on singleplayer worlds

Last seen on 14:16, 23. Mar 2019
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Raol, can you tell me how to…
Fri, 03/01/2019 - 16:05

Raol, can you tell me how to do that?

Last seen on 02:46, 8. Nov 2019
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you say how we can do…
Sun, 03/31/2019 - 02:22

can you say how we can do that?

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tell me what global variable…
Sun, 03/31/2019 - 06:48

Tell me what global variable we should use?

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm sorry for my late reply,…
Sun, 03/31/2019 - 08:35

I'm sorry for my late reply, but I didn't see the comments.

Anyway, I think you can add this procedure to the armor:

If [get nbt variable of entity (armoreffect)] > 2400

    Do  

     Set nbt variable of entity armoreffect to 0

     Add potion effect health boost to provided entity

Set nbt variable of entity armoreffect to (nbt variable of entity armoreffect +1)

 

 

This way, the effect will be reset every 2 minutes. This means that if you drink a milk bucket you will get the effect back in a few time but also means your extra health will be removed every 2 minutes

 

(I am not sure if this works)

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to know What variable…
Sun, 03/31/2019 - 10:49

I want to know What variable name, type, we should use

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just use the procedure…
Mon, 04/01/2019 - 09:48

Just use the procedure blocks in the comment I wrote. You don't need to create new variables if you use the "get/set nbt tag...". These blocks automatically create nbt "variables".

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok... sorry I know nothing…
Mon, 04/01/2019 - 12:07

Ok... sorry

I know nothing about variables

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Don't worry. We learn new…
Mon, 04/01/2019 - 12:57

Don't worry. We learn new things every day :)

Last seen on 04:39, 12. Apr 2020
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can i have a step by step…
Wed, 06/26/2019 - 07:05

can i have a step by step instruction, i'm really new at this

Last seen on 00:35, 28. Feb 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there any way for the…
Thu, 02/24/2022 - 19:58

is there any way for the hearts to not be reset or is that something that cannot be fixed