public IFluidProcessorRecipe
Modifier and Type | Method and Description |
---|---|
net.minecraftforge.fluids.FluidStack |
getInputForTick(int tick)
Returns the amount of fluid required at the current tick
|
kotlin.Pair<net.minecraft.item.ItemStack,net.minecraftforge.fluids.FluidStack> |
getOutputForTick(int tick)
Returns the amounts of items and fluid generated for the current tick
|
int |
getProcessingTicks()
Gets the total number of ticks this recipe needs to be processed for
|
net.minecraftforge.fluids.FluidStack |
getRecipeInput()
Gets this recipe's input fluid.
This is only used for display purposes and JEI integration.
|
kotlin.Pair<net.minecraft.item.ItemStack,net.minecraftforge.fluids.FluidStack> |
getRecipeOutput()
Gets all the outputs of this recipe.
This is only used for display purposes and JEI integration
|
boolean |
isInput(net.minecraftforge.fluids.FluidStack stack,
boolean ignoreSize)
Tests if a FluidStack can be used as an input for this recipe.
|
net.minecraftforge.fluids.FluidStack |
processInput(net.minecraftforge.fluids.FluidStack stack)
Modifies the input FluidStack by taking out the amount required by this recipe
|
boolean isInput(net.minecraftforge.fluids.FluidStack stack, boolean ignoreSize)
Tests if a FluidStack can be used as an input for this recipe.
stack
- the possible input FluidStackignoreSize
- if true, only test the fluid and not also if there is an enough amount of it for the recipenet.minecraftforge.fluids.FluidStack processInput(net.minecraftforge.fluids.FluidStack stack)
Modifies the input FluidStack by taking out the amount required by this recipe
stack
- the input fluid stack to be modifiednet.minecraftforge.fluids.FluidStack getInputForTick(int tick)
Returns the amount of fluid required at the current tick
tick
- the current tick in processing this recipe (range 0 .. processingTicks)kotlin.Pair<net.minecraft.item.ItemStack,net.minecraftforge.fluids.FluidStack> getOutputForTick(int tick)
Returns the amounts of items and fluid generated for the current tick
tick
- the current tick in processing this recipe (range 0 .. processingTicks)int getProcessingTicks()
Gets the total number of ticks this recipe needs to be processed for
net.minecraftforge.fluids.FluidStack getRecipeInput()
Gets this recipe's input fluid. This is only used for display purposes and JEI integration.
kotlin.Pair<net.minecraft.item.ItemStack,net.minecraftforge.fluids.FluidStack> getRecipeOutput()
Gets all the outputs of this recipe. This is only used for display purposes and JEI integration