Package forestry.api.recipes
Interface IFermenterRecipe
- All Superinterfaces:
IForestryRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
-
Method Summary
Modifier and TypeMethodDescriptionintnet.minecraftforge.fluids.FluidStacknet.minecraft.world.item.crafting.Ingredientfloatnet.minecraft.world.level.material.Fluidbooleanmatches(net.minecraft.world.item.ItemStack inputItem, net.minecraftforge.fluids.FluidStack inputFluid) Methods inherited from interface forestry.api.recipes.IForestryRecipe
assemble, canCraftInDimensions, getGroup, getId, getIngredients, getRemainingItems, getSerializer, getToastSymbol, getType, isSpecial, matchesMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getResultItem, isIncomplete, showNotification
-
Method Details
-
getInputItem
net.minecraft.world.item.crafting.Ingredient getInputItem()- Returns:
- ItemStack representing the input resource.
-
getInputFluid
net.minecraftforge.fluids.FluidStack getInputFluid()- Returns:
- FluidStack representing the input fluid resource.
-
getFermentationValue
int getFermentationValue()- Returns:
- Value of the given resource, i.e. how much needs to be fermented for the output to be deposited into the product tank.
-
getModifier
float getModifier()- Returns:
- Modifies the amount of liquid output per work cycle. (water = 1.0f, honey = 1.5f)
-
getOutput
net.minecraft.world.level.material.Fluid getOutput()- Returns:
- Fluid representing output. Amount is determined by fermentationValue * modifier.
-
matches
boolean matches(net.minecraft.world.item.ItemStack inputItem, net.minecraftforge.fluids.FluidStack inputFluid)
-