how i put potion effects on food?

Started by erro_shadow on Thu, 07/08/2021 - 17:15

Topic category: Help with modding (Java Edition)

Last seen on 18:09, 3. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how i put potion effects on food?
Thu, 07/08/2021 - 17:15

I want to make an apple that cures and protects you, but you get blind

Last seen on 22:25, 20. Sep 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if this is a custom item…
Thu, 07/08/2021 - 22:57

if this is a custom item then go to triggers and select the "when food eaten" select the "add potion effect" you can make it give you resistance 2 for 10 seconds but you become blind