Skip to main content

Recipe Picker GUI

Structory opens the recipe picker when more than one valid recipe can be crafted from the same structure interaction.

You can also force it to open every time with:

options:
crafting:
open-gui: ALWAYS

When the GUI appears

SituationBehavior
No valid recipeNothing is crafted.
One valid recipeStructory crafts it directly by default.
Multiple valid recipesStructory opens the recipe picker.
open-gui: ALWAYSStructory opens the picker even with one valid recipe.

Recipe display item

The item shown in the picker is configured in the recipe with item-display.

my_recipe:
name: my_recipe
item-display:
material: DIAMOND
amount: 1
name: "Diamond Ritual"
lore:
- "Consumes the altar ingredients."
- "Creates a refined reward."
glow: true

Supported display fields include:

FieldDescription
materialBukkit material used as the icon.
amountStack amount shown in the GUI.
name, display_name, displayNameDisplay name.
loreLore as a list, or as text split with <br>.
glowAdds an enchanted glow effect.
custom_model_data, customModelDataCustom model data.
skull_owner, skullOwnerSkull owner for player heads.
unbreakableMarks the display item as unbreakable.
flagsItem flags to hide attributes or metadata.
enchantsEnchantments used on the display item.
durabilityDisplay item durability.
dataLegacy data value.

Example with multiple choices

Structure:

options:
crafting:
recipe: ["forge"]
open-gui: ALWAYS
recipe-slots:
offsets:
- "0 1 1"
- "0 1 -1"

Recipe A:

iron_reward:
name: iron_reward
discovers: "forge"
item-display:
material: IRON_INGOT
name: "Iron Reward"
ingredients:
input:
type: item
material: COAL
result:
reward:
type: item
offset: "0 1 0"
item:
material: IRON_INGOT

Recipe B:

gold_reward:
name: gold_reward
discovers: "forge"
item-display:
material: GOLD_INGOT
name: "Gold Reward"
ingredients:
input:
type: item
material: COAL
result:
reward:
type: item
offset: "0 1 0"
item:
material: GOLD_INGOT

With open-gui: ALWAYS, the player can choose which recipe to craft.

Current GUI customization status

The current build exposes recipe display items through item-display and crafting behavior through open-gui.

The picker layout itself is handled internally by Structory in the current build. Treat item-display as the stable customization point for server administrators.

Difference from the Admin GUI

The Recipe Picker GUI is a player-facing GUI. It appears during crafting when more than one recipe can match the current ingredients.

The Admin GUI is different. It is opened by staff with commands such as:

/structory admin recipe

Use the Admin GUI to inspect recipes and configuration. Use the Recipe Picker GUI to let players choose what they want to craft.