@CatalogedBy(value=SoundTypes.class) public interface SoundType extends CatalogType
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SoundType.Builder
Builds a SoundType, primarily for sending custom sounds to the client.
|
| Modifier and Type | Method and Description |
|---|---|
static SoundType.Builder |
builder()
Creates a new
SoundType.Builder for building SoundTypes. |
static SoundType |
of(String id)
Creates a newSoundType from the given ID.
|
getId, getNamestatic SoundType.Builder builder()
SoundType.Builder for building SoundTypes.static SoundType of(String id)
GameRegistry.getType(Class, String).id - ID of the sound