Skip to content

NoteBlockEvent

To use this event use the following import:

groovy
import net.minecraftforge.event.world.NoteBlockEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:
BlockEvent

Methods

groovy
net.minecraftforge.event.world.NoteBlockEvent$Note getNote()
groovy
net.minecraftforge.event.world.NoteBlockEvent$Octave getOctave()
groovy
int getVanillaNoteId()
groovy
void setNote(net.minecraftforge.event.world.NoteBlockEvent$Note arg0, net.minecraftforge.event.world.NoteBlockEvent$Octave arg1)

© 2024 CleanroomMC. All Rights Reserved.