Package com.cryptomorin.xseries
Class NoteBlockMusic.Instruction
- java.lang.Object
-
- com.cryptomorin.xseries.NoteBlockMusic.Instruction
-
- Direct Known Subclasses:
NoteBlockMusic.Sequence,NoteBlockMusic.Sound
- Enclosing class:
- NoteBlockMusic
public abstract static class NoteBlockMusic.Instruction extends Object
An instruction is any musical movement or section that can be a restatement and might have a fermata. https://en.wikipedia.org/wiki/Repetition_(music)- Since:
- 3.0.0
-
-
Field Summary
Fields Modifier and Type Field Description intfermataNoteBlockMusic.SequenceparentintrestatementintrestatementFermata
-
Constructor Summary
Constructors Constructor Description Instruction(int restatement, int restatementFermata, int fermata)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description longgetEstimatedLength()abstract voidplay(org.bukkit.entity.Player player, Supplier<org.bukkit.Location> location)
-
-
-
Field Detail
-
parent
@Nullable public NoteBlockMusic.Sequence parent
-
restatement
public int restatement
-
restatementFermata
public int restatementFermata
-
fermata
public int fermata
-
-
Method Detail
-
play
public abstract void play(org.bukkit.entity.Player player, Supplier<org.bukkit.Location> location)
-
getEstimatedLength
public long getEstimatedLength()
-
-