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