Interface SoundType
-
- All Superinterfaces:
Keyed
,ResourceKeyed
,Sound.Type
@CatalogedBy(SoundTypes.class) public interface SoundType extends ResourceKeyed, Sound.Type
Represents a sound that can be heard on clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SoundType.Builder
Builds a SoundType, primarily for sending custom sounds to the client.
-
Method Summary
Static Methods Modifier and Type Method Description static SoundType.Builder
builder()
Creates a newSoundType.Builder
for building SoundTypes.-
Methods inherited from interface org.spongepowered.api.ResourceKeyed
key
-
Methods inherited from interface net.kyori.adventure.sound.Sound.Type
key
-
-
-
-
Method Detail
-
builder
static SoundType.Builder builder()
Creates a newSoundType.Builder
for building SoundTypes.- Returns:
- A new builder
-
-