Interface IFluidHandlerCapacity
- All Superinterfaces:
net.minecraftforge.fluids.capability.IFluidHandler
- All Known Implementing Classes:
SingleUseTank
,Tank
public interface IFluidHandlerCapacity
extends net.minecraftforge.fluids.capability.IFluidHandler
A fluid handler with a mutable capacity.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.fluids.capability.IFluidHandler
net.minecraftforge.fluids.capability.IFluidHandler.FluidAction
-
Method Summary
Modifier and TypeMethodDescriptionint
getTankCapacity
(int tank) void
setTankCapacity
(int tank, int capacity) Methods inherited from interface net.minecraftforge.fluids.capability.IFluidHandler
drain, drain, fill, getFluidInTank, getTanks, isFluidValid
-
Method Details
-
setTankCapacity
void setTankCapacity(int tank, int capacity) -
getTankCapacity
int getTankCapacity(int tank) - Specified by:
getTankCapacity
in interfacenet.minecraftforge.fluids.capability.IFluidHandler
-