public static class NoteBlockEvent.Play extends NoteBlockEvent
NoteBlockEvent.Change, NoteBlockEvent.Note, NoteBlockEvent.Octave, NoteBlockEvent.PlayBlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.HarvestDropsEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEventEvent.HasResult, Event.Result| コンストラクタと説明 |
|---|
Play(World world,
BlockPos pos,
BlockState state,
int note,
NoteBlockInstrument instrument) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
NoteBlockInstrument |
getInstrument() |
void |
setInstrument(NoteBlockInstrument instrument) |
getNote, getOctave, getVanillaNoteId, setNotegetPos, getState, getWorldgetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic Play(World world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument)
public NoteBlockInstrument getInstrument()
public void setInstrument(NoteBlockInstrument instrument)