diff --git a/tile/powersink/RotaryCraft.java b/tile/powersink/RotaryCraft.java index 8b7ecfee..da912a65 100644 --- a/tile/powersink/RotaryCraft.java +++ b/tile/powersink/RotaryCraft.java @@ -74,19 +74,17 @@ public abstract class RotaryCraft extends IC2 implements ShaftPowerReceiver alpha = io; } - @Override + final public int getMachineX() { return xCoord; } - @Override final public int getMachineY() { return yCoord; } - @Override final public int getMachineZ() { return zCoord; @@ -113,7 +111,6 @@ public abstract class RotaryCraft extends IC2 implements ShaftPowerReceiver power = p; } - @Override final public boolean canReadFromBlock(int x, int y, int z) { ForgeDirection side = ForgeDirection.UNKNOWN; @@ -148,4 +145,16 @@ public abstract class RotaryCraft extends IC2 implements ShaftPowerReceiver omega = 0; } + @Override + final public boolean canReadFrom(ForgeDirection side) + { + return internalCanAcceptPower && getPowerSides().contains( side ); + } + + @Override + final public int getMinTorque(int available) + { + return 0; + } + }