Need help making a procedure.

Started by _Sam_55 on

Topic category: Help with modding (Java Edition)

Last seen on 04:16, 8. Sep 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help making a procedure.

So, I've been working on making a Sword that gains a short buff (About 3-5 seconds) of strength and jump boost after killing a mob. I was wondering if anyone has an idea on how to do this. I've made several attempts but can't quite figure out what I'm doing wrong.

Last seen on 04:16, 8. Sep 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry if this is the wrong…
Tue, 09/07/2021 - 03:02

Sorry if this is the wrong topic.

Last seen on 12:37, 30. Mar 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a new procedure for…
Tue, 09/07/2021 - 04:28

Make a new procedure for your tool "When living entity is hit with tool". Then in the procedure, make it check if the health of the event/target entity (the entity that was hit) is less than 0.1. If it is, it'll give the effects you want to the source entity.