SoundType
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.sound.SoundType;
Members
Getter
// SoundType.breakSound as SoundEventmySoundType.breakSound
Return Type:
SoundEvent
breakSound() as SoundEvent
Getter
// SoundType.fallSound as SoundEventmySoundType.fallSound
Return Type:
SoundEvent
fallSound() as SoundEvent
Getter
// SoundType.hitSound as SoundEventmySoundType.hitSound
Return Type:
SoundEvent
hitSound() as SoundEvent
Getter
// SoundType.pitch as floatmySoundType.pitch
Return Type:
float
pitch() as float
// SoundType.pitch() as float;mySoundType.pitch();
Return Type:
float
Getter
// SoundType.placeSound as SoundEventmySoundType.placeSound
Return Type:
SoundEvent
placeSound() as SoundEvent
Getter
// SoundType.stepSound as SoundEventmySoundType.stepSound
Return Type:
SoundEvent
stepSound() as SoundEvent
Getter
// SoundType.volume as floatmySoundType.volume
Return Type:
float
volume() as float
// SoundType.volume() as float;mySoundType.volume();
Return Type:
float