类 NoteBlockEvent.Play
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.BlockEvent
net.minecraftforge.event.level.NoteBlockEvent
net.minecraftforge.event.level.NoteBlockEvent.Play
- 封闭类:
NoteBlockEvent
Fired when a Noteblock plays it's note. You can override the note and instrument
Canceling this event will stop the note from playing.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.event.level.NoteBlockEvent
NoteBlockEvent.Change, NoteBlockEvent.Note, NoteBlockEvent.Octave, NoteBlockEvent.Play
从类继承的嵌套类/接口 net.minecraftforge.event.level.BlockEvent
BlockEvent.BlockToolModificationEvent, BlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.event.level.NoteBlockEvent
getNote, getOctave, getVanillaNoteId, setNote
从类继承的方法 net.minecraftforge.event.level.BlockEvent
getLevel, getPos, getState
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
instrument
-
-
构造器详细资料
-
Play
-
-
方法详细资料
-
getInstrument
-
setInstrument
-