When you code a item and you use it to craft another item it's becomes a material like :
you create item sword , if you use that sword for craft another item it becomes a material
So you need materials that spawn in the world? like gold ?
"recipes":
[{
"items": { "YourModName:ItemA": 1 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
Say you want ItemA to be a crafting material in ItemB. Put the following in ItemB's .json file:
Code:"recipes": [{ "items": { "YourModName:ItemA": 1 }, "tiles": [ "Work Bench" ], "creates": 1 }]
Change the quantity needed, the tile (crafting station) and quantity created as necessary.
Could ItemA be a modded item?
Yes - that's what the code I gave you says it is. You'll be fine as long as you put "YourModName:" before the item's name.
Hi there @Lion8cake, replying to an old thread and adding relevant, new information is fine. Replying to an old thread just to say it’s an old thread is not. Please remember that in the future.hum yes this post very old