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

패키지 임포트하기

Link to 패키지-임포트하기

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;

The three static methods return a DispenserSound object.

ZenScript
Copy
import crafttweaker.dispenser.DispenserSound;

DispenserSound.dispense();
DispenserSound.fail();
DispenserSound.launch();