public static class NoteBlockEvent.Play extends NoteBlockEvent
NoteBlockEvent.Change, NoteBlockEvent.Instrument, NoteBlockEvent.Note, NoteBlockEvent.Octave, NoteBlockEvent.PlayBlockEvent.BreakEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.PlaceEventEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
NoteBlockEvent.Instrument |
instrument |
pos, state, world| Constructor and Description |
|---|
NoteBlockEvent.Play(World world,
BlockPos pos,
IBlockState state,
int note,
int instrument) |
getNote, getOctave, getVanillaNoteId, setNotegetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic NoteBlockEvent.Instrument instrument
public NoteBlockEvent.Play(World world, BlockPos pos, IBlockState state, int note, int instrument)