Posted November 5, 20204 yr I want to make a food item where if you eat it, a song plays. How can you do that?
November 5, 20204 yr Override the onItemUseFinish method in your item class and use World#playSound Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.