public class MCNoteBlockChangeEvent extends MCNoteBlockEvent implements crafttweaker.api.event.NoteBlockChangeEvent
| Constructor and Description |
|---|
MCNoteBlockChangeEvent(net.minecraftforge.event.world.NoteBlockEvent.Change event) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOldNote() |
java.lang.String |
getOldOctave() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
getNote, getNoteId, getOctave, setBoth, setNote, setOctavegetBlockState, getPosition, getWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNote, getNoteId, getOctave, setBoth, setNote, setOctavegetBlock, getBlockState, getWorldpublic MCNoteBlockChangeEvent(net.minecraftforge.event.world.NoteBlockEvent.Change event)
public java.lang.String getOldNote()
getOldNote in interface crafttweaker.api.event.NoteBlockChangeEventpublic java.lang.String getOldOctave()
getOldOctave in interface crafttweaker.api.event.NoteBlockChangeEventpublic boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelable