DispenserSound
Link to dispensersound
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;
Enumerations
Link to enumerations
The three static methods return a DispenserSound object.
ZenScript Copyimport crafttweaker.dispenser.DispenserSound;
DispenserSound.dispense();
DispenserSound.fail();
DispenserSound.launch();