How to make bleeding procedure

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

Topic category: Help with modding (Java Edition)

Last seen on 02:26, 29. Nov 2020
Joined Feb 2019
User points:

User statistics:

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

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 02:26, 29. Nov 2020
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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 20:22, 29. Nov 2020
Joined Oct 2017
User points:

User statistics:

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