Class AbstractRecipeType<R extends IRecipeStorage>

java.lang.Object
com.minecolonies.api.crafting.AbstractRecipeType<R>
Direct Known Subclasses:
ClassicRecipe, MultiOutputRecipe

public abstract class AbstractRecipeType<R extends IRecipeStorage> extends Object
Base class for RecipeStorage types
  • Constructor Details

    • AbstractRecipeType

      public AbstractRecipeType(R recipe)
      Constructor basis for recipe types
  • Method Details

    • getRecipe

      public IRecipeStorage getRecipe()
      Get the recipe this type instance is associated with
    • getId

      public abstract net.minecraft.resources.ResourceLocation getId()
      Get the ID of this type
    • getOutputDisplayStacks

      public List<net.minecraft.world.item.ItemStack> getOutputDisplayStacks()
      The output display stacks, for rotation through in the views