mojira.dev
MC-254219

/playsound does not check if sound exists.

Using the /playsound command on a non-existing sound succeeds, even though it does not exist

 

This creates a warning in output, meaning that it was detected that it wasn't a sound (and is unplayable), unlike handled errors like incomplete commands

 

fixing this will also:

1: allow for resource pack self-tests in the press of a button (using conditional command blocks, detect if resource pack is installed via a new sound made by resource pack)

2: help mappers that may make a typo when spelling a sound from going crazy

Attachments

Comments 2

Duplicate of MC-81025, WAI: server does not, and cannot, know if the event exists or not as clients can add events using resource packs.

Thank you for your report!
We're tracking this issue in MC-81025, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Nathan Smith

(Unassigned)

Unconfirmed

(Unassigned)

1.19, 1.19.1 Pre-release 4

Retrieved