Vous êtes sur la page 1sur 2

{

//Add recipe to Craft Table


{
//slot = id,data
//"recipe":[[slot1],[slot2],[slot3], [slot4],[slot5],[slot6], [slot7],
[slot8],[slot9]],
"recipe":[[0,0],[0,0],[0,0], [0,0],[0,0],[0,0], [0,0],[0,0],[0,0]],
//Craft Table recipe address
"recipeType": "RecipeType.CRAFT_TABLE"
},
//Add recipe to Furnace
{
//slot = id,data
//"recipe":[[slot1]],
"recipe":[[0]],
//Furnace recipe address
"recipeType": "RecipeType.FURNACE"
},
//Add recipe to Brewing Stand
{
//slot = id,data
//"recipe":[[slot1],[slot2],[slot3]],
"recipe":[[0,0],[0,0],[0,0]],
//Brewing Stand recipe address
"recipeType": "RecipeType.BREWING_STAND"
},

//Create custom recipe address


"RecipeType.CUSTOM_RECIPE_NAME": {
//Title
"title": "Enter the title",
//Background image
"background": {
//Directory
"directory": "images/gui/nei/Insert.png",
//texture Offset X
"x": 0,
//texture Offset Y
"y": 0,
//dimension width
"width": 0,
//dimension height
"height": 0
},
//Add components in layout. Each sector of the vector represents a slot
"add": [
{
//Fit to required item
"slot_empty": {
//dimension width
"width": 0,
//dimension heigth
"heigth": 0,
//position X
"x": 0,
//position Y
"y": 0
}
},
{
//Informative text
"text_infor": {
//Size text
"size": 1,
//Size color
"color": "000000",
//Add text at the beginning
"addHome": "",
//Add text at the end
"addEnd": "",
//position X
"x": 0,
//position Y
"y": 0
}
},
{
//Item to be generated
"slot_result": {
//dimension width
"width": 0,
//dimension heigth
"heigth": 0,
//position X
"x": 0,
//position Y
"y": 0
}
}
]
//Then we will have a recipe: [[slot1],[text2]]
},
//Necessary informations
"infor": {
//Address of blocks and items
"address": "@insert",
//Mod Name
"mod": "Insert",
"id": {
// Id Initial / end
"block": [0,0],
// Id Initial / end
"item": [0,0]
}
}
}

Vous aimerez peut-être aussi