mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-24 05:54:34 +00:00
Remove the old smeltery stuff that was meant for comatibility, because it's too complicated to separately keep it in.
This commit is contained in:
1 parent
cdd28f6412
commit
448d29e5a2
8 files changed
+2
-2184
No files matched your search
@@ -44,10 +44,7 @@ public class SmelteryProxyClient extends SmelteryProxyCommon
|
||||
RenderingRegistry.registerBlockHandler(new BlockRenderCastingChannel());
|
||||
|
||||
if (!PHConstruct.newSmeltery) {
|
||||
if(PHConstruct.oldSmeltery)
|
||||
RenderingRegistry.registerBlockHandler(new SmelteryRenderOld());
|
||||
else
|
||||
RenderingRegistry.registerBlockHandler(new SmelteryRender());
|
||||
RenderingRegistry.registerBlockHandler(new SmelteryRender());
|
||||
}
|
||||
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(CastingTableLogic.class, new CastingTableSpecialRenderer());
|
||||
@@ -121,8 +118,6 @@ public class SmelteryProxyClient extends SmelteryProxyCommon
|
||||
{
|
||||
if (PHConstruct.newSmeltery)
|
||||
return new AdaptiveSmelteryGui(player.inventory, (AdaptiveSmelteryLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
else if(PHConstruct.oldSmeltery)
|
||||
return new SmelteryGuiOld(player.inventory, (SmelteryLogicOld) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
else
|
||||
return new SmelteryGui(player.inventory, (SmelteryLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user