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

Started by DJ3107 on Mon, 06/06/2022 - 13:28

Topic category: Help with modding (Java Edition)

Last seen on 11:43, 11. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to add food that give you effect when you eat it? (1.18)
Mon, 06/06/2022 - 13:28

help pls (sorry for my english)

Last seen on 10:22, 10. Jul 2022
Joined Jun 2022
Points:

User statistics:

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

Last seen on 11:43, 11. Jun 2022
Joined Jun 2022
Points:

User statistics:

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

thank! :)