Package io.papermc.paper.registry.data
Interface SoundEventRegistryEntry
- All Known Subinterfaces:
SoundEventRegistryEntry.Builder
A data-centric version-specific registry entry for the
Sound
type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A mutable builder for theSoundEventRegistryEntry
plugins may change in applicable registry events. -
Method Summary
Modifier and TypeMethodDescriptionGets the fixed range for this sound event, if present.location()
Gets the resource pack location for this sound event.
-
Method Details
-
location
Gets the resource pack location for this sound event.- Returns:
- the location
-
fixedRange
Gets the fixed range for this sound event, if present.- Returns:
- the fixed range, or
null
if not present
-