mojira.dev
MC-103894

[Solved] Trying to playsound freezes the game

Trying to play "day1" freezes game

"day1" location: resourcepacks\playsound\assets\minecraft\sounds\day1.ogg
sounds.json location resourcepacks\playsound\assets\minecraft\sounds.json

sounds.json:

{
"day1": {
"sounds": [
"day1"
]
}
}

command: /playsound day1 voice Vankka ~ ~ ~ 1.0 1.0

Linked issues

Attachments

Comments

migrated

Could you please attach the resource pack?

migrated

resourcepack

kumasasa

Corrupt sound file, see the game output console for details.

migrated

@Kumasasa what do you mean by corrupt?

[16:15:05] [Server thread/INFO]: [Vankka: Played sound 'day1' to Vankka]
[16:15:05] [Thread-5/ERROR]: Error in class 'CodecJOrbis'
[16:15:05] [Thread-5/ERROR]: File does not contain Vorbis header in method 'readHeader'.
[16:15:05] [Thread-5/ERROR]: Error in class 'CodecJOrbis'
[16:15:05] [Client thread/INFO]: [CHAT] Played sound 'day1' to Vankka
[16:15:05] [Thread-5/ERROR]: Error reading the header

migrated

Re converted the file and it worked thanks anyway 🙂

migrated

(Unassigned)

Unconfirmed

Minecraft 1.10

Retrieved