Locks

Locks

8M Downloads

Steel Lock Pick Uncraftable

WenXin20 opened this issue ยท 9 comments

commented

Minecraft v1.16.5
Forge v36.1.16
Locks v3.0.3

The recipe for the Steel Lock Pick instead crafts the Iron Lock Pick.

2021-05-28_00 30 37

commented

I found the solution in the mod's files: 1.open the mod in winrar 2.go to data;locks;recipes 3.find the file''steel_lock_pick.json'' and open it in note pad(dragging the file in) 4.this will come out:{ "type": "minecraft:crafting_shaped", "pattern": [ " SS", " S ", "S " ], "key": { "S": { "tag": "forge:ingots/steel" } }, "result": { "item": "locks:iron_lock_pick", "count": 2 } } change ''locks:iron_lock_pick'' to ''locks:steel_lock_pick'' 5.save it and drag it to the win rar(choose''agree'') 6.close it and it's done

Whenever i try and save the edits i made to the .json file, it removes the entire mod .jar file

commented

I found the solution in the mod's files: 1.open the mod in winrar 2.go to data;locks;recipes 3.find the file''steel_lock_pick.json'' and open it in note pad(dragging the file in) 4.this will come out:{ "type": "minecraft:crafting_shaped", "pattern": [ " SS", " S ", "S " ], "key": { "S": { "tag": "forge:ingots/steel" } }, "result": { "item": "locks:iron_lock_pick", "count": 2 } } change ''locks:iron_lock_pick'' to ''locks:steel_lock_pick'' 5.save it and drag it to the win rar(choose''agree'') 6.close it and it's done

Whenever i try and save the edits i made to the .json file, it removes the entire mod .jar file

Make a datapack instead. Editing the jar file can cause this to happen.

commented

Saw this also. recipe crafts the wrong thing. I'd also like to suggest in here, in relation to crafting that the pick crafting recipes are potentially a bit steep when it comes to the metallic ones and should probably either craft atleast 4-8 for that many resources. (if not, I'm guessing I can datapack edit that myself, yes?)

commented

I found the solution in the mod's files:
1.open the mod in winrar
2.go to data;locks;recipes
3.find the file''steel_lock_pick.json'' and open it in note pad(dragging the file in)
4.this will come out:{
"type": "minecraft:crafting_shaped",
"pattern":
[
" SS",
" S ",
"S "
],
"key":
{
"S":
{
"tag": "forge:ingots/steel"
}
},
"result":
{
"item": "locks:iron_lock_pick",
"count": 2
}
}
change ''locks:iron_lock_pick'' to ''locks:steel_lock_pick''
5.save it and drag it to the win rar(choose''agree'')
6.close it and it's done

commented

You can just create a datapack with the new recipe, no need to edit the jar file.

commented

You can just create a datapack with the new recipe, no need to edit the jar file.

also worth

commented

yeah, I already did it myself in my modpack. but figured not everyones suchly inclined to fiddle with this stuff, nor would they know how.

commented

yeah, I already did it myself in my modpack. but figured not everyones suchly inclined to fiddle with this stuff, nor would they know how.

It's pretty simple once set up, similar to a resource pack.
https://minecraft.fandom.com/wiki/Tutorials/Creating_a_data_pack

commented

for other people I guess. I said I already know. :V