Move the old smelterylogic implementation to backup classes for a compatibility config. Change most logic to take actual smeltery size into account.

This commit is contained in:
Bernhard Bonigl committed 2014-09-11 16:49:28 +02:00
1 parent c0ad340460
commit 9818edc0a8
11 files changed
+2218 -509

No files matched your search

@@ -117,6 +117,8 @@ 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);
}