Added dependencies and dependency ordering for textures. (#4070)

This commit is contained in:
Fry authored and GitHub committed 2017-06-26 07:58:19 +04:00
1 parent 3ae30478db
commit 0f7ec7e7fd
5 files changed
+117 -71

No files matched your search

@@ -949,7 +949,7 @@ public final class ModelLoader extends ModelBakery
}
@Override
public boolean load(IResourceManager manager, ResourceLocation location)
public boolean load(IResourceManager manager, ResourceLocation location, Function<ResourceLocation, TextureAtlasSprite> textureGetter)
{
BufferedImage image = new BufferedImage(this.getIconWidth(), this.getIconHeight(), BufferedImage.TYPE_INT_ARGB);
Graphics2D graphics = image.createGraphics();