how i put potion effects on food?

Started by erro_shadow on

Topic category: Help with Minecraft modding (Java Edition)

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

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