Interface ICarpenterRecipe

All Superinterfaces:
IForestryRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>

public interface ICarpenterRecipe extends IForestryRecipe
  • Method Details

    • getPackagingTime

      int getPackagingTime()
      Returns:
      Number of work cycles required to craft the recipe once.
    • getCraftingGridRecipe

      net.minecraft.world.item.crafting.CraftingRecipe getCraftingGridRecipe()
      Returns:
      the crafting grid recipe. The crafting recipe's getRecipeOutput() is used as the ICarpenterRecipe's output.
    • getBox

      net.minecraft.world.item.crafting.Ingredient getBox()
      Returns:
      the box required for this recipe. return empty stack if there is no required box. Examples of boxes are the Forestry cartons and crates.
    • getInputFluid

      net.minecraftforge.fluids.FluidStack getInputFluid()
      Returns:
      the fluid required for this recipe. return FluidStack.EMPTY if there is no required fluid.
    • matches

      boolean matches(net.minecraftforge.fluids.FluidStack fluid, net.minecraft.world.item.ItemStack boxStack, net.minecraft.world.Container craftingInventory, net.minecraft.world.level.Level level)