public class MCNoteBlockEvent extends MCBlockEvent implements crafttweaker.api.event.INoteBlockEvent
| Constructor and Description |
|---|
MCNoteBlockEvent(net.minecraftforge.event.world.NoteBlockEvent event) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNote() |
int |
getNoteId() |
java.lang.String |
getOctave() |
void |
setBoth(java.lang.String note,
java.lang.String octave) |
void |
setNote(java.lang.String note) |
void |
setOctave(java.lang.String octave) |
getBlockState, getPosition, getWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic MCNoteBlockEvent(net.minecraftforge.event.world.NoteBlockEvent event)
public java.lang.String getNote()
getNote in interface crafttweaker.api.event.INoteBlockEventpublic void setNote(java.lang.String note)
setNote in interface crafttweaker.api.event.INoteBlockEventpublic java.lang.String getOctave()
getOctave in interface crafttweaker.api.event.INoteBlockEventpublic void setOctave(java.lang.String octave)
setOctave in interface crafttweaker.api.event.INoteBlockEventpublic void setBoth(java.lang.String note,
java.lang.String octave)
setBoth in interface crafttweaker.api.event.INoteBlockEventpublic int getNoteId()
getNoteId in interface crafttweaker.api.event.INoteBlockEvent