Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/26/17 in all areas

  1. I have already updated our internal tools to support the last few snapshots, its not that big of a deal. It'll be some work but it shouldn't take to long. Just waiting on 1.12's official drop.
    2 points
  2. I feel ya, but these guys make this stuff for free, and there's a lot of crap they go through just getting to the point where they can work on it (I think anyway), so that all takes time. They appreciate it when people are patient
    1 point
  3. Ok, I got it working!!! This is what I did: I put a file named entitytest.png inside textures/entities/ of my jar User will put a new texture in this folder .minecraft\ When he clicks the button, I execute this piece of magic code: String textureName = "entitytest.png"; File textureFile = null; try { textureFile = new File(Minecraft.getMinecraft().mcDataDir.getCanonicalPath(), textureName); } catch (Exception ex) {} if (textureFile != null && textureFile.exists()) { ResourceLocation MODEL_TEXTURE = Resources.OTHER_TESTMODEL_CUSTOM; TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager(); texturemanager.deleteTexture(MODEL_TEXTURE); Object object = new ThreadDownloadImageData(textureFile, null, MODEL_TEXTURE, new ImageBufferDownload()); texturemanager.loadTexture(MODEL_TEXTURE, (ITextureObject)object); return true; } else { return false; } Where Resources.OTHER_TESTMODEL_CUSTOM is new ResourceLocation(lostworld.lib.References.MODID,"textures/entities/entitytest.png"); ;) ;)
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.