Package net.minecraft.src

Examples of net.minecraft.src.ResourceManager


  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()) {
View Full Code Here


    return list;
  }

  public static Set<String> getNamespaces() {
    HashSet set = new HashSet();
    ResourceManager resourceManager = getResourceManager();

    if (resourceManager instanceof SimpleReloadableResourceManager) {
      set.addAll(((SimpleReloadableResourceManager)resourceManager).domainResourceManagers.keySet());
    }
View Full Code Here

TOP

Related Classes of net.minecraft.src.ResourceManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.