Complete Magic Reform Criminal Soul Tutorial [TIC2] Craftsmanship 2 (Tinkers' Construct 2) Minecraft Game

Preparing the material CRT, artisan soul, COT, artisan soul adjustment, MOT and a good text editor understand.If you want the artisan soul armor, add the soul armor, the artisan soul armor extension (this extension will automatically generate the armor corresponding to the material).

1. Registration materials

// State that the script is run by COT.

#Loader ContentTweaker

// The larger the script priority is loaded first.

#priority 1

// Import related packages.

Import Crafttweaker.liquid.iliquidstack;

Import crafttweaker.game.igame;

Import Mods.ContentTWEAKER.TCONSTRUCT.MATERIAL;

Import mods.contenttweaker.tconstruct.matialBuilder;

Import Mods.ContentTweaker.flum;

Import Mods.ContentTweaker.Vanillafactory;

Import Mods.ContentTweaker.Color;

// Register materials.

// Val registration name = mods.contenttweaker.tconStruct.Mater later.create ("material ID");

Val HardfoggyStone = MODS.CONTENTTTWEAKER.TCONSTRUCT.MATERILDER.CREATE ("Hardfoggystone");

// Set material color.

// Register .color = color.fromhex ("hexadecimal") .GetintColor ();

Hardfoggystone.color = color.fromhex ("303E3D"). Getintcolor ();

// Whether the material can synthesize the TRUE/FALSE level at the component processing table.

// Register. Craftable = false;

Hardfoggystone.craftable = true;

// Whether the material can pour the True to open/false.

// Register. Castable = TRUE;

Hardfoggystone.castable = false;

// Materials displayed by the craftsmanship.

// Register .RepRersentativeItem = ;

Hardfoggystone.repRersentativeitem = ;

// Define the points of the material

// When processing, for example, the wooden stick requires 2 materials points, and you define 1 ingot for this material) = 78 points, you need two ingots to be equal to 1 material point (144).

// In assembly Taichung, it represents the durability of the repair

// Register .additem ();

// Register .additem (, 1 (how many materials), 144 (how many points));

Hardfoggystone.addity ();

// Pour the fluid required for pouring.

// Register .liquid = ;

Hardfoggystone.liquid = ;

// The name of the material.

// Register .LocalizedName = "Name";

Hardfoggystone.localizedName = "Name";

// Values ​​in each part, do not write or appear.

// Register .add component name MateriLSTATS (value);

Hardfoggystone.addheadmaterialstats (500, 40, 7.5, 5); // head

Hardfoggystone.addhandlematerialstats (0.5, 100); // handle

Hardfoggystone.adDextramateriLSTATS (200); // Extra // complete registration

// Register .register ();

Hardfoggystone.register ();

2. The above is a basic custom material.If you copy and paste to the game, you will find an error, so we will add him as the core.

(1) The registered fluid is not registered and the fluid cannot find an error.

Remember to adjust the priority.

Use COT to customize fluids- [COT] ContentTweaker -MC Encyclopedia | The largest MINECRAFT Chinese Mod Encyclopedia (mcmod.cn)

(2) Registering the smelting furnace formula without formula ore is not a fluid, and it cannot be poured into a fluid.

Remember to adjust the priority.

Add items melting

(3) What is the most important thing in craftsmanship?Of course, it is his characteristic/entry. We see that there is no code for adding entries above. This is because COT is not very compatible with other mods. This is why we have adjusted the artisan soul adjustment.Can't recognize ":", ".".Of course, the entry can also be customized, but it is a high -level function. I won't talk about it here. There will be a special story in the future.

1.12.2 Models to Modify Misplasm 2 -Tweakers Constructure -MC Encyclopedia | The largest MINECRAFT Chinese MOD Encyclopedia (MCMOD.CN)

In this way, a complete self -defined material of craftsmanship, the following is the expansion content:

If you want the armor, when you add the artisan soul armor and the artisan soul armor expansion, you will find that your registered material is a bit strange to generate the armor. We only need to adjust the values ​​and entries with the artisan soul.

Customized Material Material

Do you know the female martial arts and artisan soul tool of the heavenly artisan, is it cool, no longer a monotonous solid color, but a two -color color!IntersectionIntersectionSo how does it achieve it?

Prepare a 32*32 resolution picture .png, and resource loading MOD.Here

In .minecraft/Resources/TCONSTRUCT/MIATALS/Material ID.json

 {{

"Type": "Block",

"Parameters": {

"Texture": "TCONSTRUCT: Materials/Picture Name"

}

}

Put the picture in the.

Ultimate effect

Finally present some hot knowledge:

1. /CT HAND can output the item information in the hand to the chat bar. If you click the information, you can automatically reach the cutting bar. You can use this oblivion ID, and NBTTo.

2. NBT is too complicated and can't watch?Then try the artisan soul data exporter. After exporting, open index.html, find-> About —> Enable all features-> All features, English is the characteristic ID.