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

@@ -44,7 +44,8 @@ public class SmelteryRender implements ISimpleBlockRenderingHandler
SmelteryLogic logic = (SmelteryLogic) world.getTileEntity(x, y, z);
if (logic.validStructure)
{
int posX = logic.centerPos.x - 1, posY = logic.centerPos.y, posZ = logic.centerPos.z - 1;
//int posX = logic.centerPos.x - 1, posY = logic.centerPos.y, posZ = logic.centerPos.z - 1;
int posX = logic.minPos.x, posY = logic.minPos.y, posZ = logic.minPos.z; // todo: proper rendering
//Melting
if (logic.getSizeInventory() > 0)
{