mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Added dependencies and dependency ordering for textures. (#4070)
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user