This Datapack allows you to create custom crafts on 1.20 blacksmithing tables easily.
1.20の鍛冶台でのカスタムクラフトが簡単に作れちゃうデータパック
- 1.20 snapshot(23w04a)
Player Item Tuner(https://github.com/Ai-Akaishi/PlayerItemTuner)
Pretty Crafter(https://github.com/Ai-Akaishi/PrettyCrafter)
AiMath(https://github.com/Ai-Akaishi/AiMath)
1.あなたのデータパックで鍛冶台のレシピの素材を登録してね。
itemは好きなアイテムに変えてOK!
1.Register materials of the recipe for the smithing table in your datapack.
You can change the "item"s to any item you like!
> your_namespace/recipes/your_recipes.json
{
"type": "minecraft:smithing_trim",
"template": {
"item": "minecraft:feather"
},
"base": {
"item": "minecraft:stick"
},
"addition": {
"item": "minecraft:flint"
}
}
2.完成品とレシピとの関係をコマンドで登録してね。
2.Register the recipe and the result item with the commands below.
# 素材を指定します。 / Specify materials.
data modify storage pretty_smith: template set value "minecraft:feather"
data modify storage pretty_smith: base set value {id:"minecraft:stick"}
data modify storage pretty_smith: addition set value "minecraft:flint"
# 完成品を指定します。 / Specify the result item.
data modify storage pretty_smith: result set value {id:"minecraft:arrow",Count:4b,tag:{display:{Name:'{"text":"鍛冶台で作っただけの普通の矢","italic":false,"color":"light_purple"}'}}}
# レシピを登録します。 / Register the recipe.
function #pretty_smith:add
These codes are released under the MIT License, see LICENSE.