Class NoteBlockEvent.Play

java.lang.Object
net.neoforged.bus.api.Event
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
NoteBlockEvent

public static class NoteBlockEvent.Play extends NoteBlockEvent implements net.neoforged.bus.api.ICancellableEvent
Fired when a Noteblock plays it's note. You can override the note and instrument Canceling this event will stop the note from playing.