ravyn
Empress of Light
For recipes, it'd be "g:Tier1Bar". The "g" is for crafting groups.Thanks! Also, in the crafting area, what do I do for Copper of Tin and such? (How to I represent variables?)
"g:Tier1Bar" - Copper/Tin
"g:Tier2Bar" - Iron/Lead
"g:Tier3Bar" - Silver/Tungsten
"g:Tier4Bar" - Gold/Platinum
"g:Tier5Bar" - Demonite/Crimtane
"g:HMTier1Bar" - Cobalt/Palladium
"g:HMTier2Bar" - Mythril/Orchicalcum
"g:HMTier3Bar" - Adamantite/Titanium
"g:Wood" - all wood types except spooky
"g:Sand" - all sand types
"g:Stone" - all stone types
If you want to make your own crafting group, it is addressed the same way as these ones are, you need to make a file in your main mod directory known as "CraftGroups.json". The code would be
Code:
{
"itemGroups":
[
{
"name": "CraftGroup", //Can be anything you want. This is the code in which you reference it, so no spaces.
"displayName": "Craft Group", //Can also be anything you want. This is what shows up when you're actually crafting in-game.
"displayItem": "AnItem", //This is the item that shows up as the crafting requirement. It can be a vanilla item or an item from your mod. This way, you can make an un-craftable item as the icon if you wish.
"items":[ "AnItem", "AnotherItem" ] //These can be any items, also items from your mod. They are the items that are used if your recipe requires this group.
}
]
}