MercurialPony / Locks

The source code for Locks, a small, but unique Minecraft mod that introduces flexible and universal locks, a fun new lock picking mechanic and lots of other useful tools.
21 stars 22 forks source link

Steel Lock Pick Uncraftable #89

Open WenXin20 opened 3 years ago

WenXin20 commented 3 years ago

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

Darkmega18 commented 3 years ago

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?)

alvaxdro commented 3 years ago

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

WenXin20 commented 3 years ago

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

alvaxdro commented 3 years ago

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

also worth

Darkmega18 commented 3 years ago

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.

WenXin20 commented 3 years ago

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

Darkmega18 commented 3 years ago

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

AtlasEra commented 3 months ago

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

WenXin20 commented 3 months ago

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.