mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
A lot of missing patches to code re-added. Almost all functionality should now
be restored. ModLoader compatibility is not yet assured, there are some wrapper classes that need re-writing first
This commit is contained in:
1 parent
d17aad797d
commit
0927aaa0f1
27 files changed
+580
-237
No files matched your search
@@ -19,9 +19,9 @@ import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import cpw.mods.fml.client.BlockRenderManager;
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import cpw.mods.fml.client.TextureFXManager;
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.FMLLog;
|
||||
|
||||
@@ -76,16 +76,16 @@ public class FMLRenderAccessLibrary
|
||||
|
||||
public static boolean renderWorldBlock(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, Block block, int modelId)
|
||||
{
|
||||
return BlockRenderManager.instance().renderWorldBlock(renderer, world, x, y, z, block, modelId);
|
||||
return RenderingRegistry.instance().renderWorldBlock(renderer, world, x, y, z, block, modelId);
|
||||
}
|
||||
|
||||
public static void renderInventoryBlock(RenderBlocks renderer, Block block, int metadata, int modelID)
|
||||
{
|
||||
BlockRenderManager.instance().renderInventoryBlock(renderer, block, metadata, modelID);
|
||||
RenderingRegistry.instance().renderInventoryBlock(renderer, block, metadata, modelID);
|
||||
}
|
||||
|
||||
public static boolean renderItemAsFull3DBlock(int modelId)
|
||||
{
|
||||
return BlockRenderManager.instance().renderItemAsFull3DBlock(modelId);
|
||||
return RenderingRegistry.instance().renderItemAsFull3DBlock(modelId);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user