mojira.dev
MC-102197

Only preexisting subtitles can be edited. New ones don't show up.

Adding more subtitles doesn't work in vanilla.
Subtitles for mods that add sounds won't work.

    • What I expected to happen was...: **

Making two separate sound events have two different subtitles, such as the preexisting subtitles.block.door.toggle being replaced instead with subtitles.block.door.wood.open and subtitles.block.door.wood.close

    • What actually happened was...: **

All subtitles that have the exact same name as before can be edited, but ones that are replaced/renamed in sounds.json are ignored, even if the replace: true tag is present. They should be replaceable 😞

    • Steps to Reproduce: **

(To clarify, existing subtitles can be edited. But new subtitles don't get recognised.)

1. Rename any subtitle file in sounds.json (subtitles.block.door.toggle to subtitles.block.door.somethingelse)
1.5 Optional - Adding replace: true, tag to the door sound event.
2. Edit subtitles.block.door.toggle to subtitles.block.door.somethingelse in relevant language file that contains the subtitles.
3. Change the subtitle to something else. Door Does Something Else for example.
4. Ingame, observe the subtitle remaining unchanged.

ALSO :

Completely new subtitles (such as attack sound subtitles) fail to show up, even if they are introduced in sounds.json

Attachments

Comments 8

Also,
I forgot to include :

It seems you cannot add subtitles for events that already have no subtitle.

I tried to add these for example : subtitles.player.attack.etc
And there continues to be no subtitle indicator in-game of attacks.

I can do it just fine, please attach the affected sounds.json.

That's the default sounds.json, please attach the one you use in the resource pack to replace one of the existing sounds.

I would love to know how you are making it work! I added the sounds.json that I use in my resource pack. It has the complete listing of sounds, as well as the new subtitles.

You can search for these terms in the file :

replace: true for the wood/iron door closing/opening

Also, the player attack subtitles are added.

Sorry for the slow updates.. My internet is experiencing severe issues.

I'll look into it a bit later today. But my own pack works fine.
Perhaps the souns.jsonhas an error, causing it not to load at all, you can easily check this by adding a new soind event and playing it, if it works, it isn't broken.

Some of the other subtitles I've already added in those 2 files are actually working. Fire crackling, zombie sounds, etc.

The ones that appear to not work in that pack are the ones that I had created different or new subtitle labels for (they are then overriden by the default subtitle labels which I assume still exist in the 1.9.4 default resource pack, hence my conclusion that you cannot create new subtitles if they deviate from the default subtitle naming scheme)

Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.

This is an automated comment on any open or reopened issue with out-of-date affected versions.

Is this still an issue in the most recent versions (currently that is 1.11) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

Josh H

(Unassigned)

Unconfirmed

Minecraft 1.9.4

Retrieved