public interface Note extends TileEntity
| Modifier and Type | Method and Description |
|---|---|
default NoteData |
getNoteData()
Retrieves the
NoteData for this note block. |
default Value<NotePitch> |
note()
|
void |
playNote()
|
createArchetype, getBlock, getLocatableBlock, getType, isValid, setValidsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetLocation, getWorldvoid playNote()
default NoteData getNoteData()
NoteData for this note block.default Value<NotePitch> note()
Keys.NOTE_PITCH