Pular para o conteúdo principal

Recipe Definition

The Discovery Recipe Definition defines a collection of recipes (Crafting, Furnace, etc.) that can be viewed in a guidable book format.

Configuration

categoryString

Unique ID for this recipe book.

titleString

Title of the menu.

rowsInt

Size of the menu.

Display & Icon

iconItem

Icon used for this book in main menus.

criteria

"> Conditions to unlock access to this recipe book.

Recipe Items

The items list defines the recipes to display.

entryIdString

Unique ID for this recipe entry.

recipeKeyString

The Minecraft recipe key (e.g., minecraft:iron_pickaxe or a custom key).

itemItem

Icon displayed when unlocked.

lockedItemItem

Icon displayed when locked.

criteria

"> Criteria to unlock visibility of this recipe.

Detail View Configuration

When a player clicks a recipe, a detailed view opens.

menuTitleString

Title of the detail view.

craftingGridSlots

"> Slots indices for the 3x3 grid display.

resultSlotInt

Slot index for the output result.

menuStationSlotInt

Slot to display the required crafting station (e.g. Workbench).