Using ic2 item "metadata" in a recipe JSON?

  • Hey, I'm creating a very simple IC2 addon which is actually going to be my first mod, and it involves steel, I'm trying to include steel into a crafting recipe JSON but IC2 doesn't have something like "ic2:ingot_steel", it has "ic2:ingot" with a certain metadata, and I don't know how to utilize that in creating the recipe JSON, any help? Thanks.

  • You can use Ore Dictionary:


    If you need a specific IC2 item, you can press F3+H in game and get an item and it's metadata. E.g., for Advanced Alloy it's "ic2:crafting" and 3, for Steel Casing it's "ic2:casing" and 5. You can add them to JSON recipe like this:


    Code
    1. "c": {
    2. "item": "ic2:crafting",
    3. "data": 15
    4. }

    This defines a Carbon Plate.

  • You can use Ore Dictionary:


    If you need a specific IC2 item, you can press F3+H in game and get an item and it's metadata. E.g., for Advanced Alloy it's "ic2:crafting" and 3, for Steel Casing it's "ic2:casing" and 5. You can add them to JSON recipe like this:


    Code
    1. "c": {
    2. "item": "ic2:crafting",
    3. "data": 15
    4. }

    This defines a Carbon Plate.

    Thanks for the reply, but I already got some help in a minecraft modding discord, the solution was very simple, yes.