Package org.spoutcraft.client

Examples of org.spoutcraft.client.HDImageBufferDownload


  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


  private boolean textureUploaded;

  public ThreadDownloadImageData(String par1Str, ResourceLocation par2ResourceLocation, IImageBuffer par3IImageBuffer) {
    this.imageUrl = par1Str;
    // Spout Start
    this.imageBuffer = new HDImageBufferDownload();
    // Spout End
    this.imageLocation = par2ResourceLocation != null ? new SimpleTexture(par2ResourceLocation) : null;
  }
View Full Code Here

TOP

Related Classes of org.spoutcraft.client.HDImageBufferDownload

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.