your current location:首页 > news>Use Crafttweaker to change the mechanical power: the formula mechanical power of the sieve: Create Sifting

Use Crafttweaker to change the mechanical power: the formula mechanical power of the sieve: Create Sifting

2024-12-05 23:05:22|Myriagame |source:minecraft skins

Precautions

Please note whether Crafttweaker and CreateTweaker have been installed

This tutorial comes from the official example and source code. If an error occurs, please refer to the official

text

Add formula

 Import Mods.creates;

ID: Formula Name -Must -fill

outputs: output item -must be filled

iteminputs: Input item -must be filled

ProcessindTime: Processing time -Selection and filling, the default

WaterLogGed: Whether to soak in water -select and fill, default to false

minimumspeed: minimum processing speed selection, default is 1.0

It is worth mentioning that input items require two items.One is the use of screen nets, and the other is a sieved item.

Although this module adds two sieves, it is impossible to choose a sieve directly. Only when the formula is used by the formula can the brass power sieve.

Example sentence

 Import Mods.creates;

.addrecipe (

"Netherrack_sifting", // formula name

[

%10,

%50,

%75 // Output item

],,,

[

, //

//

],,,

300, // time required, select and fill

FALSE, // Whether to soak in water, choose to fill

1 // minimum processing speed, select filling

);

Delete formula

  .removebyname ("formula name");

// Delete the formula according to the formula name

.remove ("Output Article"); // Delete the formula of output this item

.removebymodid ("module name");

// Delete all the formula added by the module

.removebymodid ("module name", (name as string) => {return name == ";});});});});});});});});});});});});});

// Delete all the formula added by a module, but it does not include this item