mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Made fluid collector not output and input wrong stuff
This commit is contained in:
parent
144e8e4d0a
commit
c1eb3fb644
1 changed files with 11 additions and 1 deletions
|
@ -28,7 +28,17 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
public class TileEntityFluidCollector extends TileEntityBase implements IFluidSaver, IRedstoneToggle, net.minecraftforge.fluids.IFluidHandler{
|
public class TileEntityFluidCollector extends TileEntityBase implements IFluidSaver, IRedstoneToggle, net.minecraftforge.fluids.IFluidHandler{
|
||||||
|
|
||||||
public final FluidTank tank = new FluidTank(8*Util.BUCKET);
|
public final FluidTank tank = new FluidTank(8*Util.BUCKET){
|
||||||
|
@Override
|
||||||
|
public boolean canFill(){
|
||||||
|
return TileEntityFluidCollector.this.isPlacer;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canDrain(){
|
||||||
|
return !TileEntityFluidCollector.this.isPlacer;
|
||||||
|
}
|
||||||
|
};
|
||||||
public boolean isPlacer;
|
public boolean isPlacer;
|
||||||
private int lastTankAmount;
|
private int lastTankAmount;
|
||||||
private int currentTime;
|
private int currentTime;
|
||||||
|
|
Loading…
Reference in a new issue