[SPIGOT-5162] Add Sound#matchSound Created: 11/Jul/19  Updated: 16/Jul/19  Resolved: 16/Jul/19

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Ivan Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: 1.14.3, bukkit

Version: 1.14+
Guidelines Read: Yes

 Description   

Hello, 

Can you make Sound#matchSound ? The functionality should be to................... wait for it................. match sounds (something like Material#matchMaterial). 

Thanks!



 Comments   
Comment by md_5 [ 13/Jul/19 ]

Sound.valueOf("sound to match".toUpperCase(java.util.Locale.ENGLISH).replaceAll("
s+", "_").replaceAll("
W", ""))

 

Hardly useful imo

Generated at Thu Apr 03 16:26:13 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.