Tidy up some APIs, expose the addOverride mechanism. This should be pluggable by forge

but may need work to allow for each mod to have it's own override set
This commit is contained in:
Christian committed 2012-08-13 19:57:40 -04:00
1 parent b0fd438a1d
commit 6922c369f3
8 files changed
+168 -42

No files matched your search

@@ -74,16 +74,19 @@ public class FMLRenderAccessLibrary
TextureFXManager.instance().onTexturePackChange(engine, texturePack, textureFXList);
}
@SuppressWarnings("deprecation")
public static boolean renderWorldBlock(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, Block block, int modelId)
{
return RenderingRegistry.instance().renderWorldBlock(renderer, world, x, y, z, block, modelId);
}
@SuppressWarnings("deprecation")
public static void renderInventoryBlock(RenderBlocks renderer, Block block, int metadata, int modelID)
{
RenderingRegistry.instance().renderInventoryBlock(renderer, block, metadata, modelID);
}
@SuppressWarnings("deprecation")
public static boolean renderItemAsFull3DBlock(int modelId)
{
return RenderingRegistry.instance().renderItemAsFull3DBlock(modelId);