### 更新内容 | Update Contents
1. 更改set_inv_item函数行为,现在其会在容器对应位置已经存在物品时尝试将物品放在其他位置或丢出物品 | 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. 现在script默认不再允许裸参数语法,必须开启`enable_script_bare_args`配置项才能使用 | The script now disallows bare argument syntax by default; the `enable_script_bare_args` config option must be enabled to use it.
3. 添加EmakiItem插件物品源适配 | Added compatibility for EmakiItem plugin item sources.
4. 修复铁砧配方在更改物品名字时,不能正确显示出结果的问题 | Fixed an issue where anvil recipes did not correctly display the result when renaming items.
5. 修复附魔复制规则未使用base更高附魔等级的问题 | Fixed an issue where the enchantment copying rule did not use the higher base enchantment level.
6. 修复铁砧配方中带数量的tag材料解析错误的问题 | Fixed a parsing error with tagged materials that have quantities in anvil recipes.
7. 修复1.21以下版本铁砧在配方不再匹配时NPE的问题 | 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. 修复因为未将1.21.11的配方注册器实现打包导致的1.21.11的spigot端无法注册配方的问题 | Fixed an issue where Spigot 1.21.11 could not register recipes because the recipe registry implementation for 1.21.11 was not packaged.
11. 优化代码结构和性能表现 | Optimized code structure and performance.
Optional dependencies
PacketEvents
Any compatible version
MythicMobs
Any compatible version
CraftEngine
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }