Package org.spongepowered.api.data.type
Interface InstrumentType
- All Superinterfaces:
Comparable<InstrumentType>,DefaultedRegistryValue,StringRepresentable
@CatalogedBy(InstrumentTypes.class)
public interface InstrumentType
extends DefaultedRegistryValue, Comparable<InstrumentType>, StringRepresentable
Represents a type of instrument.
-
Method Summary
Modifier and TypeMethodDescriptionsound()Gets theSoundTypethat is used by thisInstrumentType.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, keyMethods inherited from interface org.spongepowered.api.data.type.StringRepresentable
serializationString
-
Method Details
-
sound
SoundType sound()Gets theSoundTypethat is used by thisInstrumentType.- Returns:
- The sound
-