Перейти к основному содержимому

discovery_codex_recipe_category

Defines a discovery codex recipe category — misc entry.

Entry Information

PropertyValue
Entry IDdiscovery_codex_recipe_category
TypeMisc
Color
Icon#FFD700

Description

Manifest entry describing a recipe category displayed in the discovery codex.

Fields

FieldTypeDescription
categoryStringUnique identifier for this recipe category
titleStringTitle displayed at the top of the recipe category inventory
rowsIntNumber of rows for the recipe category inventory (1-6)
orderIntDisplay order when listing recipe categories
iconItemIcon used when referencing this recipe category
iconNameString?Optional custom name for the category icon in menus. Placeholders: {unlocked}, {total}
iconLoreList<String>Optional lore lines for the category icon. Placeholders: {unlocked}, {total}
lockedIconLoreList<String>Lore to display for the icon when the recipe category is locked
backgroundItem?Optional background filler item for the recipe category inventory
itemSlotRangeStringRange of slots where recipe entries will be displayed (e.g. '1-25')
startSlotIntSlot index where recipe entries start (0-based)
fillByRowBooleanIf true, recipe entries fill row by row; otherwise column by column
previousButtonItem?Item used for the previous page button in the recipe category inventory
previousButtonSlotIntSlot for the previous page button
previousButtonNameString?Custom name for the previous page button
previousButtonLoreList<String>Lore for the previous page button
nextButtonItem?Item used for the next page button in the recipe category inventory
nextButtonSlotIntSlot for the next page button
nextButtonNameString?Custom name for the next page button
nextButtonLoreList<String>Lore for the next page button
backButtonItem?Item used for the back button in the recipe category inventory
backButtonSlotIntSlot for the back button (default: 44)
backButtonNameString?Custom name for the back button
backButtonLoreList<String>Lore for the back button
parentCategoryString?Optional parent category identifier
criteriaList<Criteria>Default criteria that unlock recipes in this category
guiLayoutCodexGuiLayoutGUI layout type for the recipe category menu
onUnlockTriggersList<Ref<TriggerableEntry>>Triggers to fire when this recipe category is unlocked by a player
itemsList<RecipeItemConfig>Recipes contained within this category
menuTitleStringTitle of the detailed recipe menu displayed when viewing a recipe
menuRowsIntNumber of inventory rows for the detailed recipe menu (1-6)
menuBackgroundItem?Background filler item for the detailed recipe menu
resultSlotIntSlot index (0-based) used to display the crafted result
craftingGridSlotsList<Int>Slots used for the 3x3 crafting grid (must contain 9 entries)
menuBackButtonItem?Optional back button item for the detailed recipe menu
menuBackButtonSlotIntSlot index (0-based) for the detailed recipe back button
menuBackButtonNameString?Custom name for the detailed recipe back button
menuBackButtonLoreList<String>Lore applied to the detailed recipe back button
menuStationSlotIntSlot index (0-based) used to display the crafting station for the recipe; set to -1 to disable
menuStationNameString?Custom name applied to the crafting station item
menuStationLoreList<String>Lore applied to the crafting station item
menuIndicatorButtonItem?Optional indicator button displayed in the detailed recipe menu
menuIndicatorButtonSlotsList<Int>Slots (0-based) where the indicator button will be placed
menuIndicatorButtonNameString?Custom name applied to the indicator button
menuIndicatorButtonLoreList<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: []