Package org.spongepowered.api.data.type
Interface InstrumentType
-
- All Superinterfaces:
DefaultedRegistryValue
@CatalogedBy(InstrumentTypes.class) public interface InstrumentType extends DefaultedRegistryValue
Represents a type of instrument.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoundType
sound()
Gets theSoundType
that is used by thisInstrumentType
.-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-
-
-
Method Detail
-
sound
SoundType sound()
Gets theSoundType
that is used by thisInstrumentType
.- Returns:
- The sound
-
-