Use COT to build the artisan soul tool

Prepare materials COT, MOT, CRT, Craftsmanship 2.

Let's talk about the principle of craftsmanship: burn the material into a liquid and pour it out by pouring.

Therefore, you need to write: the material of the material is burned into a liquid formula, and the formula of artisan soul equipment is built.

Don't think about copying and paste

1. Guide package

 Import Mods.ContentTweaker.tconStruct. MaterialBuilder;

Import Mods.ContentTweaker.Vanillafactory;

Import Mods.ContentTweaker.flum;

Import Mods.ContentTWEAKER.COLOR;

2. Build liquid

 VAR GAIYALIUTI = vanillafactory.createFLUID ("gai_liu", color.fromhex ("9385b1"); // "Gai_LIU" represents the ID of the fluid, "9385 B1 "represents the color of the fluid.

gaiyalirei.fillsound = ; // The sound package used by fluid.

gaiyaliuti.register (); // end.

3. Build artisan soul equipment

 Val Gaiyahun = MaterialBuilder.create ("Gai_ya_hun"); // "gai_ya_hun" is the ID of the artisan soul.

gaiyahun.color = 0xa594c6; // The color of the equipment.

Gaiyahun.craftable = false; // Whether it can use parts processing table.

Gaiyahun.castable = true; // Whether it can be poured directly.

Gaiyahun.addItem (); // Make items used by artisan soul equipment.

gaiyahun.repreStativeItem = ; // The items displayed in the craftsmanship.

gaiyahun.liquid = ; // The liquid for pouring.

Gaiyahun.addheadmaticstats (1600, 8.5F, 10.8F, 5); // The head materials are durability, mining speed, attack power, and digging level.

Gaiyahun.addhandlemateriLSTATS (1.2,360); // The handle material is the reinforcement coefficient, durable.

Gaiyahun.addextramateriLSTATS (450); // The extra material durable.

Gaiyahun.addmatictrait ("blasting", "head"); // The characteristics of the artisan soul, the first is the ID of the characteristic, the second is the application of the application.

Gaiyahun.Itemlocalizer = Function (thisMaterial, itemname) {Return "Gaiah"+itemname; //

gaiyahun.localizedName = "Gaiah"; // The name of the equipment.gaiyahun.register (); // end.

4. The formula of the material fired into a liquid

 mods.tconstructing.Melting.addRecipe (*144, , 300); //mods.tConsst ruck.melting.addrecipe (*liquid capacity, , temperature);