[Official Document] How to add a custom synthetic table to IC2C [IC2C] Industrial Age 2 classic version (IC2 Classic) Mi

IC2Classic has always made hard -coding of all synthetic tables, and it will not change because it is annoying to modify the synthetic table.

However, IC2C adds a method of disable the IC2C self -synthesis table and adds a custom formula.The production/machine of all IC2 formulas/machines in their respective JSON files and synthetic table IDs, set a synthetic table ID Boolean value to FALSE will close the synthetic table.

Now, because the synthetic table is closed, you must add a new synthetic table.This operation is completed by modifying the CUSTOMCRAFTINGRECIPES.JSON or CustomMachinereCipes.json.

The custom synthetic table written according to the format will not cause the game to collapse after loading.

Make synthetic table

To load the synthetic table, you must have a array that can be called "synthetic table".

The inside of the array represents the object of each element of the synthetic table.

 {
 "recipes": 
 [
 {
 "recipeype": "shaped", 
 "Hidden": False, 
 Output ": 
 {
 ITEM ":" Minecraft: Stick ", 
" meta ": 0, 
" nbt ": '{" display ": {" name ":" testName "}' 
pre class = "brush: none;">},
 Pattern ": [" os "," ilf "," os "], 
pre class = "brush: none;"> "inputs":
 [
 {
 "Patternid": "O", 
 "inputtype": "iu", 
 Oreid ":" Dye ", 
" amount ": 1 
}, 
 {
 "Patternid": "l", 
"inputType": "itemList",
"items":
[
 {
 ">" minecraft: cobblestone ", 
 Meta": 0, 
 "

Amount ": 1

}, 
 {
" it ":" Minecraft: DIRT ", 
" meta ": 0, 
" amount": 1 
} 
 
}, 
 {
 "Patternid": "f", 
 InputType": "Fluid", 
 "Fluidid": "Water" 
},
 {
 "Patternid": "i", 
"inputType": "item",
"item":
{
 Item ":" Minecraft: Stick ", 
" meta ": 0, 
 "amount": 1 
} 
} 
] 
} 
 
} 
The first thing that must be provided is the recipetype to define whether this synthetic table is orderly (shaped) or shapeless. The only difference is orderly synthesisPattern and patternid are required.

Then the optional Hidden determines whether the synthetic table will be hidden, so that the item manager and formula will not be displayed.

Next is output output by the item, including:

item: What is the output item.

Meta: The durability value of the output item.

Amount: The number of output items.

NBT: What is the NBT tag of output items, optional.

After that, if this synthetic table is orderly, you need to provide Pattern, consisting of 9 characters, representing the workbench 3 × 3 synthesis interface.

Finally, the inputs entered on behalf of the items, including:

Patternid: Tell the system which character this thing corresponds to Pattern.

Inputtype: What type of input.(Effective things: OR

This determines the string you need to fill in the next:

When inputtype is ol:

olid: the name of the ore.Amount: The amount required.(If this item does not exist, the default is 1)

When inputtype is Fluid:

FLUIDID: The name of the fluid.(Water = "Water", lava = "lava")

When inputtype is item:

item: What is item.

Meta: The durability of items.

Amount: Number of items.

NBT: What is the NBT tag of items, optional.

When inputtype is itemlist:

Items: The list of items, the writing method of each separate item is the same as the writing method of "Itempe is Item".

Make a machine synthesis table

 {
 "recipes": 
 [
 {
 "recipeype": "MACERATOR", 
 "Outputs": 
 [
 {
" it ":" Minecraft: stick ", 
" "" "": 0, 
 "amounttt": 64, 
" nbt ": '{" display ": {" name ":" testName "}}' 
} 
], 
" recipemetadata ": '{}', 
 "recipeExperience": 1.05, 
 "input": 
 {
" inputType ":" ou ", 
" oreid ":" orediamond "
} 
}, 
 {
 "recipetype": "masterfab", 
 "input": 
 {
" inputType ":" ore ", 
 oreid": "omeiamond"
}, 
 "amplifier": 100000 
}, 
 {
" recipetype ":

"Electrolyzer",

 "recipenergy": 10000, 
 "direction": "both", 
 "input": 
 {
 "":" Minecraft: Stick ", 
" meta ": 0, 
" amount ": 64 <4/pre> 
}, 
 Output ": 
{
 it ":" minecraft: dirt ", 
" "" "> 
 "amount": 64 
} 
},
 {
 "recipetype": "cannerfuel", 
 Fueltype": "Multiplier", 
 "multiplier": 0.5, 
 "input":: 
 {
" "": minecraft: dirt ", 
 Meta ": 0, 
" amount ": 64 
}}
} 
] 
} 
This is written when you read the chapter of the "Production Synthetic Form" chapter.

Similarly, the first thing that must be provided is the recipetype to explain which machine is the formula of this synthetic table.

MACERATOR is a fan/extract machine/compressor/recycler, which shares a tab.

Output must be provided, it must be an item, which can be customized, but the number of products cannot be random.

RecipeMetadata can control the processing duration and energy consumption of the synthetic table, a optional NBT tag combination.

You can have a string:

RecipenerGymodifier: multiple energy required for synthesis.

Recipenergy: integer value, the energy required for synthesis.RecipeTimeModifier: multiple time required for synthesis.

RecipeTime: integer value, the time required for synthesis.

These modifiers must be in the NBT tag combination provided and do not support the child combination.

The next optional thing is the recipeExperience, which allows how much experience can be obtained by modifying a synthesis.

For these machines, it should finally be input.

The next machine is a material generator.

This machine can only modify Input and Amplifier, and AMPLIFIER can modify the multiples of the material generated material increase when put it in the item.

The next machine is an electrolytic machine,

This machine has an INPUT/OUTPUT parameter and must be Item.

RecipenerGy: Energy used during the modification process.

Direction: Explain what this synthetic table is doing.(Effective value: Both, Discharge, CHARGE)

The last machine is a tank.

Input must be an item.

Fuldype: Define the fuel type, adaptive or Multiplier.

According to which fuel type is selected, the next parameters will be different.

If you choose Multiplier, you must create a Multiplier parameter, that is, Float/Double, which defines how much fuel is added to the existing fuel.

If you select Adaptive, it will provide an integer to inform the fuel in how many ticks will be added.

This tutorial covers all machines that can be added.