Remove sides from fluid interface

This commit is contained in:
Matej Dipčár authored and Matej Dipčár committed 2022-11-28 01:44:36 +01:00
1 parent 9b992731c2
commit bcb688c079
2 files changed
+1 -4

No files matched your search

@@ -84,9 +84,6 @@ public class GuiFluidInterface extends AEBaseGui {
mc.getTextureManager().bindTexture(TextureMap.locationBlocksTexture);
for (int i = 0; i < 6; i++) {
if (!isPart()) {
fontRendererObj.drawString(dirName(i), TANK_X + i * TANK_X_OFF + 5, 22, 0x404040);
}
renderFluidIntoGui(TANK_X + i * TANK_X_OFF, TANK_Y, TANK_WIDTH, TANK_HEIGHT,
fluidInv.getFluidInSlot(i), fluidInv.getTankInfo(ForgeDirection.UNKNOWN)[i].capacity);
}
@@ -38,7 +38,7 @@ public class TileFluidInterface extends TileInterface implements IFluidHandler,
private final DualityFluidInterface fluidDuality = new DualityFluidInterface(this.getProxy(), this) {
@Override
public FluidStack drain(ForgeDirection from, int maxDrain, boolean doDrain) {
return this.getTanks().drain(from.ordinal(), maxDrain, doDrain);
return this.getTanks().drain(from, maxDrain, doDrain);
}
};
private final AppEngInternalAEInventory config = new AppEngInternalAEInventory(this, 6);