getInstrumentEnumFromId

fun getInstrumentEnumFromId(id: Int): NoteBlockInstrument

Maps vanilla NBS instrument ids to Minecraft note block instruments.

See also

NoteBlock
NoteBlockInstrument