your current location:首页 > news>Craftsman's Magic Reform Tutorial [AW] Artisan Worktables Minecraft Game

Craftsman's Magic Reform Tutorial [AW] Artisan Worktables Minecraft Game

2024-12-09 18:32:03|Myriagame |source:minecraft skins

This tutorial is directly copied from Wiki, translated to everyone, plus some suggestions, don't dislike it.

wiki link: https://artisan- worktables.readthedocs.io/en/latest/

First of all, there is nothing in this module. Many synthetic formulas (except the module's workbench and tools) need to be written by themselves.

Anyone who knows the magic reform knows that the magic reform needs CRT (Crafttweaker) module, CRT link, and the magic reform file suffix is ​​.zs

Let's have a tutorial: https://youyi580.gitbook.io/zentutorial/zenscript

Import Mods.artisanworktables.builder.RcipeBuilder;

Static Recipebuilder Get (String Table);

Recipebuilder setname (string name);

Recipebuilder setshaped (ingredIdient [] [] [] INGREDIENTS);

Recipebuilder setshapeless (Iings [] INGREDIENTS);

Recipebuilder setflum (IliquidStack FluidingRedient);

Recipebuilder setsecondaryingRedients (IINGREDIENT [] secondaryingredients);

Recipebuilder SetConsumeseCondaryingRedients (@optional (default = true) Boolean consume);

Recipebuilder Setmirrored (@optional (default = true) Boolean Mirrored);

Recipebuilder addtool (INGREDIENT Tool, int Damage);

Recipebuilder Addoutput (IITEMSTACK OUTPUT, @Optional (default = 1) int weight);

Recipebuilder setextrautputone (IitemStack output, Float CHANCE);

Recipebuilder setextrautputtwo (IItemstack Output, Float CHANCE);

Recipebuilder setextrautputThree (IItemstack Output, Float CHANCE);

Recipebuilder Setminimumtier (int Minimumtier);

Recipebuilder Setmaximumtier (int Maximumtier); recipebuilder setexperQuired

Recipebuilder selfrequired (int levelrequired);

Recipebuilder SetConsumeexperience (@optional (default = true) Boolean Consume); recipebuilder sethidden (@optional (default = true) ;;

Recipebuilder SetRecipeFunction (IRCipeFunction RecipeFunction);

Recipebuilder SetRcipeAction (IRCipeAction Recipeaction);

Recipebuilder setcopy (Copy Copytask);

Recipebuilder adDRequirement (ImatchRequirementBuilder RequirementBuilder);

RecipeBuilder Create (); Don't look at a lot of things. In fact, it is really commonly used.

First of all, the most basic look of this magic reform is:

Import Mods.artisanworktables.builder.RcipeBuilder;

Value = recipeBuilder.get ("Basic");

Builder.setShapeless

Builder.addoutput ();

Builder.create ();

Looking at each other, the first line is to load this MOD's magic reform content, and it is necessary to copy and paste without brain.

The second line is written in the name of the workbench of this magic reform. There are many types. This basic is basic.All workbench names are posted behind.

The third line is written in the synthetic formula, and Shapers refers to disorderly synthesis (like the original wooden board synthetic formula), or it can also be written as

Builder.setShaped ([[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

[, , ],

[, NULL, ],

[, , ])])]])])]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

This is orderly synthesis, and that NULL refers to nothing.

As for Minecraft: Cobblestone, this can be replaced

This is a 3 × 3 synthesis, which can also be 5 × 5. Note that the order of synthesis is from left to right, just like writing.

If it is disorderly synthesis, there is no order to say that, no NULL.

As for this recipebuilder setminimumtier (int Minimumtier);

It refers to the minimum level of the table, with three levels: 0, 1, and 2.

The highest level is this: recipebuilder setmaximumtier (int Maximumtier);

Don't be so rigid, the numbers in parentheses can be replaced.

level "/th> Fluid storage Bide product Worktable (0) 3X314,000MB0Workstation (1) 3X328,000MB9WORKSHOP (2) 5x5316,000MB9 (and happily copy from Wiki.What is the day of content)

Do you think this workbench can only be changed here?

Look at another example:

Import Mods.artisanworktables.builder.RcipeBuilder;

Recipebuilder.get ("Basic")

.setShapeless (])

.Addoutput ()

.addtool (, 10)

.create ();

Is it more than before?This is the tool to add.

That 10 refers to the minimum durability.Original: The Damage Parameter in this method represses the amount of damage applied to a too during the craft operation.

Of course, you can also copy it three times to achieve 3 tools to synthesize.

You can also add this: .setflum ( * 250)

This is the need for the fluid. Here you need 250MB of water. Remember, this number is best not to be greater than 16,000 (otherwise, the highest -level workstation cannot be stored, and the consequences you know)

.setextraitputone (, 0.75)

.setextraitputtwo (, 0.25)

.setextraitputthree (, 0.75)

This workstation also supports the output of three by -products, which 0.75 refers to 75 % drop.

Also, this .setSecondaryingRedients ([ * 8, ])

This refers to the nine grids under the 5 × 5 synthetic column, without order, these are not consumed.

If you want to consume, you need to add this: .setConsumeseCondaryingRedients (true) (true)

Can also be changed to false

.Setexperiencequired (20) This refers to experience. 20 is not experience level, it is 20 points of experience (to be honest, I don't know much)

If you want to experience the level:

.setLevelrequired (30)

Then, then

SetConsumeexperiexce (FALSE)

You need these two lines

It's not over yet, this synthesis can be hidden in jei

Recipebuilder Sethidden (@optional (default = true) hidden);

The following is the name of all tables:

all basic

Blacksmith

carpenter

chef

chemist

ENGINEER

farmer

jewler

mage

Mason

potter

scribe

tailor

tanner

All basic blacksmith carpenters chefs, engineer engineer, farmer jewelery mage stone craftsman -made potter's tailor tailor tailoring, the following is the name of all tools:

No translation