public static class PipeEventFluid.OnMoveToCentre extends PipeEventFluid
PipeEventFluid.PreMoveToCentre
when all of the amounts have been totalled up.PipeEventFluid.OnMoveToCentre, PipeEventFluid.PreMoveToCentre, PipeEventFluid.SideCheck, PipeEventFluid.TryInsert
Modifier and Type | Field and Description |
---|---|
net.minecraftforge.fluids.FluidStack |
fluid
The fluid that is being moved.
|
int[] |
fluidEnteringCentre |
int[] |
fluidLeavingSide |
flow
canBeCancelled, holder
Constructor and Description |
---|
OnMoveToCentre(IPipeHolder holder,
IFlowFluid flow,
net.minecraftforge.fluids.FluidStack fluid,
int[] fluidLeavingSide,
int[] fluidEnteringCentre) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
checkStateForErrors()
Called after every event handler has received this pipe event, to pick up simple mistakes when implementing pipe
event handlers.
|
cancel, isCanceled
public final net.minecraftforge.fluids.FluidStack fluid
public final int[] fluidLeavingSide
public final int[] fluidEnteringCentre
public OnMoveToCentre(IPipeHolder holder, IFlowFluid flow, net.minecraftforge.fluids.FluidStack fluid, int[] fluidLeavingSide, int[] fluidEnteringCentre)
public java.lang.String checkStateForErrors()
PipeEvent
checkStateForErrors
in class PipeEvent