Interface InstrumentRegistryEntry
- All Known Subinterfaces:
InstrumentRegistryEntry.Builder
A data-centric version-specific registry entry for the
MusicInstrument type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder for theInstrumentRegistryEntryplugins may change in applicable registry events. -
Method Summary
Modifier and TypeMethodDescriptionProvides the description of the instrument, which is used in the item tooltip.@Positive floatduration()Provides the duration of the instrument, which is time to use.@Positive floatrange()Provides the range of the instrument, which is range of the sound.Provides the sound event of the instrument.
-
Method Details
-
soundEvent
Provides the sound event of the instrument.- Returns:
- the sound event.
- See Also:
-
duration
-
range
-
description
-