List resourcePacks = TexturePackAPI.getResourcePacks((String)null);
logger.fine("%s resource packs (%d selected):", new Object[] {initializing ? "initializing" : "changing", Integer.valueOf(resourcePacks.size())});
Iterator namespaces = resourcePacks.iterator();
while (namespaces.hasNext()) {
ResourcePack textureManager = (ResourcePack)namespaces.next();
logger.fine("resource pack: %s", new Object[] {textureManager.getPackName()});
}
Set namespaces1 = TexturePackAPI.getNamespaces();
logger.fine("%d resource namespaces:", new Object[] {Integer.valueOf(namespaces1.size())});
Iterator textureManager1 = namespaces1.iterator();