It is very easy to reproduce this bug as reloading assets triggers the bug. I can stand next to minecarts making sound and once I reload the assets (F3+T) the only sound thats stopped working is the rolling minecart sound.
Can confirm in 1.21.5 too, sorry opened a duplicate bug. Please remove my report:
Thanks for responding fast, @Jess Edward, Touchcontrol is off and the other issue describes an issue more with clicking and moving the mouse as far I can understand. I have no similar issues regarding mouse movement or clicking.
Execute command this are the commands:
For opening:
1. execute at @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Open the gate!\"}"}}}}] as @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Open the gate!\"}"}}}}] run execute as @s run say Open the Gate!
2. execute at @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Open the gate!\"}"}}}}] as @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Open the gate!\"}"}}}}] run execute as @s run fill -79 108 407 -79 108 407 minecraft:redstone_block
3. execute at @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Open the gate!\"}"}}}}] as @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Open the gate!\"}"}}}}] run execute as @s run fill -79 108 407 -79 108 407 minecraft:air
4. scoreboard players reset @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Open the gate!\"}"}}}}] carrot
For closing:
1. execute at @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Close the gate!\"}"}}}}] as @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Close the gate!\"}"}}}}] run execute as @s run say Close the Gate!
2. execute at @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Close the gate!\"}"}}}}] as @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Close the gate!\"}"}}}}] run execute as @s run fill -81 108 407 -81 108 407 minecraft:redstone_block
3. execute at @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Close the gate!\"}"}}}}] as @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Close the gate!\"}"}}}}] run execute as @s run fill -81 108 407 -81 108 407 minecraft:air
4. scoreboard players reset @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"{\"text\":\"Close the gate!\"}"}}}}] carrot
[media]
Well I did follow the autocomplete guide it shows that is the right command but it is just not detecting the right click but i will try the command you gave me for the spamming.
OK NOW I FOUND IT FOR SURE
i have an application called razer cortex wich boosts my game performance. the reason why minecraft works right after restarting my pc is because razer cortex started after me starting minecraft. however before razer cortex was already running. by deleting the processes of cortex in the task manager and then starting minecraft seemed to have solved the issue. It is still strange tho that this is not the case when starting minecraft version 1.12.2
ow so when i restart the pc and then start minecraft there is no problem, does that mean there is an other application that is blocking it?
i can get in the game menu by alt+tab but opening using escape gives a crash, however when i press a button in there it crashes
nope not fixed it worked once now not anymore.
???
Oh wait fixed it, just had to update Java 😛
Thanks for the tip Marcono1234
this glitch accures in versions 1.11.2 and up including the snapshots
When i try to chat it says: Cannot send chat message. And i think its a bug in the servers....
It seems to apply to other sounds too, like bees and music discs playing on a loop, at some point they also become silent, easiest to notice is the minecarts after afk'ing at farms. Every single morning the carts are silent and I have to restart. Hope this will be fixed but fear it won’t as it’s several years old.