mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-02 14:03:37 +02:00
Made fluid collector not output and input wrong stuff
This commit is contained in:
parent
144e8e4d0a
commit
c1eb3fb644
|
@ -28,7 +28,17 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
|||
|
||||
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;
|
||||
private int lastTankAmount;
|
||||
private int currentTime;
|
||||
|
|
Loading…
Reference in a new issue