how i put potion effects on food?

Started by erro_shadow on

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:
  • MCreator plugins:
  • Comments:
how i put potion effects on food?

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

Last seen on 09:40, 10. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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