Created CustomObjectRenderer to allow for BufferedImages to be rendered at a given Position. This supports Zoom and Rotation on all 3 axes.

This commit is contained in:
CrushedPixel
2015-07-06 00:28:57 +02:00
parent 49e391555c
commit 013d5963ff
6 changed files with 208 additions and 7 deletions

View File

@@ -23,7 +23,11 @@ public class ResourceHelper {
}
public static void registerResource(ResourceLocation loc) {
openResources.add(loc);
if(!openResources.contains(loc)) openResources.add(loc);
}
public static boolean isRegistered(ResourceLocation loc) {
return openResources.contains(loc);
}
public static void freeResource(ResourceLocation loc) {