Package net.minecraft.src

Examples of net.minecraft.src.ThreadDownloadImageData


  private AccessoryHandler() {
  }

  public static void addAccessory(String player, Accessory n, String url) {
    TextureManager tm= Minecraft.getMinecraft().getTextureManager();
    Object texture = new ThreadDownloadImageData(url, (ResourceLocation)null, new HDImageBufferDownload());   
    tm.loadTexture(new ResourceLocation("accessories/" + n.getType().toString()), (TextureObject)texture);
   
    Set<Pair<Accessory, String>> acs = sacs.get(player);
    if (acs == null) {
      acs = new HashSet<Pair<Accessory, String>>();
View Full Code Here

TOP

Related Classes of net.minecraft.src.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.