MCPcopy Index your code
hub / github.com/PaperMC/Paper / getSound

Method getSound

paper-api/src/main/java/org/bukkit/Sound.java:3832–3832  ·  view source on GitHub ↗
(@NotNull @KeyPattern.Value String key)

Source from the content-addressed store, hash-verified

3830 // End generate - Sound
3831
3832 @NotNull
3833 private static Sound getSound(@NotNull @KeyPattern.Value String key) {
3834 return Registry.SOUNDS.getOrThrow(Key.key(Key.MINECRAFT_NAMESPACE, key));
3835 }

Callers 4

SoundInterface · 0.95
bukkitInstrumentsMethod · 0.65
checkInstrumentSoundMethod · 0.65
playNoteMethod · 0.65

Implementers 1

CraftSoundpaper-server/src/main/java/org/bukkit/

Calls

no outgoing calls

Tested by 2

bukkitInstrumentsMethod · 0.52
checkInstrumentSoundMethod · 0.52