lookupTrack
Looks up the track ID by a value from a config. The result has only IDs of existing tracks. Use it instead of Key.key(String), which turns mining into minecraft:mining.
The lookup is lenient:
Letter case doesn't matter, and characters not allowed in IDs are replaced with
_:Jobs:Wood Cutterisjobs:wood_cutter.The namespace may be omitted if only one plugin has a track with this name:
woodcuttingismcmmo:woodcutting. If several plugins have it, the plugin set in thelevel-provideroption of Mimic config is used. If the option isn't set, or that plugin doesn't have the track, the result is LookupStatus.AMBIGUOUS.
The name should be the same as in the track ID: mining doesn't match mmocore:profession/mining.
May be called from any thread.
Since
0.12.0