public static class FluidEvent.FluidDrainingEvent extends FluidEvent
IFluidTank.drain(int, boolean)
from their
tank.FluidEvent.FluidDrainingEvent, FluidEvent.FluidFillingEvent, FluidEvent.FluidMotionEvent, FluidEvent.FluidSpilledEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
FluidDrainingEvent(FluidStack fluid,
World world,
BlockPos pos,
IFluidTank tank,
int amount) |
Modifier and Type | Method and Description |
---|---|
int |
getAmount() |
IFluidTank |
getTank() |
fireEvent, getFluid, getPos, getWorld
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public FluidDrainingEvent(FluidStack fluid, World world, BlockPos pos, IFluidTank tank, int amount)
public IFluidTank getTank()
public int getAmount()