your current location:首页 > news>Minecraft Game on Wiki for the translation village (Rustic) on the CRT support

Minecraft Game on Wiki for the translation village (Rustic) on the CRT support

2024-12-09 18:31:35|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

Rural MOD now contains linkage to CRT, so that integrating packagers can use this system to customize and delete formulas.

Squeeze

To add a formula, please use

 mods.rustic.crushtub.addrecipe (output, byproduct, input); 

The output (OUTPUT) is a fluidstack,

Byproduct and inputs are both Itemstack, and Byproduct optional.

To delete the formula, use the following method:

 mods.rustic. crushingtub.removerecipe (output, input);

mods.rustic.crushINGTUB.RMOVERECIPE (output);

mods.rustic.crushINGTUB.RMOVERECIPE (input);

The output (OUTPUT) is a liquidstack, and the byproduct and input (Itemstack).

Evaporate

To add a formula, use the following method:

 mods.rustic.evapratingbasin.addrecipe (output, input);

Mods.rustic.evaporatingBasin.addrecipe (output, input, time);

The output (OUTPUT) is an itemstack, the input (input) is a fluid stack (liquidstack), and the time (time) is the number of scale required to enter the evaporation.

To delete the formula, please use one of the following methods:

 mods.rustic.evapratingbasin.removerecipe (output);

mods.rustic.evaporatingBasin.removerecipe (input);

The output (OUTPUT) is a fluidstack, and the input (input) is a fluidstack.

Alchemy formula

Starting from version 0.3.12, in order to use Itemstack with custom effects in the script, you need to use a new alchemy format.The format is:

 {elixireffects: [{effect: "[Effect Registration Name]", Duration: [Write here], Amplifier: [magnifying value*is not clear]}]};//See the example below 

The alchemy formula is divided into simple formula and advanced formula."Simple" formula can be executed in the standard condenser, while the "advanced" formula requires a high -level condenser.

In all the following methods, if the formula has two or less Ingredients and there is no modifier, the formula is "simple".

If you want to force the use of 2 types without containing 2 types and the formula without modifier (Modifier), you can add the first Ingredients to obtain 3 types of Ingredients, one of which is ignored.

To add a "simple" alchemy formula (2 or less Ingredients, no replica), you can use the "simple" method:

 mods.rustic.Condenser.addrecipe (IItemstack Output, IINGREDIENT Input1, IINGREDIENT Input2); 

output is the output of the formula

Input1 is the first input

Input2 is the second input

The recipe added in this way will automatically meet the "simple" formula standard, although you have less control.

Before the version 1.1.3, input must be fully supported in the version 1.1.3, the complete support to add IItemstack, INGREDIENT (this sentence really does not understand)

In order to better control the modifier, bottle, cooking time, and the required fluid, the complete method is:

This method can only be available on the version 1.1.3+

 Mods.rustic.Condenser.addRecipe (IItemstack Output, INGREDIENTS [] inputs, @Optional icher, @Option Iin gredient bottle,@optional IliquidStack Fluid, @Optional int Time); 

in:

output is a formula output

Inputs is a maximum 3 input array

Modifier is a necessary modifier, which can be or omitted (in this case, it is a vacancy)

Bottle is the bottle required in the bottle slot.If it is omitted, it defaults to the original MC original glass bottle.If you do not need a bottle.(Warning: Do not use items that can be used as fuel as a bottle, otherwise the formula cannot be automated. For detailed information, please refer to the alchemy page.

FLUID is a liquid and amount to be consumed.If or it is omitted, the default is 125MB water (ie CRT syntax) * 125

Time is the time required to complete the formula (based on scale), and if it is omitted, the default is 400.

All optional parameters can be omitted, but cannot be skipped.You can use Null Time Bottle to choose the optional parameter (but not, please refer to it) to retain the silent recognition

In short, you can use the following methods:

 mods.rustic.CondenSer.addrecipe (output, itemstack [] inputs);

Mods.rustic.CondenSer.addrecipe (output, itemstack [] inputs, modifier);

Mods.rustic.CondenSer.addrecipe (Output, Itemstack [] inputs, Modifier, Bottle);

Mods.rustic.CondenSer.addrecipe (output, itemstack [] inputs, modifier, bottle, fluid);

MODS.Rustic.CondenSer.addrecipe (output, itemstack [] inputs, modifier, bottle, fluid, time);

To delete the formula, please use it

 mods.rustic.connser.removerecipe (IItemstack output); 

Among them, output is to delete the output of its formula.

Formula adding example

Pressing the wooden basin:

 mods.rustic. crushingtub.addrecipe (*125, null, *1);Water 
evaporate:

 mods.rustic.evapratingBasin.addRecipe (*1, *750); // 750MB will be 750MB in each default time. Olive oil conversionFor a piece of sugar 

Alchemine

 Val Slownesselixir =  .withtag ({Elixireffects: [{Effect: "Minecraft: Slowness", Duration: 18 00, amplifier: 0}]});

// Define a potion called Slownesselixir. The effect is slow. The duration is 1800tick, which is 90 seconds

Val SlowsSeXTENDEDELIXIR = . Withtag ({Elixireffects: [{Effect: "MineCraft: Slowness", Duration: 4800, AMPLIFIER: 0}]} ); // Define a potion called SlownessextenDELIXIR. The effect is slow and continuousTime 4800tick

Mods.rustic.Condenseer.addrecipe (Slownesselixir, , );

// You need to use spider web and vine brews to make the potion called Slownesselixir as defined above

Mods.rustic.CondenSer.addrecipe (SlownesSeXTEDELIXIR, [, ], ));); )); );); )); );); );); ));); )););

// You need to use spider web, vines, and ponytails to make the potion called SlownessextendEdelixir.

This tutorial is a personal translation, and it may be a bit stiff. If you have any errors, please point out in the comment area.

And the official wiki wrote so elegant, I can't get the number in many places for a long time