Interface SoundEventRegistryEntry
- All Known Subinterfaces:
SoundEventRegistryEntry.Builder
@NonExtendable
public interface SoundEventRegistryEntry
A data-centric version-specific registry entry for the
Sound type.- Since:
- 1.21.6
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder for theSoundEventRegistryEntryplugins may change in applicable registry events. -
Method Summary
-
Method Details
-
location
@Contract(pure=true) net.kyori.adventure.key.Key location()Gets the resource pack location for this sound event.- Returns:
- the location
- Since:
- 1.21.6
-
fixedRange
Gets the fixed range for this sound event, if present.- Returns:
- the fixed range, or
nullif not present - Since:
- 1.21.6
-