register Note Block Play
Registers a new trigger that runs before a noteblock is played.
Passes through four arguments:
The note block play event's Vector3f position
The note block play event's note's name
The note block play event's octave
The note block play event, which can be cancelled
Available modifications:
Trigger.setPriority Sets the priority
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired