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
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 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
parent
-
restatement
public int restatement -
restatementFermata
public int restatementFermata -
fermata
public int fermata
-
-
Constructor Details
-
Instruction
public Instruction(int restatement, int restatementFermata, int fermata)
-
-
Method Details
-
play
public abstract void play(org.bukkit.entity.Player player, Supplier<org.bukkit.Location> location, boolean playAtLocation) -
getEstimatedLength
public long getEstimatedLength()
-