question: how do i summon an entity when i eat a custom food?

Started by MCmodboi on

Topic category: Help with modding (Java Edition)

Last seen on 00:00, 23. Apr 2022
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
question: how do i summon an entity when i eat a custom food?

so, i wanna make it so that a boss is spawned when i eat a custom food, how do i do that? (1.17.1 forge mod btw)

Last seen on 01:25, 4. May 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you already created theā€¦
Sat, 03/19/2022 - 07:23

If you already created the custom food ... In triggers tab >> When food eaten >> (command)===>> summon ~ ~ ~ <mod_id:desired_entity>