Problem with Right Clicking Procedure

Started by cactushroom on Wed, 11/16/2022 - 23:16

Topic category: Help with MCreator software

Last seen on 04:47, 17. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Problem with Right Clicking Procedure
Wed, 11/16/2022 - 23:16

I have been trying to create a procedure so that there is a random chance that you will get certain effects when you right click an item I made. I got that part working but the issue here is that it gives every effect to the player at once. The attached image is the current procedure that I made.

Last seen on 04:47, 17. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
One of the solutions I tried…
Thu, 11/17/2022 - 02:38

One of the solutions I tried was changing the target entity to a source entity but that just created more problems than it solved.

Last seen on 02:40, 22. Jan 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Try using the potion …
Thu, 11/17/2022 - 07:21

Try using the potion  command since it's more accurate.