Giving A Certain Potion Effect While Holding a specific item

Started by congueror on Wed, 11/21/2018 - 15:15

Topic category: Advanced modding

Last seen on 12:37, 17. Nov 2019
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Giving A Certain Potion Effect While Holding a specific item
Wed, 11/21/2018 - 15:15

So I am trying to make a mod like everyone here right? So I have a question.

How can I make it so when I hold a specific item it gives the player a potion effect. The Item is a custom tool (Sword to be exact). I am using MCreator 1.8.1 So i can only use procedures. Please if possible don't give me Custom Coding as the last time I tried doing that it broke my whole mod, So yea. Thanks in Advance to everyone who helps me

Last seen on 22:00, 27. Sep 2020
Joined Apr 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make procedure that will be…
Sun, 12/02/2018 - 15:57

Make procedure that will be checking if this item is in Main Hand and if yes than give potion effect
than assign it to On Item In Inventory Tick Update Event for your item

Last seen on 12:37, 17. Nov 2019
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'll try that thx
Wed, 12/19/2018 - 16:49

I'll try that thx