cubex2 / customstuff4

A Minecraft mod for adding content
https://minecraft.curseforge.com/projects/custom-stuff-4
GNU General Public License v3.0
25 stars 14 forks source link

Recipe Questions #4

Closed Towsty closed 7 years ago

Towsty commented 7 years ago

Is it possible to use the ore dictionary when creating the recipes.

IE:

"shape": ["SSS", "SCS", "SSS"],
"items": {
    "S": "ore:itemBeeswax",
    "C": "ore:nuggetGold"
}

Also I am having an issue with meta data in the recipes. I'd like the above recipe result to give tngtools:itemCast:0 but not sure what is the correct syntax for that.


"result": {
         "item": "tngtools:itemCast@0"
         "amount": 1
    },
    "mirrored": false
Towsty commented 7 years ago

Okay, I figured out the meta thing - for anyone who's curious you don't specify the 0 indexed item only 1 and up. So just use the item name.

cubex2 commented 7 years ago

At the moment you can specify the metadata using @ only when using the simple format:

"result": "tngtools:itemCast@0"

If you need to use the longer format you do it like this:

"result": {
    "item": "tngtools:itemCast",
    "metadata": 0
}

The default metadata is 0 anyway, so it's not necessary to specify it. I'm going to allow the @ notation in the longer format in the next update.

Towsty commented 7 years ago

Awesome thanks, any thoughts on using the oredictionary in recipes?

cubex2 commented 7 years ago

You can use them just like in your example above.