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

Started by MCmodboi on

Topic category: Help with Minecraft modding (Java Edition)

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)

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>