public class ImplicitFluidConversionTank
extends org.cyclops.cyclopscore.fluid.SingleUseTank
| Constructor and Description |
|---|
ImplicitFluidConversionTank(java.lang.String name,
int capacity,
org.cyclops.cyclopscore.tileentity.CyclopsTileEntity tile,
ImplicitFluidConverter converter)
Make a new tank instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCompletelyFill(net.minecraftforge.fluids.FluidStack fluidStack) |
boolean |
canTankAccept(net.minecraftforge.fluids.Fluid fluid) |
int |
fill(net.minecraftforge.fluids.FluidStack resource,
boolean doFill) |
drain, getAcceptedFluid, readTankFromNBT, reset, sendUpdate, setAcceptedFluid, writeTankToNBTgetFluidType, getName, isEmpty, isFull, readFromNBT, replaceInnerFluid, writeToNBTpublic ImplicitFluidConversionTank(java.lang.String name,
int capacity,
org.cyclops.cyclopscore.tileentity.CyclopsTileEntity tile,
ImplicitFluidConverter converter)
name - The name for the tank, will be used for NBT storage.capacity - The capacity (mB) for the tank.tile - The TileEntity that uses this tank.converter - The fluid converter.public int fill(net.minecraftforge.fluids.FluidStack resource,
boolean doFill)
fill in interface net.minecraftforge.fluids.IFluidTankfill in class org.cyclops.cyclopscore.fluid.SingleUseTankpublic boolean canTankAccept(net.minecraftforge.fluids.Fluid fluid)
canTankAccept in class org.cyclops.cyclopscore.fluid.SingleUseTankpublic boolean canCompletelyFill(net.minecraftforge.fluids.FluidStack fluidStack)
canCompletelyFill in class org.cyclops.cyclopscore.fluid.SingleUseTank