how to add food that give you effect when you eat it? (1.18)

Started by DJ3107 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to add food that give you effect when you eat it? (1.18)

help pls (sorry for my english)

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create an item trigger …
Mon, 06/06/2022 - 13:59

Create an item trigger "player finishes using item"

and enter procedure execute command "effect give @p [effect name] [time [level]

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank! :)
Mon, 06/06/2022 - 14:25

thank! :)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can also use "add potion…
Sat, 12/14/2024 - 11:54

You can also use "add potion" procedure.
Add more of the "add potion" if you want multiple effects.