Started by
erawebt
on
Topic category: Help with Minecraft modding (Java Edition)
how could i make a drink that doesn't give the crumb effect when you eat something and also has the drinking sound?
Topic category: Help with Minecraft modding (Java Edition)
how could i make a drink that doesn't give the crumb effect when you eat something and also has the drinking sound?
The only way I think this is easily done is by making it a potion. Make the effect of the potion do whatever you want the drink to have.
^ The problem with that is then you can't have custom items, and are forced to have splash and lingering potions, as well as a tipped arrow.
I've tried setting a food item's animation to drink but that does nothing.
^ That issue managed to fix itself, setting the animation to drink makes it work now, however the end of the drinking animation still plays an eating sound. Changing the item use time doesn't help either.
This was never a problem for me until the most recent update!! What happened??
You can use an nbt timer while player is using the item and play the drinking sound effect every 40 ticks. Works identical to normal drinking.
Hi, Holeless, i am begging you to share the procedure file and the instructions. I am working on some juices for my mod, and your solution seems perfect.👌