mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Comment out fluids until King gets his hands on it
This commit is contained in:
1 parent
6eb9915690
commit
9cf0a5b68b
13 files changed
+114
-65
No files matched your search
@@ -12,6 +12,13 @@ import net.minecraft.tileentity.TileEntity;
|
||||
*/
|
||||
public class FluidTank implements IFluidTank
|
||||
{
|
||||
@Override public FluidStack getFluid() { return null; }
|
||||
@Override public int getFluidAmount() { return 0; }
|
||||
@Override public int getCapacity() { return 0; }
|
||||
@Override public FluidTankInfo getInfo() { return null; }
|
||||
@Override public int fill(FluidStack resource, boolean doFill) { return 0; }
|
||||
@Override public FluidStack drain(int maxDrain, boolean doDrain){ return null; }
|
||||
/*
|
||||
protected FluidStack fluid;
|
||||
protected int capacity;
|
||||
protected TileEntity tile;
|
||||
@@ -69,7 +76,7 @@ public class FluidTank implements IFluidTank
|
||||
this.capacity = capacity;
|
||||
}
|
||||
|
||||
/* IFluidTank */
|
||||
/* IFluidTank * /
|
||||
@Override
|
||||
public FluidStack getFluid()
|
||||
{
|
||||
@@ -127,7 +134,7 @@ public class FluidTank implements IFluidTank
|
||||
|
||||
if (tile != null)
|
||||
{
|
||||
FluidEvent.fireEvent(new FluidEvent.FluidFillingEvent(fluid, tile.worldObj, tile.xCoord, tile.yCoord, tile.zCoord, this));
|
||||
FluidEvent.fireEvent(new FluidEvent.FluidFillingEvent(fluid, tile.func_145831_w(), tile.field_145851_c, tile.field_145848_d, tile.field_145849_e, this));
|
||||
}
|
||||
return fluid.amount;
|
||||
}
|
||||
@@ -150,7 +157,7 @@ public class FluidTank implements IFluidTank
|
||||
|
||||
if (tile != null)
|
||||
{
|
||||
FluidEvent.fireEvent(new FluidEvent.FluidFillingEvent(fluid, tile.worldObj, tile.xCoord, tile.yCoord, tile.zCoord, this));
|
||||
FluidEvent.fireEvent(new FluidEvent.FluidFillingEvent(fluid, tile.func_145831_w(), tile.field_145851_c, tile.field_145848_d, tile.field_145849_e, this));
|
||||
}
|
||||
return filled;
|
||||
}
|
||||
@@ -180,9 +187,10 @@ public class FluidTank implements IFluidTank
|
||||
|
||||
if (tile != null)
|
||||
{
|
||||
FluidEvent.fireEvent(new FluidEvent.FluidDrainingEvent(fluid, tile.worldObj, tile.xCoord, tile.yCoord, tile.zCoord, this));
|
||||
FluidEvent.fireEvent(new FluidEvent.FluidDrainingEvent(fluid, tile.func_145831_w(), tile.field_145851_c, tile.field_145848_d, tile.field_145849_e, this));
|
||||
}
|
||||
}
|
||||
return stack;
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user