Skip to content

Play

To use this event use the following import:

groovy
import net.minecraftforge.event.world.NoteBlockEvent.Play

Sub-Classes

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

Methods

groovy
net.minecraftforge.event.world.NoteBlockEvent$Instrument getInstrument()
groovy
void setInstrument(net.minecraftforge.event.world.NoteBlockEvent$Instrument arg0)

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.