I need help Coding my custom food mod

Started by ProPixel on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help Coding my custom food mod

I made custom food, where when you eat it it will tell you the nearest village using "/locate village" but When I eat the custom food it doesn't do anything,  is there a say command that will /say the coords to @a?? 

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trigger "when food is eat"…
Mon, 05/02/2022 - 15:26

Trigger "when food is eat"

run the command /locate village to the name of event/target entity

If it's that you have said I don't understand why it's doesn't work.