Skip to content

Changelog ​

This page lists changes since 1.11.1.0. For older versions, see GitHub Releases.

1.16.6.0 2026-11-26 ​

Update Contents ​

  1. Recipe world restrictions have been upgraded to "world conditions". The new world_conditions option restricts recipes by in-game time, world difficulty, weather, dimension and moon phase in addition to world name, for every recipe type.
  2. Added the API RecipeApi#canUseInWorld(NamespacedKey, World) to check whether a recipe is currently available in a given world.

1.16.5.0 2026-11-18 ​

Breaking Changes ​

  1. The API event RecipeLoadFromConfigEvent has been renamed to RecipeRegisterEvent and now exposes reason() (RELOAD, NEW_RECIPE, EDIT_RECIPE). Plugins listening to it need to be updated accordingly.

Update Contents ​

  1. Added an auto_discover option to recipes. When enabled, the recipe is automatically discovered for players when they join, after a plugin reload completes, and when the recipe is created or edited.
  2. Added an "Auto-discover recipe book" toggle to the recipe creator and editor, flipping auto_discover for the current recipe.
  3. Added the API event CraftorithmReloadDoneEvent, fired asynchronously after the plugin finishes reloading.

1.16.4.1 2026-11-13 ​

Breaking Changes ​

  1. The minimum supported version is now 1.20.1; 1.20 is no longer supported.

Update Contents ​

  1. Fixed furnace, blast furnace, smoker and campfire recipes returning icon items such as the furnace as their result on 1.20.3-1.21.1.
  2. Fixed all recipes failing to register on 1.21.6 because no matching NMS implementation was found.
  3. Fixed a NoSuchMethodError when registering smithing transform recipes (vanilla_smithing_transform) on Paper 1.21.5-1.21.8.
  4. Fixed smithing trim recipes (vanilla_smithing_trim) always using the bolt pattern on 1.21.5 and above.
  5. Fixed a NoSuchMethodError when rebuilding recipe data on Paper 1.21.9-1.21.11.
  6. Fixed smithing transform recipes (vanilla_smithing_transform) failing to register on Spigot 1.21.11.

1.16.4.0 2026-11-12 ​

Update Contents ​

  1. The plugin license has changed from GPL-3.0 to MIT.
  2. Result processor values now support scripts: numbers, booleans and text (display_name, item_name, lore, skull_profile) can be written as a script wrapped in <>, e.g. value: '<random_int(0, 100)>'. Scripts can use the player, source_item and result_item variables. See Result Processors for details.
  3. Added an add behavior to the skull_profile result processor, writing a player profile to the skull via name / uuid.
  4. Added a result processor extension API; third-party plugins can register new components or append behaviors to existing ones via CraftorithmApi#resultProcessor().
  5. Added the PlaceholderAPI placeholder %craftorithm_discovered_craftorithm%, returning the number of Craftorithm recipes the player has unlocked.
  6. Fixed the editor not returning to the previous page when opened from a custom menu or the recipe list menu.
  7. Fixed attribute result processors not working below 1.20.5.

1.16.3.2 2026-11-08 ​

Update Contents ​

  1. Optimized ingredient matching performance.
  2. Optimized lore-based ingredient restriction rules.
  3. Optimized reload performance when disabling all vanilla recipes is enabled.
  4. Optimized tab completion for recipe-related commands.

1.16.3.1 2026-11-07 ​

Update Contents ​

  1. Added a lazy_recipe_sync option to choose how recipes are synced. false (default) syncs to all online players right after a recipe change; true marks the change first and syncs when the player opens a workbench, furnace, recipe book or similar, avoiding the bandwidth spike of pushing recipes to every player at once.
  2. Optimized packet usage when registering and unregistering recipes; players no longer receive redundant full advancement and tag packets during reloads or single recipe registration.
  3. Fixed an issue where, with multiple allowed worlds configured, a world that did not exist when recipes were loaded could not use the corresponding recipes even after a world with the same name was created.
  4. Fixed a recurring error on 26.1-26.1.2 and early 26.2 when the furnace was burning with an empty fuel slot.

1.16.2.0 2026-11-01 ​

Update Contents ​

  1. Fixed item pack entries failing to resolve forward references, nested references and shared dependencies, and added detection for circular and invalid references.
  2. Further fixed unstable/duplicate ids in the built-in item provider when the same item is saved under multiple ids; overwriting an item definition no longer matches other items by mistake.
  3. Fixed campfire recipes behaving incorrectly under some circumstances on Spigot.
  4. Fixed brewing recipe templates and per-slot result items not being isolated, so result processor changes leaked across slots and batches.
  5. Fixed the lectern book take trigger key not matching the event it is bound to; the key has been renamed from player_take_campfire to player_take_lectern_book.
  6. Fixed the player object being incorrect for the player_death, block_break and block_place triggers under some circumstances.
  7. Fixed crafting, smithing and anvil triggers still running actions after the craft was cancelled by another plugin.
  8. Fixed recipes whose key cannot be obtained not going through ingredient restriction rules.
  9. Fixed the Vault, VaultUnlocked and PlayerPoints economy script functions not returning the actual transaction result.
  10. Fixed the AdvancedEnchantments result processor not being registered at all.
  11. Fixed the recipe editor potentially losing the original recipe or reporting a false success when saving failed to parse or register.
  12. A single failing result processor component no longer affects the remaining components of the same recipe. Component parameters are validated at load time and invalid ones are skipped with a warning.
  13. Fixed several anvil recipe issues with Ctrl+Q dropping, batch craft counting and level cost display.
  14. Fixed the /craftorithm disable command erroring on an invalid recipe id and tab completion going out of bounds with no arguments.
  15. Fixed reloads potentially deleting players' unlocked recipes.
  16. Fixed a possible closed connection being returned while the database connection was being rebuilt.
  17. Fixed log_level being set to an invalid value causing plugin load/reload to fail.

1.16.1.0 2026-10-31 ​

Breaking Changes ​

  1. For the lore (item lore) component of result processors, the add strategy now appends to the result item's existing lore instead of overwriting it. Recipes that need to replace the whole lore should change type: add to type: set.

Update Contents ​

  1. Added a set strategy to result processors for full replacement. It is available on the components that can hold multiple entries: lore, enchantments, attributes, item flags and persistent data. See Result Processors for details.
  2. Result processors now support new component types: damage, max_damage, base_color, skull_profile, enchantment_glint_override, potion, glider, enchantable, tooltip_style, use_cooldown and damage_resistant, and trim now supports the add strategy.
  3. Added a "Save all components of the result item" toggle to the recipe creator and recipe editor. When enabled, saving a recipe writes every component of the result item into the built-in item provider.
  4. Fixed an issue since 1.15.0.0 where ingredient restriction rules did not apply to vanilla recipes or recipes registered by other plugins. The recipes list now accepts * to match every recipe, which is the only form that matches recipes whose key is unavailable.
  5. Fixed an issue where a recipe could be crafted in every world when world isolation listed a single world that does not exist.
  6. Fixed an issue where an anvil recipe with restricted ingredients blocked other anvil recipes using the same ingredients.
  7. Fixed an issue where a recipe was removed from the disabled list even though restoring it failed, causing the recipe to be lost.
  8. Fixed an issue where reloading processed already disabled recipes again.
  9. Fixed an error when shift-clicking an empty backpack slot while the furnace menu is open.
  10. Fixed an issue where shaped recipes on 1.21+ did not handle ingredient restrictions correctly.
  11. Fixed the stonecutter editor reading the wrong result item.

1.16.0.0 2026-10-26 ​

Update Contents ​

  1. Added a remainders section for shaped and shapeless recipes, controlling what each input slot leaves behind after a craft. The available actions are damage (consume durability), replace (replace with the given item) and keep (keep the original item). See Crafting Remainders for details.
  2. (Configs are migrated automatically) Ingredient-related config options have been consolidated into the ingredient section: ingredient_restriction_rules is now ingredient.restriction_rules, ingredient_use_set_threshold is now ingredient.use_set_threshold, and ingredient_match_mode is now ingredient.try_all_possible_item_id (the old all maps to true and the old first maps to false).
  3. Fixed an issue where the built-in item provider resolved an unstable item ID when the same item was saved under different IDs, which could cause the item to be matched incorrectly in crafting.
  4. Adjusted the output timing of some load and reload messages.

1.15.3.0 2026-10-21 ​

Breaking Changes ​

  1. Removed the use_experimental_recipe_ingredients option and added the ingredient_match_mode option to choose how recipe ingredients are matched: first (default, matches using the first recognized item id) or all (collects all possible item ids of an item and tries them one by one, which costs more performance).

Update Contents ​

  1. not_convert_listener_classes now supports entries ending with * for class-name prefix matching.
  2. Consecutive plugin reload requests are now queued and executed in order instead of being dropped.
  3. Optimized the plugin's startup loading flow.
  4. Reduced excessive network bandwidth usage during reload on 26.3 when a large number of brewing recipes are disabled.
  5. The log level for successfully converted third-party listeners has been changed from verbose to info.
  6. Fixed recipes restored via /craftorithm restore not showing up in command tab completion.
  7. Fixed an issue where an unparseable item id in ingredient_restriction_rules aborted reloading of the entire rule list.
  8. Fixed meaningless warnings when migrating integer config options.

1.15.2.1 2026-10-16 ​

Update Contents ​

  1. Fixed #148

1.15.2.0 2026-10-14 ​

Breaking Changes ​

  1. The developer API entry point CraftorithmAPI has been refactored into CraftorithmApi and split by domain into four sub-APIs: ItemApi, RecipeApi, TriggerApi and MenuApi. Use item() / recipe() / trigger() / menu() on the entry point Craftorithm.api() (or CraftorithmApi.INSTANCE) to obtain the corresponding sub-API; see the Developer Docs for details. The item, recipe and trigger methods have been moved to their respective sub-APIs, and the old getPlugin() and isReloading() methods have been removed.
  2. The debug configuration key has been removed in favor of log_level, whose value can be debug / verbose / info / warn / error / off. On startup the plugin automatically migrates the old debug: true to log_level: debug and debug: false to log_level: info.

Update Contents ​

  1. Added a menu API (MenuApi), allowing other plugins to open, register or unregister the recipe creator, editor and display menus. See Menu API for details.
  2. Renamed the recipe editor base class RecipeEditorMenu to RecipeEditor.
  3. Refined log output, demoting many messages (such as other-plugin listener conversion) to the verbose level.
  4. Optimized code structure.

1.15.1.0 2026-10-05 ​

Breaking Changes ​

  1. Refactored the plugin's permission structure. Commands and menus now share the same permissions. Recipe-related permission nodes have been unified from craftorithm.command.<action> and craftorithm.edit_recipe to craftorithm.recipe.<action>, and item-related permissions have been changed to craftorithm.item. See Permissions for details.

Update Contents ​

  1. Added a delete recipe icon to the recipe editor menu. Clicking it deletes the recipe currently being edited (requires the craftorithm.recipe.remove permission).
  2. The brewing recipe display menu now also supports the server's builtin brewing recipes (Paper on 26.3 and above).
  3. Added a recipe_load trigger type that fires when Craftorithm loads recipes, with a recipe_key field indicating the key of the recipe being loaded.
  4. Added discover_recipe_all and undiscover_recipe_all script functions to unlock or lock recipes for all online players.
  5. Fixed an issue where, on versions 26.2 and above, disabling vanilla crafting table transmute recipes would prevent the plugin from reloading recipes properly.
  6. The default configuration files of the built-in UIs are no longer packaged in the plugin jar and are now generated automatically at runtime.
  7. Optimized code structure and performance.

1.15.0.0 2026-09-28 ​

Update Contents ​

  1. Spigot 26.3 servers now also support creating brewing recipes.
  2. Added the command /craftorithm item getgroupitem <tag>/<item_pack>, used to obtain the placeholder item for an item tag or item pack used in recipe menus.
  3. Added the ability to make recipes only take effect in specified worlds.
  4. Subcommands under the /craftorithm item command no longer require separate permissions.
  5. Fixed an issue where plugin could not correctly block brewing when the ingredients could not be used for crafting.
  6. Fixed an issue where the ingredient count of anvil recipes was displayed incorrectly in the menu.
  7. Optimized code structure and performance.

1.14.2.0 2026-09-24 ​

Update Contents ​

  1. Added PostgreSQL support.
  2. The script functions discover_recipe and undiscover_recipe can now also use regular expressions to match recipes.
  3. Added a new script function recipe_discovered, which returns whether a player has unlocked a specific recipe.
  4. Optimized plugin code structure and performance.

1.14.1.1 2026-09-17 ​

Update Contents ​

  1. Optimized the resource release strategy when the plugin is disabled.

1.14.1.0 2026-09-17 ​

Breaking Changes ​

  1. The ItemProvider interface provided by the plugin has changed, so item provider plugins written for older versions need extra adaptation to be compatible with this version
  2. Item amounts can no longer be defined inside item packs; all amounts must be defined in the recipe files

Regular Changes ​

  1. Compatible with Minecraft 26.3
  2. Item pack ingredients in anvil recipes now support specifying an amount, e.g. item_pack:pack_name 4
  3. Added restoring online players' discovered recipes from the database after plugin reload and server startup
  4. Fixed an issue where joining the server before recipe registration completed would cause already unlocked recipes to be locked again
  5. Fixed an issue where ingredient restriction rules briefly stopped working during reload, allowing crafting that should have been blocked
  6. Fixed item pack entries in item_packs.yml using tag: or nested item pack references (item_pack:pack_name) failing to parse
  7. Fixed /craftorithm item fuel add writing invalid config keys containing amounts to custom_fuels.yml when holding a stack; existing invalid keys need to be removed manually
  8. Fixed database connection pool connection limits, heartbeat startup timing and idle connection eviction, as well as resource leaks from unclosed DAO statements and result sets
  9. Fixed a ConcurrentModificationException when saving items under certain conditions
  10. Fixed a NullPointerException in the fake result preview feature under certain timing
  11. Fixed the open callback of custom menus being invoked twice when menu loading fails
  12. Fixed a concurrency issue with trigger data between the async reload thread and the main thread
  13. Optimized internal code structure and removed unreferenced code

1.14.0.0 2026-09-09 ​

Update Contents ( @YufiriaMazenta ) ​

  1. Added database-based cross-server recipe unlock data synchronization functionality.
  2. Fixed an issue where anvil recipes could not be crafted without an anvil-type trigger

1.13.7.3 2026-09-05 ​

Update Contents ( @YufiriaMazenta ) ​

  1. Fixed an issue where a large number of disabled recipes could instantly saturate the server's network bandwidth during plugin reload

1.13.7.2 2026-09-05 ​

Update Contents ( @YufiriaMazenta ) ​

  1. Fixed a bug where crafting type triggers did not work on the crafter
  2. Fixed a bug where executing the close action in the conditions of crafting, smithing, and anvil triggers would cause the crafting ingredients to disappear
  3. Renamed the enabled config key in triggers to enable (with backward compatibility for the old enabled key).

1.13.7.1 2026-09-02 ​

Update Contents ( @YufiriaMazenta ) ​

  1. Fixed the issue where MMOItems items could not be loaded in asynchronous threads.
  2. Optimized the recipe loading process in the recipe creator and editor

1.13.7.0 2026-09-01 ​

Update Contents ( @YufiriaMazenta ) ​

  1. Optimized plugin reload by using multi-threaded parallel loading to reduce performance overhead
  2. Added command /craftorithm restore <recipe_id> to re-enable disabled recipes
  3. Added config option ingredient_use_set_threshold to configure recipe ingredient matching behavior
  4. Optimized reload notification messages
  5. Optimized plugin code structure
  6. Optimized recipe ingredient matching performance
  7. Optimized shapeless recipe performance
  8. Optimized trigger performance
  9. Fixed disabled recipes not being restored after reload

1.13.6.0 2026-08-26 ​

注意,从旧版本升级到此版本建议删除menus/internal/display文件夹让其重新生成

Note: If upgrading from a previous version, please delete the menus/internal/display folder to let it regenerate

Update Contents ​

  1. Result processors now allow other plugins to register new action types ( @YufiriaMazenta )
  2. Craftorithm item sources can now also have priority configured via the item_plugin_hook_priority config option ( @YufiriaMazenta )
  3. Fixed an issue where stonecutter recipe ingredient were displayed incorrectly in the recipe display menu ( @YufiriaMazenta )
  4. Fixed incorrect text on the display menus for furnace, smoker, campfire, and smithing transform recipes ( @YufiriaMazenta )

1.13.5.2 2026-08-20 ​

Update Contents ​

  1. Fixed an issue where the plugin failed to enable on Folia servers in version 1.13.5.1 ( @YufiriaMazenta )
  2. Fixed an issue where the result processor could not parse style codes for the add operation on display_name, item_name, and lore ( @YufiriaMazenta )
  3. Result processors of type lore, display_name, and item_name now support parsing PlaceholderAPI variables during add operations ( @YufiriaMazenta )

1.13.5.1 2026-08-19 ​

此版本没有任何新增特性,只是对插件的整体性能表现进行了大幅度优化

This version does not introduce any new features; it is solely focused on significantly optimizing the plugin's overall performance

Update Contents ​

  1. Optimized the performance of ItemManager when matching item id.
  2. Optimized the performance of CraftorithmItemProvider in matching item id
  3. Optimized memory consumption of trigger cooldowns
  4. Optimized the performance overhead of NamespacedItemId.toString()
  5. Optimized recipe loading performance
  6. Optimized performance overhead of UI recipe creation and editing
  7. Fixed some issues that could cause memory leaks

1.13.5.0 2026-08-18 ​

Update Contents ​

  1. The blocked_crafting_lore_rules config option has been replaced by ingredient_restriction_rules, which is used to configure rules that block items from being used in crafting ( @YufiriaMazenta )
  2. Fixed #142 ( @YufiriaMazenta )

1.13.4.0 2026-08-17 ​

⚠️重要:不建议使用此版本,此版本因为删除了cannot_craft_items导致可能出现严重问题,请直接使用1.13.5.0

⚠️Important: It is not recommended to use this version. Due to the removal of the cannot_craft_items configuration, this version may cause serious issues. Please use version 1.13.5.0 instead.

Update Contents ​

  1. Added a new configuration option, blocked_crafting_lore_rules, which allows specifying lore that will block an item from being used in crafting recipes ( @YufiriaMazenta )
  2. Removed cannot_craft_items – superseded by blocked_crafting_lore_rules ( @YufiriaMazenta )
  3. Added PlaceholderAPI variables %craftorithm_discovered_<recipe_key>% and %craftorithm_discovered%, returning whether the player has discovered (unlocked in the recipe book) a specific recipe, and the total number of recipes the player has discovered respectively ( @YufiriaMazenta )
  4. Fixed #140 ( @YufiriaMazenta )

1.13.3.0 2026-08-13 ​

Update Contents ​

  1. Added prepare_grindstone and trade_select trigger types (@YufiriaMazenta)
  2. Added match_item_id function to the script system for identifying item id (@YufiriaMazenta)
  3. Added global variables server recipe_manager item_manager to the script system, which can now be used in triggers, the script command, and menus (@YufiriaMazenta)
  4. The script subcommand now returns the time taken in nanoseconds instead of milliseconds (@YufiriaMazenta)
  5. Added CustomFishing item source adapter (#138) (@bai779)
  6. Added support for EmakiItem 2.7.0 (@YufiriaMazenta)
  7. Fixed #136 (@YufiriaMazenta)
  8. Fixed #139 (@YufiriaMazenta)

1.13.2.0 2026-08-07 ​

Update Contents ​

  1. Now stonecutter recipes can also use result processors(Paper and its forks only).
  2. Result processors now support defining multiple processors within one component type.
  3. Fixed an issue where the attribute result processor did not support versions 1.20 to 1.20.4.
  4. Fixed an issue where reloading, enabling, or disabling datapacks would cause plugin recipes to become invalid(Paper and its forks only).
  5. Fixed a bug where the create command and the recipe creation menu could not use the '/' symbol as a recipe name.

1.13.1.0 2026-08-06 ​

Update Contents ​

  1. Now item pack can import items from tags or other item packs
  2. Fixed https://github.com/YufiriaMazenta/Craftorithm/issues/135
  3. Change the configuration file directory for the recipe book UI from menus/internal/recipeBook to menus/internal/recipe_book

1.13.0.0 2026-08-03 ​

Update Contents ​

  1. Added a result processor feature to add additional effects to the recipe output during crafting.
  2. Added an event object to the context of all trigger types, allowing manipulation of related event behaviors.
  3. Added commands /craftorithm discover <target> <recipe_key_pattern> and /craftorithm undiscover <target> <recipe_key_pattern>, which respectively unlock and lock recipes in the recipe book for players. The <recipe_key_pattern> supports regex.
  4. Fixed an issue where the sound function in triggers would throw an error when encountering an unparseable sound.
  5. Fixed an issue where tab completion for /craftorithm display only listed the plugin's own recipes.
  6. Fixed an issue on Minecraft versions 1.21.3 and above where smithing table recipes could not place ingredients in the correct slots in some cases.
  7. Optimized code structure and performance.

1.12.2.0 2026-07-31 ​

Update Contents ​

  1. The script syntax has undergone major changes. The shorthand format like tell "hello world" is no longer supported; you must now use the full function syntax, e.g., tell("hello world").
  2. Swapped the positions of the ingredient and input fields in the brewing recipe creation/editing UI.
  3. Fixed a bug where brewing recipes would not produce the correct result on version 1.26.1.
  4. Fixed an issue where brewing recipe result refreshing would sometimes fail to update all slots or correctly override the result stack size.

1.12.1.0 2026-07-28 ​

Update Contents ​

  1. Changed the behavior of the set_inv_item function; it will now attempt to place the item in another slot or drop it if the target slot already contains an item.
  2. The script now disallows bare argument syntax by default; the enable_script_bare_args config option must be enabled to use it.
  3. Added compatibility for EmakiItem plugin item sources.
  4. Fixed an issue where anvil recipes did not correctly display the result when renaming items.
  5. Fixed an issue where the enchantment copying rule did not use the higher base enchantment level.
  6. Fixed a parsing error with tagged ingredients that have quantities in anvil recipes.
  7. Fixed a NullPointerException (NPE) issue with anvils on versions below 1.21 when the recipe no longer matches.
  8. Fixed an issue where custom actions were executed twice when clicking to edit the recipe display icon.
  9. Fixed an issue where Spigot 1.21.11 could not register recipes because the recipe registry implementation for 1.21.11 was not packaged.
  10. Optimized code structure and performance.

1.12.0.3 2026-07-24 ​

Update Contents ​

  1. Fixed brewing recipe creation errors on minecraft 1.20.1–1.20.2.
  2. Fixed a bug in 1.21+ where shapeless multi‑ingredient recipes could bypass checks and accept invalid items in certain slot arrangements

1.12.0.2 2026-07-23 ​

Update Contents ​

  1. Fixed an issue where opening the recipe book menu for all recipes would cause an error when trim type smithing recipes were present
  2. Fixed an issue where the brewing recipe display menu could not be opened correctly
  3. Fixed an issue where the command and console functions would cause errors in the folia environment

1.12.0.1 2026-07-22 ​

Update Contents ​

  1. Fixed the issue where the disable command could not correctly disable special recipes
  2. Optimized plugin memory usage

1.12.0.0 2026-07-21 ​

Update Contents ​

  1. Except for stonecutter recipes on versions above 1.21.3, all recipe ingredients checks are performed by item ID. This means that adding enchantments or renaming items will no longer prevent crafting.
  2. Fixed an issue where SmithingTrimRecipe could not be used correctly. For versions above 1.21.5, the trim_pattern must now be specified for smithing trim recipes
  3. Added new APIs for recipe registration and ingredient identification
  4. Optimized plugin reload performance, and fixed network lag and client-side stuttering that occurred during reload
  5. Fixed an issue where shapeless recipe creation pages could create ingredients with null items
  6. Improved UI text display
  7. The script command can now be executed from the console
  8. Added compatibility with VaultUnlocked

1.11.4.1 2026-07-11 ​

Update Contents ​

  1. Fixed the issue where the sorting button text in the recipe_list menu was not parsed correctly
  2. The recipebook command now supports passing all as an argument to view all recipes
  3. Tags now support the tag:<namespace>:<key> syntax to allow reading tags added by data packs

1.11.4.0 2026-07-11 ​

Update Contents ​

  1. The tag syntax now supports tag:<namespace>:<key> to allow reading newly added item tags from datapacks
  2. Now the trigger's conditions supports two writing styles: simple expressions and full scripts
  3. Added int and float functions to the script module for forcing a numeric variable to integer or float type
  4. Fixed issue #124
  5. Fixed an error with update checking

1.11.3.0 2026-07-08 ​

Update Contents ​

  1. Fixed an issue where BackIcon would throw an error when asynchronously closing a page with no parent page.
  2. Added several math-related functions to the script module.
  3. Optimized the update checking mechanism.

1.11.2.0 2026-07-07 ​

Update Contents ​

  1. Added script function set_inv_item for setting the item at a specified slot in a container opened by a player
  2. Now the crafting event-related trigger context includes the IDs and counts of crafting ingredients, as well as the number of times the crafting is performed in a single event
  3. If a trigger of a recipe is on cooldown, this crafting and all related triggers will be blocked
  4. Optimized argument parsing for the recipebook command; the current usage format is /craftorithm recipebook [--player <name>] [--type <type>]
  5. Fixed the issue where the lore of RecipeDisplayIcon would duplicate

1.11.1.1 2026-07-05 ​

Update Contents ​

  1. Fixed an issue where ProtocolLib hooks would throw exceptions in certain situations

1.11.1.0 2026-07-04 ​

Compatibility Notes ​

  • Minimum Minecraft version raised: Minimum supported version raised from 1.19 to 1.20
  • Recipe file format changes: Recipe files will be auto-converted, but random_cooking type recipes have been removed
  • Script system: Legacy script system removed, function.yml file is no longer functional
  • packetevents / ProtocolLib: Optimization for client lag caused by recipe updates and virtual recipe preview require one of these to be installed

New Plugin Documentation ​

https://yufiriamazenta.github.io/Craftorithm-Docs/


New Features ​

New Script Engine ​

  • Full DSL script engine: Lexer → AST → Compiler → Stack-based VM
  • Supports conditionals (if/elseif/else), arithmetic operators (+ - * / %), string concatenation, negation (!)
  • Supports variables (set/get), delayed execution (delay), logging (log), sound playback (sound)
  • Built-in condition functions: game_mode, permission, item, compare, etc.
  • Built-in action functions: tell, give, run_cmd, take_item, play_sound, etc.
  • New /craftorithm script subcommand for executing scripts

New Trigger System ​

  • New Trigger module supporting dozens of trigger types, monitoring recipe crafting, item usage, and more

UI Improvements ​

  • Enhanced recipe list page: recipe list, type selection menu, sort by time/name, opened via /craftorithm recipebook
  • Recipe creator UI rewritten
  • Recipe editor UI rewritten
  • Recipe display pages are now customizable via YAML config files for layout and icons
  • New custom menu feature, create custom interfaces via YAML config files
  • Menu buttons support binding script actions by click type (actions config)
  • Menu buttons support item_model field

Other New Features ​

  • Automatic legacy recipe format conversion (LegacyRecipeMigrator)
  • Virtual recipe preview based on packetevents or ProtocolLib
  • New main_command_aliases config option for setting main command aliases
  • New tick-batched loading, distributes recipe loading across multiple ticks to reduce lag
  • New ItemPack item pack feature, allowing a ingredient slot to accept multiple items, similar to vanilla tags
  • New SX-Item hook
  • New item component copy system for anvil and smithing recipes (copy_components_rules), supports: all, item_name, item_model, trim, unbreakable, tool, hide_tooltip, fire_resistance, custom_model_data_component, display_name, lore, enchantments, attributes, item_flag, max_stack_size, rarity, food, custom_model_data, custom_persistent_data

API Extensions ​

  • New RecipeRegisterEvent event
  • Expanded CraftorithmAPI (new item management, recipe management, trigger management methods)

Bug Fixes ​

  • Fixed a bug where server recipe cache and disabled recipes could malfunction
  • Fixed disable_recipes.yml duplicate recording issue

Optimizations ​

  • Optimized client lag during recipe updates
  • Improved listener restoration logic for other plugins during reload

基于 MIT 许可证发布