Application Energy-MOT Reconstruction Tutorial [MOT] MODTWEAKER MINECRAFT Game

This tutorial is from MC Encyclopedia (MCMOD.CN) using the CC By-NC-ND protocol.

[Application Energy-MT Magic Reform Tutorial]

(The original author has not been updated for many years, and hereby is to prepare a dinner for the majority of wiki users who are too lazy to open CRT ~)

Material cannon:

// pilot bag

Import Mods.appliednergistics2.cannon;

// AMMO is an ammunition Weight is weight (can only be dual -precision floating -point number, which is dough in the programming language)

Cannon.registerrammo (ammo, weight);

// The following sentence is an example (let the bone as a bullet, weight 40.07) is not difficult to understand?

Cannon.registerrammo (, 40.07);

Quartz mill:

// pilot bag

Import Mods.Appliedenergistics2.grinder;

// An additional formula to the quartz mill

GRINDER.ADDDRECIPE (Output, Input* N, TURNS, Secondary1output, Secondary1Chance, Secondary2Output, Secondary2Chaance);

// Output is an output item

// Input is the input item (*N can be deleted, which represents the number of input items)

// Turns is the number of rotation of the stalk (only an integer!)

// Secondary1output is by -products 1 (optional)

// Secondary1Chance is a by-product 1 probability (optional) (can only be a decimal and need to be between 0.1-0.9).

// Secondary2OUTPUT is by -products 2 (optional)

// Secondary2Chance is by-product 2 (optional) (can only be a decimal and need to be between 0.1-0.9).

// The following sentence is an example (Enter 2 sand, output 1 sandstone, 80%of the probability of 1 sand, 60%of the probability out of the by -product 2 sand)

Grider.addrecipe (, * 2, 4, , 0.8, , 0.6);

// quartz mill delete formula

Grider.removerecipe (input);

// input is input item

// The sentence below is an example (delete the formula of the quartz mine -grinding into quartz powder. This is the default formula of the original version. If you add other things to it, you will delete

Grider.removerecipe ();

Printing device:

// Pioneer bag ~

Import Mods.Appliedenergistics2.Incriber;

// Add a formula for adding a formula

Inscriber.addRecipe (Output, Input, Inscribe, Topinput, Bottominput);

// output is output

// input is the center input

// inscription is whether to consume the item if the pressure is printed. When it is set to True, it will not consume the top and bottom input. When it is set to FALSE

// Topinbut is the top input (optional)

// bottominput is the bottom input (optional)

// The following sentence is an example (turn the eggs into a withering skull and brush the eggs without consumption of the slim skull)

Inscriber.addRecipe(, , true, );

// This sentence is also an example (made of bread, cocoa beans, and sugar into cookies, consume all input items)

Inscriper.addrecipe (, , FALSE, , );

Incriber.removerecipe (output);

// output is output

// The following sentence is an example (formula to remove the silicon plate)

Inscriber.removerecipe ();

Space IO port (Space Tower):

// pilot bag

Import Mods.Appliedenergistics2.SPatial;

// Add a piece of entity to the white list of space IO.

// Warning: For some blocks, especially multiple entity structures that migrate to space IO may have unexpected errors or even collapse.

// Warning: Integrated package producer or server manager should test the security of the mobile block in a stand -alone archive!

Spatial.whitelistentity (FulLorentityClassName);

// FulLENTITYClassName is the complete block entity name

// The following sentence is an example (adding practical expanded small board boxes to the white list of space IO)

Spatial.whitelisteentity ("De.ellpeck.ActuallyadDitions.mod.tile.TilentityGiantChest");

// p2p interface part

// me p2p

Attuners.attuneme (IItemstack IItemstack);

Attunent.attuneme (String Modid);

// IITEMSTACK items pile

// Modid module ID

// Items P2P

Attuners.attuneItem (IItemstack IItemstack);

Attunement.attuneItem (String Modid);

// IITEMSTACK items pile

// Modid module ID

// fluid P2P

Attunement.attuneFLUID (IItemstack IItemstack);

Attune.attuneFLUID (String Modid);

// IITEMSTACK items pile

// Modid module ID

// Redstone P2P

Attuners.attuneRedstone (IItemstack IItemstack);

Attuners.attuneredstone (String Modid);

// IITEMSTACK items pile

// Modid module ID

// RF P2P

Attune.attunerf (IItemstack IItemstack);

Attuners.attunerf (String Modid);

// IITEMSTACK items pile

// Modid module ID

// EU P2P

Attuners.attuneic2 (IItemstack IItemstack);

Attunement.attuneic2 (String Modid);

// IITEMSTACK items pile

// Modid module ID

// Light P2P

Attune.atthenlight (IItemstack IItemstack);

Attunent.attunelight (String Modid);

// IITEMSTACK items pile

// Modid module ID