Type Alias: GuiRecipe
ts
type GuiRecipe =
| {
key: Readonly<Record<string, GuiRecipeIngredient>>;
pattern: readonly string[];
type: "minecraft:crafting_shaped" | "crafting_shaped";
}
| {
ingredients: readonly GuiRecipeIngredient[];
type: "minecraft:crafting_shapeless" | "crafting_shapeless";
} & object;Defined in: packages/minerender/src/gui/GuiHelper.ts:75
Type Declaration
result
ts
result:
| {
count?: number;
id: string;
}
| {
count?: number;
item: string;
};