Returns the tone to id. Also returning the semitones. @param id the id of the tone. @return the tone to id. @apiNote Internal Use Only
(byte id)
| 100 | * @apiNote Internal Use Only |
| 101 | */ |
| 102 | @org.jetbrains.annotations.ApiStatus.Internal // Paper |
| 103 | @Nullable |
| 104 | public static Tone getById(byte id) { |
| 105 | return BY_DATA.get(id); |
| 106 | } |
| 107 | |
| 108 | static { |
| 109 | for (Tone tone : values()) { |