Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

DispenserSound

The DispenserSound is an enum for the three sounds of dispenser.

Importing the package

It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.

import crafttweaker.dispenser.DispenserSound;

Enumerations

The three static methods return a DispenserSound object.

script.zs
import crafttweaker.dispenser.DispenserSound;
DispenserSound.dispense();
DispenserSound.fail();
DispenserSound.launch();