Interface SoundEventRegistryEntry.Builder
- All Superinterfaces:
RegistryBuilder<Sound>, SoundEventRegistryEntry
- Enclosing interface:
SoundEventRegistryEntry
@Experimental
@NonExtendable
public static interface SoundEventRegistryEntry.Builder
extends SoundEventRegistryEntry, RegistryBuilder<Sound>
A mutable builder for the
SoundEventRegistryEntry plugins may change in applicable registry events.
The following values are required for each builder:
-
Nested Class Summary
Nested classes/interfaces inherited from interface SoundEventRegistryEntry
SoundEventRegistryEntry.Builder -
Method Summary
Modifier and TypeMethodDescriptionfixedRange(@Nullable Float fixedRange) Sets the fixed range for this sound event.Sets the resource pack location for this sound event.Methods inherited from interface SoundEventRegistryEntry
fixedRange, location
-
Method Details
-
location
Sets the resource pack location for this sound event.- Parameters:
location- the location- Returns:
- this builder
-
fixedRange
-