mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
Remove sides from fluid interface
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user