2
Adding Custom Sounds to Block Separate From Parent Block?volume_up
Hiya!
I'm attempting to change the sounds used by the Pink Petals block. The issue I'm running into is that the Pink Petals block gets its sounds from the Cherry Leaves block, and I would rather not change the sounds for both, just for the Pink Petals.
Does anyone know how I can achieve this? Where I can have custom sounds for the Pink Petals that do not affect the Cherry Leaves?
The closest I've gotten is that I've managed to add custom sounds to the Pink Petals without it affecting the Cherry Leaves, but the Cherry Leaves sounds are still there for the Pink Petals, as in it plays either the custom sound or the vanilla seemingly randomly.
Thanks :)
I'm attempting to change the sounds used by the Pink Petals block. The issue I'm running into is that the Pink Petals block gets its sounds from the Cherry Leaves block, and I would rather not change the sounds for both, just for the Pink Petals.
Does anyone know how I can achieve this? Where I can have custom sounds for the Pink Petals that do not affect the Cherry Leaves?
The closest I've gotten is that I've managed to add custom sounds to the Pink Petals without it affecting the Cherry Leaves, but the Cherry Leaves sounds are still there for the Pink Petals, as in it plays either the custom sound or the vanilla seemingly randomly.
Thanks :)
Create an account or sign in to comment.
2
this depends on whether you're talking about bedrock or java edition. on bedrock, it'd be trivial - you'd just have to change its "sound" field in blocks.json (although, you'd have to use an existing sound type). on java edition, you'd have to mod the game.
if you're using java edition, that might be your issue with the vanilla sounds sticking around. sound events merge their information between resource packs on java edition, so if you want to completely replace vanilla, you need to add a boolean property "replace" and set it to true.
if you're using java edition, that might be your issue with the vanilla sounds sticking around. sound events merge their information between resource packs on java edition, so if you want to completely replace vanilla, you need to add a boolean property "replace" and set it to true.
Ahh, yeah I'm working with Java edition so that makes sense. Thanks!