How do I add a negative effect to a item?

Started by Darth Feanor on

Topic category: Advanced modding

Last seen on 21:28, 29. Mar 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add a negative effect to a item?

So, when said item is held in the hand it is meant to give the player effects, strength and resistance work fine, but any negative effects do not apply. If I added wither to a item it turns the players hearts black but does no damage.

Last seen on 11:42, 2. Jan 2024
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, is the question still…
Sun, 04/05/2020 - 01:41

Hi, is the question still alive? besause I have an answer.
Make this in a new procedure:
make an if "item in entity's main hand = (your item)" do "Add potion with level X and duration X to provided entity: X" Put instead of X whatever you want.
If you make this and you can add this for "When item is in hand tick".
Numbers are not important.
I hope I could help you! Sorry for my bad english if I had/have.

Last seen on 11:42, 2. Jan 2024
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll hope I can help you!…
Sun, 04/05/2020 - 02:56

I'll hope I can help you! sorry for this mistake.