9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-19 15:09:15 +00:00

feat(core): 添加查看物品配方和用法功能

This commit is contained in:
jhqwqmc
2025-03-16 19:01:02 +08:00
parent 7f77bf16ff
commit 0af6d4a9a8
2 changed files with 5 additions and 7 deletions

View File

@@ -42,15 +42,15 @@ item_recipe_browser:
enable: true
permission: ce.command.item_recipe_browser
usage:
- /craftengine item recipe
- /ce item recipe
- /craftengine recipe by-result
- /ce recipe by-result
item_usage_browser:
enable: true
permission: ce.command.item_usage_browser
usage:
- /craftengine item usage
- /ce item usage
- /craftengine recipe by-ingredient
- /ce recipe by-ingredient
# Debug commands
debug_set_block:

View File

@@ -49,5 +49,3 @@ command.item.get.failure.not_exist: "<red><lang:argument.item.id.invalid:'<arg:0
command.item.give.success.single: "<lang:commands.give.success.single:'<arg:0>':'<arg:1>':'<arg:2>'>"
command.item.give.success.multiple: "<lang:commands.give.success.multiple:'<arg:0>':'<arg:1>':'<arg:2>'>"
command.item.give.failure.not_exist: "<red><lang:argument.item.id.invalid:'<arg:0>'></red>"
command.item.recipe.browser.recipe.no_found: "<red>No recipe found for this item</red>"
command.item.usage.browser.recipe.no_found: "<red>No usage found for this item</red>"