public static class FluidEvent.FluidFillingEvent extends FluidEvent
IFluidTank.fill(FluidStack, boolean)
their tank implementation. FluidTank
does.FluidEvent.FluidDrainingEvent, FluidEvent.FluidFillingEvent, FluidEvent.FluidMotionEvent, FluidEvent.FluidSpilledEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
FluidFillingEvent(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 FluidFillingEvent(FluidStack fluid, World world, BlockPos pos, IFluidTank tank, int amount)
public IFluidTank getTank()
public int getAmount()