mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
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:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user