Interface IFabricatorRecipe

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

public interface IFabricatorRecipe extends IForestryRecipe
  • Field Summary

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CODEC, CONDITIONAL_CODEC, STREAM_CODEC
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.crafting.ShapedRecipe
     
    net.minecraft.world.item.crafting.Ingredient
     
    net.neoforged.neoforge.fluids.FluidStack
     
    boolean
    matches(net.minecraft.world.level.Level level, net.neoforged.neoforge.fluids.FluidStack liquid, net.minecraft.world.item.ItemStack stack, net.minecraft.world.Container inventory)
     

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getResultItem, isIncomplete, showNotification
  • Method Details

    • getResultFluid

      net.neoforged.neoforge.fluids.FluidStack getResultFluid()
      Returns:
      the molten liquid (and amount) required for this recipe.
    • getPlan

      net.minecraft.world.item.crafting.Ingredient getPlan()
      Returns:
      the plan for this recipe (the item in the top right slot)
    • getCraftingGridRecipe

      net.minecraft.world.item.crafting.ShapedRecipe getCraftingGridRecipe()
      Returns:
      the crafting grid recipe. The crafting recipe's getRecipeOutput() is used as the IFabricatorRecipe's output.
    • matches

      boolean matches(net.minecraft.world.level.Level level, net.neoforged.neoforge.fluids.FluidStack liquid, net.minecraft.world.item.ItemStack stack, net.minecraft.world.Container inventory)