You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
517 B
Java
25 lines
517 B
Java
package net.minecraftforge.fluids;
|
|
|
|
/**
|
|
* Wrapper class used to encapsulate information about an IFluidTank.
|
|
*
|
|
* @author King Lemming
|
|
*
|
|
*/
|
|
public final class FluidTankInfo
|
|
{
|
|
public final FluidStack fluid;
|
|
public final int capacity;
|
|
|
|
public FluidTankInfo(FluidStack fluid, int capacity)
|
|
{
|
|
this.fluid = fluid;
|
|
this.capacity = capacity;
|
|
}
|
|
|
|
public FluidTankInfo(IFluidTank tank)
|
|
{
|
|
this.fluid = tank.getFluid();
|
|
this.capacity = tank.getCapacity();
|
|
}
|
|
} |