public IOreProcessorRecipe
Represents a OreProcessor recipe.
Modifier and Type | Method and Description |
---|---|
kotlin.Pair<net.minecraftforge.fluids.FluidStack,net.minecraftforge.fluids.FluidStack> |
getOutputForTick(int tick)
Returns the amounts of fluid generated for the current tick
|
net.minecraft.item.ItemStack[] |
getPossibleInputs()
Gets a list of possible inputs.
This is only used for display purposes and JEI integration.
|
int |
getProcessingTicks()
Gets the total number of ticks this recipe needs to be processed for
|
kotlin.Pair<net.minecraftforge.fluids.FluidStack,net.minecraftforge.fluids.FluidStack> |
getTotalOutput()
Gets all the outputs of this recipe.
This is only used for display purposes and JEI integration
|
boolean |
isInput(net.minecraft.item.ItemStack stack,
boolean ignoreSize)
Tests if an ItemStack can be used as an input for this recipe.
|
net.minecraft.item.ItemStack |
processInput(net.minecraft.item.ItemStack stack)
Modifies the input ItemStack by taking out the items required by this recipe
|
boolean isInput(net.minecraft.item.ItemStack stack, boolean ignoreSize)
Tests if an ItemStack can be used as an input for this recipe.
stack
- the possible input ItemStackignoreSize
- if true, only test the item and not also if there are enough items for the recipenet.minecraft.item.ItemStack processInput(net.minecraft.item.ItemStack stack)
Modifies the input ItemStack by taking out the items required by this recipe
stack
- the input stack to be modifiedkotlin.Pair<net.minecraftforge.fluids.FluidStack,net.minecraftforge.fluids.FluidStack> getOutputForTick(int tick)
Returns the amounts of 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.minecraft.item.ItemStack[] getPossibleInputs()
Gets a list of possible inputs. This is only used for display purposes and JEI integration.
kotlin.Pair<net.minecraftforge.fluids.FluidStack,net.minecraftforge.fluids.FluidStack> getTotalOutput()
Gets all the outputs of this recipe. This is only used for display purposes and JEI integration