Interface SoundType
- All Superinterfaces:
DefaultedRegistryValue<SoundType>,Keyed,ResourceKeyed,Sound.Type
@CatalogedBy(SoundTypes.class)
public interface SoundType
extends DefaultedRegistryValue<SoundType>, ResourceKeyed, Sound.Type
Represents a sound that can be heard on clients.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilds a SoundType, primarily for sending custom sounds to the client. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic SoundType.Builderbuilder()Creates a newSoundType.Builderfor building SoundTypes.Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, keyMethods inherited from interface org.spongepowered.api.ResourceKeyed
keyMethods inherited from interface net.kyori.adventure.sound.Sound.Type
key
-
Method Details
-
builder
Creates a newSoundType.Builderfor building SoundTypes.- Returns:
- A new builder
-