[CT-HELP] Basic Synthetic Modification [CRT] CRAFTTWEAKER MINECRAFT Game

This tutorial is set by the author to use the CC By-NC-SA protocol.

This tutorial is suitable for Crafttweaker, whether the API is compatible with it

The textbook comes from Bilibili's "Minecraft Module Introduction-CRAFTTWEAKER, MINETWEAKER, Modtweaker full introduction -12p" (av13038655) (AV13038655)

===========================================

For food videos, of course, it is better to bake better. This tutorial may be relatively simple

(1) How to add an orderly synthesis

Script function:

recipes.addshapet (,

[[Xxx, xxx, xxx],

[Xxx, xxx, xxx],

[Xxx, xxx, xxx]]

);

The above is a template

If there is no item in a certain location, use NULL to occupy (anyway, just fill in all)

After doing these ... can you try to save it?

After saving ... ah, don't restart the game, this stuff can be dynamically loaded

Enter/mt reload

Will output a large number of strange texts, if there are "error", etc., repair BUG

"WALRING" ... Regardless of him, just without error ヽ ( ̄ ▽  ̄) ノ

Space is not important X2

When an output of "Scripts Reloaded", it means that your script is not! Yes! Ren! What! Ask! Question! Question!

At least the grammar is fine (~ 没 ▽  ̄) ~

When the load is successful, you can experiment on the workbench. Generally speaking, there will be no problems

When you don't know the ID of the item, you can hand in the item input/mt hand instructions, which will output such a thing like this:

* 8

Just replace the XXX in the template just now, just

If you want to know the name of all items, you can enter:/mt names instructions, the name and NBT data of the item will be output to the MineTweaker. Log file (MT Author: MMP) in the main directory.! To! Most! Doom! Noodles! You can see all the items ID (Stupid humans, I am teaching you strength!)

When you want to synthesize multiple items, you can add "*" after the ID ID

Example:

* 23

(Not copying and paste!)

The space can be removed, but ... after all, isn't it better?

Those more and more longer than the ID, you can try this:

Val Iron = ;

The division is required (he will prompt, why do I feel like python?)

Then you can:

recipes.addshapet (Iron*2, [[Iron, Iron, NULL], [NULL, NULL, NULL], [NULL, NULL, NULL]])););););

// Two iron synthesis two iron, funny

Just like this, we can temporarily put this section behind

(2) The disorderly synthesis and orderly synthesis is similar (replacing the addshaped with the shapeless), and then the same as you think, no matter how you can get it (2+1 =) 3, (1+2 =) 3,

===================================

[1] Synthetic removal

Synthetic can also be removed

(1) Remove all workbench synthesis about the item:

recipes.remove (xxxxxxx);

(2) Remove a specific workbench synthesis:

Recipes.removeShaped (xxx, [[xxx, xxx, xxx], [xxx, xxx, xxx], [xxx, xxx, xxx]]);

(3) Remove specific disorderly synthesis:

Recipes.removeShapeless (xxx, [xxx, xxx, xxx, xxx]);

The script is executed in order, you need to move your brain