Pular para o conteúdo principal

fast_crafting

Fast Crafting — misc entry.

Entry Information

PropertyValue
Entry IDfast_crafting
TypeMisc
ColorYellow
Iconmaterial-symbols:add-row-above

Description

Action entry that opens a fast crafting menu using the GUI extension. Layout is defined via [layoutPool] with buttonType markers for dynamic slots. Supported button types (prefixed fastcraft_button:): - OPEN_GRID — opens vanilla crafting table - REFRESH — refreshes recipe list - PAGE_PREV — previous page - PAGE_NEXT — next page - CRAFT_AMOUNT — cycle craft quantity - CLOSE — close the menu Recipe slots are automatically generated from [recipeGrid] configuration and injected via [FastCraftingRecipeLayout].

Fields

FieldTypeDescription
inventoryTitleVar<String>Title of the inventory.
inventoryRowsIntNumber of rows (1-6).
guiTypeGuiTypeGUI type to use (CUSTOM is recommended).
layoutPoolList<LayoutData>Pool of layout definitions for static decorations and button markers.
mainLayoutIdString?ID of the main layout to display from the pool.
recipeGridRecipeGridConfigConfiguration of the recipe suggestion grid.
classicCraftingClassicCraftingConfigConfiguration of the classic 3x3 crafting area (optional).
craftAmountButtonCraftAmountButtonConfigConfiguration of the craft quantity selector.
dropWhenInventoryFullBooleanDrop crafted items on the ground when the player's inventory is full.
autoRefreshTicksIntAuto-refresh recipes every N ticks (0 = disabled).
allowShiftCraftAllBooleanAllow shift-click to craft the maximum amount.
fastCraftPermissionStringPermission required to use fast crafting (blank = no permission required).
recipeNamespaceStringFilter recipes by namespace (e.g. 'custom' for BTC recipes only). Blank = all recipes.
disableVanillaRecipesBooleanDisable all vanilla (minecraft:) recipes.
useMMOItemsRecipesBooleanUse MMOItems station recipes instead of vanilla recipes.
craftCooldownTicksIntCooldown between crafts in ticks (0 = no cooldown).
audioGuiAudioDataAudio configuration for the GUI.

Usage Example

- entry: fast_crafting
name: "Fast Crafting"
inventoryTitle: ""
inventoryRows: 0
guiType: ""
layoutPool: []
mainLayoutId: ""
recipeGrid: ""
classicCrafting: ""
craftAmountButton: ""
dropWhenInventoryFull: false
autoRefreshTicks: 0
allowShiftCraftAll: false
fastCraftPermission: ""
recipeNamespace: ""
disableVanillaRecipes: false
useMMOItemsRecipes: false
craftCooldownTicks: 0
audio: ""