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 |
canDrainFluidType(net.minecraftforge.fluids.FluidStack fluid) |
boolean |
canFillFluidType(net.minecraftforge.fluids.FluidStack fluid) |
int |
fill(net.minecraftforge.fluids.FluidStack resource,
boolean doFill) |
drain, 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.capability.IFluidHandlerfill in interface net.minecraftforge.fluids.IFluidTankfill in class org.cyclops.cyclopscore.fluid.SingleUseTankpublic boolean canFillFluidType(net.minecraftforge.fluids.FluidStack fluid)
canFillFluidType in class org.cyclops.cyclopscore.fluid.SingleUseTankpublic boolean canDrainFluidType(net.minecraftforge.fluids.FluidStack fluid)
canDrainFluidType in class org.cyclops.cyclopscore.fluid.SingleUseTank