#Drinking milk sound
10 messages · Page 1 of 1 (latest)
have you checked how vanilla does it
no, I have not
(this question should inspire you to have a look at vanilla milk bucket code)
What I want to know, is if fabric has a method to do that. If I wanted to jump straight to vanilla code I would use mcp
or mixins
fabric provides APIs where vanilla code isn't flexible enough
in general you'll spend a lot more time taking inspiration from vanilla and using its abstractions rather than looking for what you need in Fabric API
I asked to look at vanilla because the solution might be as simple as overriding a method in your item class or using a method to set the sound during registration
honestly reading the vanilla code is the best option if ur decent in java