Add potion effect when item in hand

Started by Taffy511 on

Topic category: Help with modding (Java Edition)

Last seen on 18:01, 13. Sep 2019
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add potion effect when item in hand

I'm trying to figure out how to add a potion effect to the player when an item is in hand and remove it when it isnt in hand. (Example: Add Slowness 2 to Player when Player holds a sword, and remove it when Player switches to a different item) I havent found anything on the MCreator application nor the MCreator website on this. 

Use on item in hand tick…
Fri, 09/13/2019 - 17:27

Use on item in hand tick trigger and add potion for one tick on this trigger.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei