Adding Effect if player has a spezial item

Started by Zaki Zuku on

Topic category: Help with modding (Java Edition)

Last seen on 18:56, 16. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding Effect if player has a spezial item

i made a opponend, and if you kill the opponend you get an item. So, and until here is everithig clear, but how can i make that the prices of villagers lower if you have the item, so that they are insanely low? I thought abbout hero of the village, but i didn't find out how to apply an effect if the player has a speciffic item in his inventory.

 

THX for help

Btw sry for grammar and other mistakes

Last seen on 03:16, 8. Jun 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am pretty new, so I don't…
Fri, 07/22/2022 - 22:37

I am pretty new, so I don't know for sure, but have you tried the "when inventory tick" trigger.