discovery_codex_recipe_category
Defines a discovery codex recipe category — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | discovery_codex_recipe_category |
| Type | Misc |
| Color | — |
| Icon | #FFD700 |
Description
Manifest entry describing a recipe category displayed in the discovery codex.
Fields
| Field | Type | Description |
|---|---|---|
category | String | Unique identifier for this recipe category |
title | String | Title displayed at the top of the recipe category inventory |
rows | Int | Number of rows for the recipe category inventory (1-6) |
order | Int | Display order when listing recipe categories |
icon | Item | Icon used when referencing this recipe category |
iconName | String? | Optional custom name for the category icon in menus. Placeholders: {unlocked}, {total} |
iconLore | List<String> | Optional lore lines for the category icon. Placeholders: {unlocked}, {total} |
lockedIconLore | List<String> | Lore to display for the icon when the recipe category is locked |
background | Item? | Optional background filler item for the recipe category inventory |
itemSlotRange | String | Range of slots where recipe entries will be displayed (e.g. '1-25') |
startSlot | Int | Slot index where recipe entries start (0-based) |
fillByRow | Boolean | If true, recipe entries fill row by row; otherwise column by column |
previousButton | Item? | Item used for the previous page button in the recipe category inventory |
previousButtonSlot | Int | Slot for the previous page button |
previousButtonName | String? | Custom name for the previous page button |
previousButtonLore | List<String> | Lore for the previous page button |
nextButton | Item? | Item used for the next page button in the recipe category inventory |
nextButtonSlot | Int | Slot for the next page button |
nextButtonName | String? | Custom name for the next page button |
nextButtonLore | List<String> | Lore for the next page button |
backButton | Item? | Item used for the back button in the recipe category inventory |
backButtonSlot | Int | Slot for the back button (default: 44) |
backButtonName | String? | Custom name for the back button |
backButtonLore | List<String> | Lore for the back button |
parentCategory | String? | Optional parent category identifier |
criteria | List<Criteria> | Default criteria that unlock recipes in this category |
guiLayout | CodexGuiLayout | GUI layout type for the recipe category menu |
onUnlockTriggers | List<Ref<TriggerableEntry>> | Triggers to fire when this recipe category is unlocked by a player |
items | List<RecipeItemConfig> | Recipes contained within this category |
menuTitle | String | Title of the detailed recipe menu displayed when viewing a recipe |
menuRows | Int | Number of inventory rows for the detailed recipe menu (1-6) |
menuBackground | Item? | Background filler item for the detailed recipe menu |
resultSlot | Int | Slot index (0-based) used to display the crafted result |
craftingGridSlots | List<Int> | Slots used for the 3x3 crafting grid (must contain 9 entries) |
menuBackButton | Item? | Optional back button item for the detailed recipe menu |
menuBackButtonSlot | Int | Slot index (0-based) for the detailed recipe back button |
menuBackButtonName | String? | Custom name for the detailed recipe back button |
menuBackButtonLore | List<String> | Lore applied to the detailed recipe back button |
menuStationSlot | Int | Slot index (0-based) used to display the crafting station for the recipe; set to -1 to disable |
menuStationName | String? | Custom name applied to the crafting station item |
menuStationLore | List<String> | Lore applied to the crafting station item |
menuIndicatorButton | Item? | Optional indicator button displayed in the detailed recipe menu |
menuIndicatorButtonSlots | List<Int> | Slots (0-based) where the indicator button will be placed |
menuIndicatorButtonName | String? | Custom name applied to the indicator button |
menuIndicatorButtonLore | List<String> | Lore applied to the indicator button |
Usage Example
- entry: discovery_codex_recipe_category
name: "Defines a discovery codex recipe category"
category: ""
title: ""
rows: 0
order: 0
icon: ""
iconName: ""
iconLore: []
lockedIconLore: []
background: ""
itemSlotRange: ""
startSlot: 0
fillByRow: false
previousButton: ""
previousButtonSlot: 0
previousButtonName: ""
previousButtonLore: []
nextButton: ""
nextButtonSlot: 0
nextButtonName: ""
nextButtonLore: []
backButton: ""
backButtonSlot: 0
backButtonName: ""
backButtonLore: []
parentCategory: ""
criteria: []
guiLayout: ""
onUnlockTriggers: []
items: []
menuTitle: ""
menuRows: 0
menuBackground: ""
resultSlot: 0
craftingGridSlots: 0
menuBackButton: ""
menuBackButtonSlot: 0
menuBackButtonName: ""
menuBackButtonLore: []
menuStationSlot: 0
menuStationName: ""
menuStationLore: []
menuIndicatorButton: ""
menuIndicatorButtonSlots: 0
menuIndicatorButtonName: ""
menuIndicatorButtonLore: []