Posted December 23, 20222 yr hai i'm doing some tools and weapons for the mod then comes the recipes i want this items recipes to use minecraft tags way the recipes keeps working even if another mod cames an overrides the base materials as you can see the knife recipe works the battleaxe recipe works but the lance recipe don't works this mod is named merctool i have spend like a day triying things like moving the knife tag to the merctool folder dobble and trippple check item names and routes dont works and dont know why the knife { "type": "minecraft:crafting_shaped", "pattern": [ " S ", " R " ], "key": { "S": { "tag": "minecraft:ingots/steel" }, "R": { "tag": "minecraft:rods/carbon" } }, "result": { "item": "merctool:knife_steel", "count": 1 } } the battleaxe { "type": "minecraft:crafting_shaped", "pattern": [ "S S", "SRS", " R " ], "key": { "S": { "tag": "minecraft:ingots/steel" }, "R": { "tag": "minecraft:rods/carbon" } }, "result": { "item": "merctool:battleaxe_steel", "count": 1 } } the lance { "type": "minecraft:crafting_shaped", "pattern": [ " K", " R ", "R " ], "key": { "K": { "tag": "minecraft:knifes/steel" }, "S": { "tag": "minecraft:ingots/steel" }, "R": { "tag": "minecraft:rods/carbon" } }, "result": { "item": "merctool:lance_steel", "count": 1 } } tags steel ingot src/main/resources/data/minecraft/tags/items/ingots/steel.json { "replace": false, "values": [ "merctool:ingot_steel" ] } tags rod carbon src/main/resources/data/minecraft/tags/items/rods/carbon.json { "replace": false, "values": [ "merctool:rod_carbon" ] } tags knifes steel src/main/resources/data/minecraft/tags/items/knifes/steel.json { "replace": false, "values": [ "merctool:knife_steel" ] } can you help whit it can you see whats missing/wrong ?? thanks for your time Edited December 23, 20222 yr by perromercenary00
December 23, 20222 yr I suggest you put the code on github so we can see everything in context and try it for ourselves. Posting snippets is pretty useless unless there is an obvious error. One thing I can see is you have an ingredient "S" in your lance recipe but never use it in the recipe. I don't know what happens in that case. You should probably check your log for errors/warnings Finally, you are using the wrong tags if your aim is interoperability with other mods. e.g. minecraft:ingots/steel should be forge:ingots/steel. https://forge.gemwire.uk/wiki/Tags#Items https://github.com/BluSunrize/ImmersiveEngineering/blob/1.18.2/src/generated/resources/data/forge/tags/items/ingots/steel.json Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
December 23, 20222 yr Author haa that was i move all the tags files to the forge folder and know the recipe works { "type": "minecraft:crafting_shaped", "pattern": [ " K", " R ", "R " ], "key": { "K": { "tag": "forge:knifes/steel" }, "R": { "tag": "forge:rods/carbon" } }, "result": { "item": "merctool:lance_steel", "count": 1 } }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.