You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a custom recipe involving Enchanted Books Under their vanilla max enchantment level. If you get them out of creative, or buy them from a villager, they have less NBT than if you get the enchanted book by upgrading in an anvil. (Place in anvil any 2 enchanted books at least one level under it's max, to get the next level) (ex: Sharpness IV + Sharpness IV will equal Sharpness V.
The books you get from a villager or creative tab, will look like this: (Let's call this Variant A)
The books you get from upgrading enchanted books in anvil look like this: (Let's call this Variant B)
For some reason minecraft adds this extra "repair_cost" nbt.
Steps to reproduce the bug | 复现此Bug的步骤
Create a custom recipe using books Variant A
Try to use the custom recipe with books obtained thru Variant B
Observe that the plugin does not recognize the item as part of the recipe.
Server version | 服务器版本
Folia 1.21.1-R0.1 - SNAPSHOT -
I'm gonna add here that I tested this on a single player world on Minecraft 1.21.1 and the behavior is the same, the extra NBT gets added as well. Checked via data get entity @s SelectedItem
Craftorithm Version | Craftorithm的版本
Plugin Version: 1.10.10-20240913
FULL server log | 完整服务器日志
Not relevant
Other files, you can drag and drop them here to upload | 其他文件,你可以拖拽文件到这里上传
Describe the bug | 描述你遇到的bug
Create a custom recipe involving Enchanted Books Under their vanilla max enchantment level. If you get them out of creative, or buy them from a villager, they have less NBT than if you get the enchanted book by upgrading in an anvil. (Place in anvil any 2 enchanted books at least one level under it's max, to get the next level) (ex: Sharpness IV + Sharpness IV will equal Sharpness V.
The books you get from a villager or creative tab, will look like this: (Let's call this Variant A)
The books you get from upgrading enchanted books in anvil look like this: (Let's call this Variant B)
For some reason minecraft adds this extra "repair_cost" nbt.
Steps to reproduce the bug | 复现此Bug的步骤
Server version | 服务器版本
Folia 1.21.1-R0.1 - SNAPSHOT -
data get entity @s SelectedItem
Craftorithm Version | Craftorithm的版本
Plugin Version: 1.10.10-20240913
FULL server log | 完整服务器日志
Not relevant
Other files, you can drag and drop them here to upload | 其他文件,你可以拖拽文件到这里上传
Not relevant
Images | 相关图片
https://imgur.com/a/gNqkhQA
The text was updated successfully, but these errors were encountered: