Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

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.

script.zs
import crafttweaker.api.sound.SoundType;

Members

Getter
script.zs
// SoundType.breakSound as SoundEvent
mySoundType.breakSound

Return Type: SoundEvent

breakSound() as SoundEvent
script.zs
// SoundType.breakSound() as SoundEvent;
mySoundType.breakSound();

Return Type: SoundEvent

Getter
script.zs
// SoundType.fallSound as SoundEvent
mySoundType.fallSound

Return Type: SoundEvent

fallSound() as SoundEvent
script.zs
// SoundType.fallSound() as SoundEvent;
mySoundType.fallSound();

Return Type: SoundEvent

Getter
script.zs
// SoundType.hitSound as SoundEvent
mySoundType.hitSound

Return Type: SoundEvent

hitSound() as SoundEvent
script.zs
// SoundType.hitSound() as SoundEvent;
mySoundType.hitSound();

Return Type: SoundEvent

Getter
script.zs
// SoundType.pitch as float
mySoundType.pitch

Return Type: float

pitch() as float
script.zs
// SoundType.pitch() as float;
mySoundType.pitch();

Return Type: float

Getter
script.zs
// SoundType.placeSound as SoundEvent
mySoundType.placeSound

Return Type: SoundEvent

placeSound() as SoundEvent
script.zs
// SoundType.placeSound() as SoundEvent;
mySoundType.placeSound();

Return Type: SoundEvent

Getter
script.zs
// SoundType.stepSound as SoundEvent
mySoundType.stepSound

Return Type: SoundEvent

stepSound() as SoundEvent
script.zs
// SoundType.stepSound() as SoundEvent;
mySoundType.stepSound();

Return Type: SoundEvent

Getter
script.zs
// SoundType.volume as float
mySoundType.volume

Return Type: float

volume() as float
script.zs
// SoundType.volume() as float;
mySoundType.volume();

Return Type: float