SoundDefinition.Sound |
SoundDefinition.Sound.attenuationDistance(int attenuationDistance) |
Sets the attenuation distance of the sound.
|
SoundDefinition.Sound |
SoundDefinition.Sound.pitch(double pitch) |
Sets the pitch of this specific sound.
|
SoundDefinition.Sound |
SoundDefinition.Sound.pitch(float pitch) |
Sets the pitch of this specific sound.
|
SoundDefinition.Sound |
SoundDefinition.Sound.preload() |
Marks this sound as needing to be preloaded.
|
SoundDefinition.Sound |
SoundDefinition.Sound.preload(boolean preload) |
Sets whether this sound should be preloaded or not.
|
static SoundDefinition.Sound |
SoundDefinition.Sound.sound(ResourceLocation name,
SoundDefinition.SoundType type) |
Creates a new sound with the given name and type.
|
protected static SoundDefinition.Sound |
SoundDefinitionsProvider.sound(java.lang.String name) |
|
protected static SoundDefinition.Sound |
SoundDefinitionsProvider.sound(java.lang.String name,
SoundDefinition.SoundType type) |
Creates a new sound with the given name and type.
|
protected static SoundDefinition.Sound |
SoundDefinitionsProvider.sound(ResourceLocation name) |
|
protected static SoundDefinition.Sound |
SoundDefinitionsProvider.sound(ResourceLocation name,
SoundDefinition.SoundType type) |
Creates a new sound with the given name and type.
|
SoundDefinition.Sound |
SoundDefinition.Sound.stream() |
Sets this sound to a streamed sound.
|
SoundDefinition.Sound |
SoundDefinition.Sound.stream(boolean stream) |
Sets whether this sound should be streamed or not.
|
SoundDefinition.Sound |
SoundDefinition.Sound.volume(double volume) |
Sets the volume of this specific sound.
|
SoundDefinition.Sound |
SoundDefinition.Sound.volume(float volume) |
Sets the volume of this specific sound.
|
SoundDefinition.Sound |
SoundDefinition.Sound.weight(int weight) |
Sets the weight of this specific sound.
|