类 NoteBlockEvent.Change

java.lang.Object
net.neoforged.bus.api.Event
所有已实现的接口:
net.neoforged.bus.api.ICancellableEvent
封闭类:
NoteBlockEvent

public static class NoteBlockEvent.Change extends NoteBlockEvent implements net.neoforged.bus.api.ICancellableEvent
Fired when a Noteblock is changed. You can adjust the note it will change to via NoteBlockEvent.setNote(Note, Octave). Canceling this event will not change the note and also stop the Noteblock from playing it's note.