Modifier and Type | Method and Description |
---|---|
FluidStack |
IFluidTank.drain(FluidStack resource,
IFluidHandler.FluidAction action) |
FluidStack |
IFluidTank.drain(int maxDrain,
IFluidHandler.FluidAction action) |
FluidStack |
IFluidBlock.drain(World world,
BlockPos pos,
IFluidHandler.FluidAction action)
Attempt to drain the block.
|
int |
IFluidTank.fill(FluidStack resource,
IFluidHandler.FluidAction action) |
int |
IFluidBlock.place(World world,
BlockPos pos,
FluidStack fluidStack,
IFluidHandler.FluidAction action)
Attempts to place the block at a given position.
|
Modifier and Type | Method and Description |
---|---|
static IFluidHandler.FluidAction |
IFluidHandler.FluidAction.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IFluidHandler.FluidAction[] |
IFluidHandler.FluidAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
FluidStack |
IFluidHandler.drain(FluidStack resource,
IFluidHandler.FluidAction action)
Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.
|
FluidStack |
IFluidHandler.drain(int maxDrain,
IFluidHandler.FluidAction action)
Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.
|
int |
IFluidHandler.fill(FluidStack resource,
IFluidHandler.FluidAction action)
Fills fluid into internal tanks, distribution is left entirely to the IFluidHandler.
|
Modifier and Type | Method and Description |
---|---|
FluidStack |
VoidFluidHandler.drain(FluidStack resource,
IFluidHandler.FluidAction action) |
FluidStack |
FluidHandlerItemStackSimple.drain(FluidStack resource,
IFluidHandler.FluidAction action) |
FluidStack |
FluidTank.drain(FluidStack resource,
IFluidHandler.FluidAction action) |
FluidStack |
FluidHandlerItemStack.drain(FluidStack resource,
IFluidHandler.FluidAction action) |
FluidStack |
EmptyFluidHandler.drain(FluidStack resource,
IFluidHandler.FluidAction action) |
FluidStack |
VoidFluidHandler.drain(int maxDrain,
IFluidHandler.FluidAction action) |
FluidStack |
FluidHandlerItemStackSimple.drain(int maxDrain,
IFluidHandler.FluidAction action) |
FluidStack |
FluidTank.drain(int maxDrain,
IFluidHandler.FluidAction action) |
FluidStack |
FluidHandlerItemStack.drain(int maxDrain,
IFluidHandler.FluidAction action) |
FluidStack |
EmptyFluidHandler.drain(int maxDrain,
IFluidHandler.FluidAction action) |
int |
VoidFluidHandler.fill(FluidStack resource,
IFluidHandler.FluidAction action) |
int |
FluidHandlerItemStackSimple.fill(FluidStack resource,
IFluidHandler.FluidAction action) |
int |
FluidTank.fill(FluidStack resource,
IFluidHandler.FluidAction action) |
int |
FluidHandlerItemStack.fill(FluidStack resource,
IFluidHandler.FluidAction doFill) |
int |
EmptyFluidHandler.fill(FluidStack resource,
IFluidHandler.FluidAction action) |
Modifier and Type | Method and Description |
---|---|
FluidStack |
FluidBucketWrapper.drain(FluidStack resource,
IFluidHandler.FluidAction action) |
FluidStack |
FluidBucketWrapper.drain(int maxDrain,
IFluidHandler.FluidAction action) |
int |
BlockWrapper.fill(FluidStack resource,
IFluidHandler.FluidAction action) |
int |
FluidBucketWrapper.fill(FluidStack resource,
IFluidHandler.FluidAction action) |