your current location:首页 > news>Qunluan Legend 1.12+Crafttweaker official explanation document English version of the preliminary Chinese version [CRT]

Qunluan Legend 1.12+Crafttweaker official explanation document English version of the preliminary Chinese version [CRT]

2024-12-10 17:48:04|Myriagame |source:minecraft skins

Source: Qunluan Legend 1.12+Github official documentation

Preliminary Chinese

[TFC] Legend of Qunluan

For Changing Recipes, item size/heat/forging capabilities, Terrafirmacraft Adds hooks for crafttweaker scripts. To do that, you first need to Import a. E manager userrafirmacraft. [RecipeType]. The list of recipe Managers Currently in TFC is:

Alloy -LLLOY -for Adding and Removing Alloy RECIPES.

Avil -for adding anvil working recipes, Requering Working Temperature and Rules.

Welding -Welding -for Adding Recipes to Weld Two items into One

Barrel -Barrel -for Adding Many Types of Transformations, Both Fluid and items to Barrels.

Chisel -Chisel -for Adin Chisel Smoolhing Transformations from Block-> Block.

The weaving machine -Loom -for Adding Recipes to the LOOM. Slightly More Involved as it Requires AdDitional Textures or Assets for the rendering.

Kiln Pit -Adds Pit Kiln Transformation Recipes. Also used in the forge and file pit for transformations at Brilliant White Heat

Stone Mo -Adds GRINDING RECIPES to the Quern

Pinch clay -adds knapping recipes usering clay

Fire -resistant clay -ADDS KNAPPING RECIPES USING FIRE CLAY

Skin -LeatherknApping -Adds Knapping Recipes USING Leather

Pinchnapping -Adds Knapping Recipes USING Stones. Can Respect The Rock Category (Igneous, Metamorphic, ETC.)

There are also items registered (heating, melting furnace, size) -along with the item registry for heating, forging and size capabilities: itmretivity

● AlLoy ● Alloy

DisasterMoo Edited This Page on 3 Mar · 3 Revisions

For Manipulating AlLoy Recipes A Recipe Builder is Provided:

// Import Alloy Methods Into Your Script

Import Mods.terraFirmacraft.alloy;

Import Mods.terraFirmacraft.alloyRecipeBuilder;

// Gets The Recipe Builder for The Specify Metal

AlloyRecipeBuilder Builder = AlLoy.addalloy (String Metal);

// Removes the allay recipe from registry Remove the registered alloy Allay.removealoy (String Metal);

Note: String Metal see ● Metals ●

// Adds Metal Content to this alloying recipe to add alloy formula

Builder.addmetal (String Input, Double Min, Double Max);

// Finish the recipe, build and register it.

Builder.build ();

Please Refer to Metals for a Complete Reference on TFC Metals.

Example script: Example

AlLoy.addalloy ("bronze"). Addmetal ("Copper", 0.88, 0.92) .addmetal ("tin", 0.08, 0.12) .build ();

AlLoy.addalloy ("bismuth_bronze"). Addmetal ("Copper", 0.5, 0.65) .addmetal ("BISMUTH", 0.1, 0.2) .adMetal ("zinc", 0.2, 0.3) .build ();

● Anvil ● Avil

The anvil has three method for manipulating recipes:

// Import ANVIL METHODS Into Your Script

Import Mods.terrafirmacraft.anvil;

// adds a recipe with the given parameters to increase the formula

Anvil.addrecipe (String RegistryName, IINGREDIENT Input, IITEMSTACK OUTPUT, Int Mintier, String Skilltype, String ... Forgerules);

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

Anvil.removerecipe (IItemstack output);

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

Anvil.removerecipe (String registryname);

Important Things to Note:

Input caner be stacked. Anvils only accept one item per slot.

Input Must be forgeable (Please Refer to iotegistry for Registering forging Capability to An Item).

Tiers are 0 = stone, 1 = Copper, 2 = bronze, 3 = wrogHt Iron, 4 = Steel, 5 = Black Steel and 6 = Red/Blue Steel.

Skill Type is what Category of Skill the Forging Should Contribute to. Valid Entries are general, weapons, armor, or null. If they. ORMOR THEN the Result Item Will Have a Skill Bonus Applied to It.A Recipe Must have 1, 2 or 3 rules. Rules consist of a type (Hit, Draw, Punch, Bend, Upset, or Shrink), followed by an order Rd_last), Separated byan underScore. As Example, Hit_any, Draw_seCond_Last, and upset_not_last are valid rule names.

● Welding ● Welding

DisasterMoo Edited This Page on 3 Mar · 6 Revisions

WELDING RECIPE Manager Has Three Methods for Recipe Manipulation:

// Import Welding Methods into your script

Import Mods.terrafirmacraft.welding;

// adds a recipe with the given parameters to increase the formula

WELDING.ADDRECIPE (String RegistryName, INGREDIENT Input1, IINGREDIENT Input2, IItemstack Output, Int Mintier);

// Removes all recipes that product a given output remove all formulas corresponding to a certain output

Welding.removerecipe (IItemstack Output);

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

Welding.removerecipe (String registryname);

As with anvil recipes, The Same Rules for input Applies Here. The input must be forgeable (See itemregship for REGISTENG CAPALITY) and Can E Stacked.

● BARREL ● Barrel

BarREL Recipe Manager Has Three Methods for Manipulating Recipes:

// Import Barrel Methods Into your script

Import Mods.terraFirmacraft.barrel;

// adds a recipe with the given parameters to increase the formula

BarREL.Addrecipe (String RegistryName, @optional INGREDIENT ITEMINPUT, IliquidStack Fluidinput, @Optional IitemStack itemoutput, @Optional ACK FLUIDOUTPUT, INT HOURS)

// Removes all recipes that have a given output. QUID)

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

Barrel.removeRecipe (String RegistryName)

At Least One Output (liquid or it) Must be support, for both removing and adding recipes.

● Chisel ● Chisel

DisasterMoo Edited This Page on 3 Mar · 1 Revision

// Import the chisel method into your script

Import Mods.terrafirmacraft.chisel;

// adds a recipe with the given parameters to increase the formula

Chisel.addrecipe (String RegistryName, IItemstack Input, IITEMSTACK OUTPUT);

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

Chisel.removeRecipe (IItemstack output);

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

Chisel.removerecipe (String registryname);

Note: Input and Output Must be blocks.

● Knapping ● pinching things

Clay, Fire Clay and Leather Knapping Recipe Managers All Works The Same. Each One Has Three Methods for Manipulating Recipes:

// Import the [knapping] Methods into your script

Import mods.terramemacraft. [knapping];

// adds a recipe with the given parameters to increase the formula

[Knapping] .addRecipe (String RegistryName, IItemstack Output, String ... Pattern)

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

[Knapping] .removerecipe (Iitemstack output)

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

[Knapping] .removerecipe (String Registryname)

Where [knapping] = ClayknApping, FireclayKnApping or LeatherknApping

Pattern Must be a closed interval [1, 5]. Each Input is a line of the matrix.

Small Ceramic Vessel: Bar

"Xxx",

"Xxxxx", "xxxxx",

"Xxxxx",

"Xxx"

Ingot mold: mold

"Xxxx",

"X x",

"X x",

"Xxxx"

Full chestnut:

ClayknApping.addrecipe ("Small_ceramic_vessel", , "XXX",

"Xxxxx",

"Xxxxx",

"Xxxxx",

"Xxx");

● Stone Knapping ● Take the stones as an example

Stone Knapping Recipe Manager Works A Bit Different Than The Other Knappers. It has Three Methods for Recipe Manipulation:

// Import the StoneknApping Methods Into your script

Import Mods.terraFirmacraft.stoneknApping;

// Methods

StonekNApping.addrecipe (String RegistryName, IITEMSTACK [] output, String [] Rocks, String ... Pattern) StoneknApping.removerecipe (IITEMSTACK OUTPUT)

Stoneknapping.removerecipe (String Registryname)

Each Rocks Gives Different Output Items Depending on Which Rock You Are Knapping. By Default, this only application to which rock tool category you get, which Translates to how durable the rock tool is. USING this manager, you can add your own output depending onWhich Rock (s) The user knaps.

The rocks are: is [String ... Pattern] to fill in

chalk

granite

diorite

gabbro

shade

Claystone

rocksalt

limestone

ConGlomerate

dolomite

chert

rhyolite

basalt

Andesite

dacite

quartzite

Slate

PHYLLITE

schist

gneise

marble

Exmples of this script:

// GIVES A Stone Hoe in All Rocks.

StoneknApping.addrecipe ("TESTRECIPE", [], ["all"], "", "xxxx");

// GIVES A Stone Hoe only in Shale, ClayStone, Rocksalt, Limestone.

StoneknApping.addrecipe ("TestRcipe2", [], ["Shale", "ClayStone", "Rocksalt", "LimeStone"], "", "" "" "" "," xxxx ");

// GIVES A Stone Hoe in Claystone, and a Pickaxe in Limestone.

StoneknApping.addrecipe ("TestRcipe3", [, ], ["ClayStone", "Limestone"], "", "xxxx");

// GIVES A Stone Hoe only in Basalt and Chert.

StoneKnapping.addRecipe("testrecipe4", [, ], ["basalt", "chert"], "     ", "XXXX ");

● Heating ● Heating

DisasterMoo Edited this page on 3 Mar · 5 Revisions

This is the Central Place to Add Any Heat Transformation Recipes. This Includes

FOOD TURNING INTO COOKED VARIANTS at Some Temperanture

Food "Burning" and disappearing when heated to high

Firing Pottery in A PIT KILN

Any Other Heat Related Transformation. It will be appliced ​​by any device that support.

// Imports Heating Methods Into Your Script

Import Mods.terrafirmacraft.heating;

// adds a recipe with the given parameters to increase the formula

Heating.addrecipe (String RegistryName, IItemstack Input, IITEMSTACK OUTPUT, Float TransformTemp, Float MaxTemp))

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

Heating.removerecipe (IItemstack Output)

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

Heating.removeRecipe (String Registryname)

Important Things to Note:

TransformTEMP is at a whild temporature the recipe complect transform the input into the output stack.

MAXTEMP is at other, the input is destroyed.

For a Complete Reference, Check Heating Temperatures

● LOOM ● Weaving machine

LOOM Recipe Manager Has Three Methods for Recipe Manipulation:

// Import Loom Methods into your script

Import mods.terraFirmacraft.loom;

// adds a recipe with the given parameters to increase the formula

LOOM.ADDRECIPE (String RegistryName, IINGREDIENT Input, IiteMStack Output, Int Steps, String LooomTexture)

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

Loom.removeRecipe (IITEMSTACK OUTPUT)

// Removes all recipes that have a given output to remove the formula according to the formula (the English document here should be written wrong) Loom.removerecipe (String RegistryName)

Arguments:

Steps is the number of steps needed to complete the recipe. It's the number of times the player has to click the loom, Each Movement of the loop advances one p. Within TFC, this is the same as the number of items repired for the recipeBut it is not required to be so so.

LOOMTEXTURE is a Path (ResourceLocation) to a texture file, to be used to display on the loom in the world. d_white.png "references the vanilla texture for white wool). If youAre USING CUSTOM Textures You Need Some Form of Data/Resource Loading (Read: A Resource Pack) for this to be avled to reference your texture correctly.

● quern ● stone mill

DisasterMoo Edited this page on 3 Mar · 5 Revisions

// Imports Quern Methods Into Your Script

Import Mods.terraFirmacraft.quern;

// adds a recipe with the given parameters to increase the formula

Quern.addrecipe (String registryname, IINGREDIENT Input, IiteMStack Output)

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

Quern.removeRecipe (IITEMSTACK OUTPUT)

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

Quern.removeRecipe (String RegistryName)

This is a basic input-> output recipe, so, it works like adding a furnace recipe, but without ticks.

● Itemregition ● Item registration [It is more interesting, is the biggest difference between Qunluan and the original version]

Alex o'Neill Edited this page 29 Days AGO · 10 Revisions

Itemregition Adds TFC Capabilities to itEms Outside TFC's Realm.

// Imports itemregition method into your script

Import Mods.terrafirmacraft.Itemregization;

// register item size and weight. This changes how much a stack can hold. G Weight);

// register item head capability and if this it is forgeable (Eg: Can be used in anvil).

Itemregition.registerItemheat (IINGREDIENT Input, Float Heatcapacity, Float Melttenmp, BOOL FORGEable);

// register item as a metal item. Note that this automaticly adds heating and forging capability.

// If Canmelt is false this it is wee the output directly (like Iron Ore Needs Bloomery/Blast Furnace) Definition is that the metal that can be melted can be melted.

ItemRegistry.registerItemmetal (IINGREDIENT Input, String Metal, INT University, BOOL Canmelt);

// Register item Food Stats (Does Not Work on TFC Foods), this takes priority over existing value. Setting Decay to 0 Stops Decay from has been happy. Siter, water, rotten time, nutrition

Itemregition.registerFood (INGREDIENT INPUT, INT HUNGER, Float Water, Float Saturation, Float Decom, Float Gray, Float Fruit, Float MeiT, Float Dairy);

// Register Armor Stats Registration Equipment

Itemregition.registerRMOR (IINGREDIENT Input, Float CrushingModifier, Float PierCingmodifier, Float Slashingmodifier);

// register item as a fuel for fire pit or forge register TFC furnace fuel

Itemregition.registerFuel (IItemstack itemstack, int Burnticks, Float Temperature, BOOL FORGEFUEL, BOOL BLOOMERYFUEL))

Please Refer to Metals for a Complete Reference on TFC Metals.

Things to Note:

Size [tiny, very_small, small, normal, large, very_large, huge]

Weights [very_light, light, medium, heavy, very_heavy]

Heat Capacity Determines How Fast An Item Cools Download/Heat Up.

MELT TEMPERATURE IS at a Which Temperature The Item is Melt. Wropht Iron is 1535 Brilliant White WHILE BRONZE IS 950 Orange. sregisterEd Metal Items are automatically registerly registered as a valid input for Tools (EG: Steel IngototFrom Other Mods Registered by RegisterMetalITHOD WON'T Be Automatical Work to TFC STEEL PICKAXE Head)

[TFCTECH] Crafttweaker documentation of Qunluan technology module below

For Changing recipes, TFCTECH PROVIDES SOME CT HOOKS Into the Recipe API. CurrenTly, The Supported Recipe Manipulators Are:

Glassworking -for Adding and Removing Blowpipe's Glassworking Recipes.

SMELTERY -for Adding and Removing SmelTery Recipes.

Wiredrawing -for Adding and Removing Wire Drawing Recipes.

● Glassworking ● Blowing glass, similar to pinching stones

DisasterMoo Edited This Page on 25 Feb · 2 Revisions

For manipulating glassworking recipes, a hook is provided:

// Import the recipe method into your script.

Import Mods.tfcleCh.glassworking;

// adds a recipe with the given parameters to increase the formula

Glassworking.addRecipe (String RegistryName, IItemstack Output, String ... Pattern)

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

Glassworking.removerecipe (IITEMSTACK OUTPUT)

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

Glassworking.removerecipe (String RegistryName)

Pattern Must be a closed interval [1, 5]. Each Input String is a line of the matrix.

Glass Bottle:

"X x",

"X x",

"X x",

"X x",

"Xxx"

Glassworking.addRecipe("glass_bottle", , " X ​​X ",

"X x", "x x",

"X x",

"Xxx");

● SMELTERY ● The kiln of melting glass

DisasterMoo Edited This Page on 25 Feb · 1 Revision

For manipulating smart recipes, a hook is provided:

Add recipe:

Import Mods.TFCTECH.SMelTery; // Imports the SMELTERY METHODS Into Your Script

Import Mods.TFCTECH.SMelTeryReCipeBuilder; // Imports the SmelTery ReCipe Builder Into Your Script

// Return a recipe Builder

SMELTERYRECIPEBUILERDER Builder = SMELTERY.ADDRECIPE (String RegistryName, IliquidStack Output, Float Melttenmp);

// adds input to the recipe (recipes can have between 1 and 8 inputs).

Builder.addinput (IINGREDIENT Input);

// Builds and register the recipe

Builder.build ();

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

SMELTERY.RemoveRecipe (IliquidStack Output); // Removes A Single RECipe by Registry name

SMELTERY.Removerecipe (String Registryname);

Important Things to Note:

Melttemp is at other, the recipe comerTely transform all inputs into the molten liquid.

● Wiredrawing ● The machine made by the wire

DisasterMoo Edited This Page on 25 Feb · 1 Revision

For manipulating wiredrawing recipes, a hook is provided:

Import Mods.TFCTECH.WIREDRAWING; // Imports the Wiredrawing Methods Into Your Script

// register a recipe using the given parameters to add formula

WiredRaWing.addrecipe (String RegistryName, IINGREDIENT Input, Int Mintier, IItemstack Output, Int Color);

// Removes all recipes that have a given output to remove all formulas corresponding to a certain output

SMELTERY.RMOVERECIPE (IITEMSTACK OUTPUT);

// Removes A Single RECIPE by Registry name Remove the formula according to the formula name

SMELTERY.Removerecipe (String Registryname);

Important Things to Note:

Mintier is the Minimum Draw Plate Tier Required to work. CurrenTly, there is only tier_iii, tier_iv and tier_v (write Iron, Steel and Black Steel) Draw Plates.

Color is the hexadecimal (IE: 0xffa6b525) color that the drawing bench will color the wiring process.

You can add anything (yes, event non-wires) to the recipe and make it draw like if it was a wire with the color specification.

Qunluan Technology Document End

The following is a definition description

● Definition of temperature ●

Warming starts at 1, Ends at 80

Hot Starts at 80, EDS AT 210

Very hot starts at 210, ENDS AT 480

FAINT Red Starts at 480, ENDS AT 580

Dark Red Starts at 580, ENDS AT 730

Bright Reds at 730, ENDS AT 930

Orange Starts at 930, ENDS AT 1100

Yellow Starts at 1100, ENDS AT 1300

YELLOW White Starts at 1300, ENDS AT 1400

White Starts at 1400, ENDS AT 1500

Brilliant White Starts at 1500

● Metals ● String of metal

Bismuth

Bismuth_bronze

Black_bronze

Brass

Bronze

Copper

GOLD

Lead

Nickel

Rose_gold

Silver

Tin

Zinc

Sterling_silver

WriteGHT_IRON

Pig_iron

Steel

Platinum

Black_steel

Blue_steel

Red_esteel

Weak_steel

Weak_blue_setel

Weak_red_steel

High_carbon_steel

High_carbon_blue_Steel

High_carbon_red_steel

High_carbon_black_steel

Unknown