getEnabledPacks

fun getEnabledPacks(player: OfflinePlayer): Set<Key>

Gets the ids of enabled resource packs for player. Includes the ids of all packs that are enabled by default or explicitly enabled via enablePack.