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 SoundTypesound()Gets theSoundTypethat is used by thisInstrumentType.-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-
-
-
Method Detail
-
sound
SoundType sound()
Gets theSoundTypethat is used by thisInstrumentType.- Returns:
- The sound
-
-