Not needed
This commit is contained in:
parent
9970cbd6ec
commit
3d09bacb71
1 changed files with 0 additions and 22 deletions
|
@ -59,28 +59,6 @@ public class GT_MetaTileEntity_Hatch_Input extends GT_MetaTileEntity_Hatch {
|
|||
return true;
|
||||
}
|
||||
|
||||
//TODO rewrite for intake
|
||||
//@Override
|
||||
//public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
|
||||
// super.onPostTick(aBaseMetaTileEntity, aTick);
|
||||
// if (aBaseMetaTileEntity.isServerSide() && aBaseMetaTileEntity.isAllowedToWork()) {
|
||||
// IFluidHandler tTileEntity = aBaseMetaTileEntity.getITankContainerAtSide(aBaseMetaTileEntity.getFrontFacing());
|
||||
// if (tTileEntity != null) {
|
||||
// for (boolean temp = true; temp && mFluid != null; ) {
|
||||
// temp = false;
|
||||
// FluidStack tDrained = aBaseMetaTileEntity.drain(ForgeDirection.getOrientation(aBaseMetaTileEntity.getFrontFacing()), Math.max(1, mFluid.amount), false);
|
||||
// if (tDrained != null) {
|
||||
// int tFilledAmount = tTileEntity.fill(ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()), tDrained, false);
|
||||
// if (tFilledAmount > 0) {
|
||||
// temp = true;
|
||||
// tTileEntity.fill(ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()), aBaseMetaTileEntity.drain(ForgeDirection.getOrientation(aBaseMetaTileEntity.getFrontFacing()), tFilledAmount, true), true);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
@Override
|
||||
public boolean doesFillContainers() {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue