Package net.minecraft.client.texturepacks

Examples of net.minecraft.client.texturepacks.ITexturePack


    if (this.textures.contains(textureName)) {
      return textureName;
    }

    try {
      ITexturePack texturePackBase = this.settings.minecraft.texturePackList.getSelectedTexturePack();
      File newTextureFile = new File(Settings.textureDirectory, texturePackBase.getTexturePackFileName().replace(".zip", "") + textureName);
      if (!newTextureFile.exists()) {
        BufferedImage bufferedImage = readTextureImage(texturePackBase.getResourceAsStream(texture));
        if (bufferedImage == null) {
          return texture;
        }

        int x, y, color;
View Full Code Here

TOP

Related Classes of net.minecraft.client.texturepacks.ITexturePack

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.