Started by
housefly888_
on
Topic category: Help with Minecraft modding (Java Edition)
How exactly would I edit the code inside my smithing table recipe to include a smithing template?
My current code is as so:
{
"type": "minecraft:smithing_transform",
"template": [],
"base": {
"item": "minecraft:iron_helmet"
},
"addition": {
"item": "minecraft:nether_quartz"
},
"[1]": {
"item": "mod:cosmo_armor_trim"
}
"result": {
"item": "mod:cosmo_armor_helmet"
}
}
What do I replace the [1] with?
Hey thank you very much for your post you helped me figure out the answer for myself, so you have it completely right just in the wrong spot, move everything inside your { } to replace where it says [ ] next to template, if you need me to I can show a picture of my code to explain better.
Where it says "template" you want to move the following line to those brackets:
"[1]": {
"item": "mod:cosmo_armor_trim"
},
You will not need the "[1]": as the template will be the slot. All you will be copying is:
{
"item": "mod:cosmo_armor_trim"
},
you will also need to delete the brackets in front of the template. Here's what my code looks like:
Hope this helps!