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 theSoundType
that is used by thisInstrumentType
.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
Methods inherited from interface org.spongepowered.api.data.type.StringRepresentable
serializationString
-
Method Details
-
sound
SoundType sound()Gets theSoundType
that is used by thisInstrumentType
.- Returns:
- The sound
-