Skip to content

Custom Shapeless Recipes

tterrag1098 edited this page Dec 11, 2014 · 1 revision

When you first launch the game, your shapelessRecipes.json file will look like this:

{"data":
    [
            
    ]
}

Shapeless recipes have these values:

Value Type Description Default
input String Array The input grid of the recipe. This is an array for items, meaning it is defined as ["item1", "item2"]. REQUIRED
output String The output of the recipe. REQUIRED
outputAmount Integer The amount of items this recipe outputs. 1

For help defining items, see here.

Here is an example of a recipe that takes 2 iron ingot and turns it into 1 gold ingot:

{"recipes":
    [
        {
            "input":["ingotIron", "ingotIron"],
            "output":"ingotGold"
        }
    ]
}

Pretty simple right? Just remember that a shapeless recipe cannot contain more than 9 items.