Add potion effect when item in hand

Started by Taffy511 on Fri, 09/13/2019 - 17:01

Topic category: Help with modding

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Add potion effect when item in hand
Fri, 09/13/2019 - 17:01

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: