SerenityJS
    Preparing search index...

    Class ShapedCraftingRecipe

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    identifier: string
    keys: Record<string, CraftingRecipeIngredient> = {}

    The ingredients keys and their corresponding CraftingRecipeIngredient.

    pattern: [string, string, string] = ...

    The pattern of the recipe, represented as an array of strings. Each string represents a row in the crafting grid, with a maximum of three characters per row.

    priority: number = 0

    The priority of the recipe.

    recipeNetworkId: number = ++Recipe.recipeNetworkId
    resultants: (ItemStack | ItemType)[] = []

    The resulting items of the recipe.

    symmetrical: boolean = true

    Whether the recipe is symmetrical or not.

    tags: string[] = []
    uuid: string
    recipeNetworkId: number = 0
    recipes: Map<string, Recipe> = ...

    Methods