How to make bleeding procedure

Started by Zexmus on Thu, 08/01/2019 - 12:01

Topic category: Help with MCreator modding

Last seen on 03:18, 23. Sep 2019
Joined Feb 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to make bleeding procedure
Thu, 08/01/2019 - 12:01

Just trying to make a bleeding procedure, When you get attacked by a mob it will slowly damage you until you use a certain item. Something like bandages

Last seen on 18:53, 23. Sep 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
You could use entity NBT to…
Thu, 08/01/2019 - 14:54

You could use entity NBT to store state if bleeding or not to the player and then use global trigger player tick even and check for the NBT variable state. If true, hurt player. This variable would then be reset by item procedure that would set it to false.

Last seen on 03:18, 23. Sep 2019
Joined Feb 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ill try this out it sounds…
Fri, 08/02/2019 - 04:54

Ill try this out it sounds confusing but ill give it a try

Last seen on 07:33, 23. Sep 2019
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Do a potion effect named…
Fri, 08/02/2019 - 08:56

Do a potion effect named bleeding. Set when effect is aplied to randomly (1% is best) hurt you. It is possible. I did something similar.