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