public static final String MCPATCHER_SUBDIR = "mcpatcher/";
public static TexturePackAPI instance = new TexturePackAPI();
public static List<ResourcePack> getResourcePacks(String namespace) {
ArrayList list = new ArrayList();
ResourceManager resourceManager = getResourceManager();
if (resourceManager instanceof SimpleReloadableResourceManager) {
Iterator i$ = ((SimpleReloadableResourceManager)resourceManager).domainResourceManagers.entrySet().iterator();
while (i$.hasNext()) {