public static interface PlaySoundEvent.NoteBlock extends PlaySoundEvent
PlaySoundEvent.AtEntity, PlaySoundEvent.Broadcast, PlaySoundEvent.NoteBlock, PlaySoundEvent.Record| Modifier and Type | Method and Description |
|---|---|
InstrumentType |
getInstrument()
The type of instrument that played the
Note. |
Note |
getNote()
The
Note that was played. |
NotePitch |
getNotePitch()
The pitch of the played
Note. |
getLocation, getPitch, getSoundCategory, getSoundType, getVolumegetCause, getContext, getSourceisCancelled, setCancelledInstrumentType getInstrument()
Note.InstrumentType