Package net.minecraft.client.renderer

Examples of net.minecraft.client.renderer.ThreadDownloadImageData


              if (subLine.startsWith("http")){
                capeUrl = subLine;

                ResourceLocation r = new ResourceLocation("DevCapes/" + group);
                ThreadDownloadImageData t = makeDownloadThread(r, capeUrl, null, new DevCapesImageBufferDownload());

                this.addCapeResource(group, r);
                this.addDownloadThread(group, t);

                continue;
View Full Code Here


   */
  public static ThreadDownloadImageData makeDownloadThread(ResourceLocation par0ResourceLocation, String par1Str, ResourceLocation par2ResourceLocation, IImageBuffer par3IImageBuffer)
  {
    TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();

    TextureObject object = new ThreadDownloadImageData(par1Str, par2ResourceLocation, par3IImageBuffer);
    // Binds ResourceLocation to this.
    texturemanager.loadTexture(par0ResourceLocation, object);

    return (ThreadDownloadImageData)object;
  }
View Full Code Here

TOP

Related Classes of net.minecraft.client.renderer.ThreadDownloadImageData

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.