Daxuan Integration Pack Config Modification and Function Call [BXP] Biggest Xuan Pack Minecraft Game

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

Foreword

From the Daxuan Integrated Pack 1.12.0 version, the integrated package provides a Config configuration and a function call for players to modify.

Mainly to solve the following problems:

Some players feel that the difficulty of integrating packages is too simple/difficult;

I want to learn some content, but the internal name of the integration package is too strange;

Maybe because of some practical factors, the unprepared signs of the integration package have been stopped, and the continuous integration package has been stopped again.No one will know the accident and which one will come first

According to the integrated package protocol, it needs to be complete during distribution, signature, and no modification distribution.Therefore, after you can distribute a complete integrated package, you can distribute your customized content in the API folder as a separate part.

Although it is Config modification, all the modified contents are performed in the ZS file, which will be explained in detail below.

Config modification

Config Modified in the Scripts/API/Config.zs file. When modifying, you need to pay attention to the following questions:

After deleting the config.zs file, it will not be generated again like the Config file of the module.

Once any grammar error occurs, the entire config file cannot be recognized, which will cause all the configuration content in the game to report an error.

Integrating the balance of packaging has undergone a few months of weighing. Do not modify it if necessary.

Config content has been defined for the previous definition, it is recommended to modify the operation instead of increase or decrease.

Config is a .zs as a suffix, not the traditional .cfg as the suffix. The following is a common error. Please avoid it when modifying.

var count as int = 1 (missing sessions end)

VAR Isplayer As Bool = 1; (BOOL value is only true and false, and any other values ​​(including 0B, 1B) cannot be recognized)

Var allist as int [] = 4; (the defined type is integer array, but the value is integer)

VAR NAME As String = "name"; (the symbol is Chinese symbol)

function calc (a as int) as int {Return;} (lack of return value)

Static array modification

 // Modify the instructions determined as a cheating mode.

// Only the instructions of the following array will be judged as a cheating mode when used.

Static Disabledcommand as String [] = ["Gamemode", "Gamerule", "GIVE", "FTBQUEST", "Execute", "Setblock", "Fill", "Summon", "AS", "Mek", errand"," Thaumcraft "," XP "," GameStage "," Aov "," Heal "," CT "," Back "," Forge "];

// Modify the global dragon material array.

// After modification, it will affect endless catalysts, mysterious automation, vegetable stalk planting stations, bun blast furnaces and other dragon materials to participate in the synthetic formula.

static dragon as Iitemstack [] = [

,

,

,

, ,

,

];

// Modify the optical combined fertilizer array.

// It will affect the multi -square structure of the seeds of the seeds.(About 2,000 recipes)

static df as Iitemstack [] = [[] = [

, , ,

];

// Modify the strange point of participation of endless catalysts.

Static nqd as IItemstack [] = [, , Arity_6>, ,, , , , , , , , , ];

Modification of game difficulty

 // Modify the difficulty value of different stages.

// The difficulty value of 1/4 in FTB will not be updated simultaneously.

Static DifficalMap as String [double] = {

20.0d: "nether_star",

45.0d: "wyvern_core",

120.0d: "bx_ingot",

225.0d: "fusion_ingot",

450.0d: "Dragon_heart",

700.0d: "AWAKENED_CORE",

1100.0d: "ENCH_INGOT",

1850.0d: "chaotic_core",

3000.0d: "Avaritia_INGOT",

6000.0D: "Final_INGOT",};

// The explosion, magic, flames, ejaculation damage bonus bonus bonus bonus bonus caused by difficulty.Default: 0.5F

Static Difficultybase as float = 0.5F;

// The explosion, flame, and ejection damage caused by difficulty caused by difficulty.Default: 0.1F

Static Difficultyother as float = 0.1F;

// Additional damage to the difficulty caused by difficulty.Default: 0.06F

Static Difficultymagic As Float = 0.06F;

// Flame damage bonus percentage in hell.Default: 2.0F

Static Difficultyfireinhell as float = 2.0F;

// Magic damage bonus multiplier in the twilight forest.Default: 3.5F

Static DifficultyMagicintWilight as Float = 3.5F;

// The magic damage bonus multiplier of the four dimensions in the abyss.Default: 5.0F

Static Difficultymagicinabys As Float = 5.0F;

Game mechanism setting

 // Whether the two -footed flying dragon -related items are disabled.Default: true

static disabledwyvernitem as bool = true;

// Whether to enable attack requires level limit settings.Default: true

Static needleveltoattack as bool = true;

// Whether it will fire randomly in hell.Default: true

static setfire as boy = true;

// Whether the player will be punished after death.Default: true

Static PlayerwillossLevelwhendeath as Bool = True;

// Whether the Xiaonuo entity is immune to the injury in addition to the injury.Default: true

static jaoxaononb as bool = true;

// Whether the undead creatures and vampires are injured during the day.Default: true

Static MonstermoreDamage as Bool = True;

// Whether to get a short invincibility when the player switch dimension.Default: true

Static nodamagewhenchangededInsence as bool = True;

// When the player picks up the cactus, whether the cactus deducts blood.Default: true

Static getDamagewhenpickCactus as bool = true;

// Whether there will be a phase prompt when the player enters the game.Default: true

// Priority is higher than the disability of the player's instruction.

static sendtipwhenlog as bool = true;

// Whether coal can synthesize diamonds.Default: true

// Use 64 coal synthesis diamonds.

Static Coalcancraftdiamond as Bool = True;

// Whether to modify the formula of general mechanical guidance matrix.By default: TrueStatic ModifyMEKMARTIXRECipe As BOOL = TRUE;

// Whether the pure blood of level 1 ~ 5 in the vampire module can be manually synthesized.Default: true

Static CanCraftPureBlood as Bool = True;

// Whether it can synthesize the corresponding treasure in the mysterious era.Default: true

Static cancraftcurio as bool = true;

// Whether to disable the anti -cheating mode.Default: FALSE

// If the anti -cheating mode is prohibited, then the player will not be intercepted in any case, and it will not lock the progress at the same time.

// For archives that have previously entered the cheating mode, after opening this settings, it is considered to be no cheating.

Static disabledanticheat as bool = false;

Game content settings

Note: This part of the content has been preset. If you modify it, it will greatly damage the balance of the game!

 // Ouhuang ingot synthesis required magic.Scope: [1 ~ 2147483647] Default: 5000000

static manaforouhuangingot as int = 5000000;

// Ouanda seed output probability.Scope: [1 ~ 100] Default: 15

Static CHANCEBYUUNGSEED as int = 15;

// Digging the number of strong single synthesis.Scope: [1 ~ 64] Default: 25

Static CraftMineramount as int = 25;

// The quantity of the single synthesis of photosynthesis.Scope: [1 ~ 64] Default: 8

static amountfertilizer1 as int = 8;

// Extract the amount of photosynthesis required for each synthesis and the number of lava required for each synthesis.Scope: [1 ~ 64], [1 ~ 2147483647] Default: 6,3500

static amountfertilizer2 as int [] = [6,3500];

// Charged the number of LP required for synthesis required for synthesis.Scope: [50 ~ 2147483647] Default: 5000

Static amountfertilizer3 as int = 5000;

// The number of super -optical composts synthesized.Scope: [1 ~ 64] Default: 9

Static amountfertilizer4 as int = 9;

// The number of LP consumed by blood diamond ore synthetic hematopoietic diamonds.Scope: [1 ~ 2147483647] Default: 80000

Static blooddiamondcostlp as int = 80000;

// The number of unstable Daxuan ingots is a single synthesis.Scope: [1 ~ 64] Default: 2

static amountForunbxingot as int = 2;

// The number of unilateral synthesis of Xuan Jing ingot.Scope: [1 ~ 64] Default: 2

STATIC AMOUNTFREXUANJINGINGIT AS int = 2; // The number of Synthetic Synthetic in Daxuan ingot.Scope: [1 ~ 64] Default: 5

Static amountforbxingot as int = 5;

// The number of high -level Daxuan Essence Powder Symptoms.Scope: [1 ~ 64] Default: 2

static amountforhigherbxdust as int = 2;

// Longxin, the core of both feet flying dragons, awakening cores, the number of chaos core synthesis.Scope: [1 ~ 64] Default: [1,1,1,1]

static amountforcore as int [] = [1,1,1,1];

// The quantity of the single synthesis of Xiaoxuan ingot.Scope: [1 ~ 64] Default: 4

Static amountforsxingot as int = 4;

// The number of stalks for a single synthetic dish by the workpings.Scope: [1 ~ 64] Default: 3

Static amountforcaiCaiCAIGENGZI as int = 3;

// The quantity of a single synthesis of gold stalks.Scope: [1 ~ 64] Default: 8

Static amountforgoldcaigengzi as int = 8;

// The number of single synthesis of magic dishes stalks.Scope: [1 ~ 8192] By default: 1

Static amountforenchcaigengzi as int = 1;

// The number of first -time synthesis of SDXHOP.Scope: [1 ~ 2048] Default: 6

static amountforsdxhop as int = 6;

// The number of single synthesis of real buns.Scope: [1 ~ 512] Default: 3

Static amountforreallysdxhop as int = 3;

// The number of single synthesis of endless catalysts.Scope: [1 ~ 64] Default: 1

Static amountforinfinitycatalyst as int = 1;

// Whether the star ore in the lower boundary directly synthesizes the star of the lower boundary.Scope: BOOL default: FALSE

//1.12.0 version has been set to TRUE. If the player feels too simple to adjust to false, then the star ore of the lower boundary will produce the star fragments of the lower boundary.

static nethertaRerRerecipeSelf As Bool = True;

// Whether the formula of the secret silver ore directly synthesizes the secret silver ingot.Scope: BOOL default: FALSE

// False is synthetic mysterious silver grains.

Static MithSliverRerecipeSelf As Bool = False;

// Whether Eujin ingot synthesis consumes high -level diamonds.Scope: BOOL default: TRUE

Static LossDiamondWhencraftoujiningot as Bool = True; // Whether there is a probability that the Ouomang ingot consumes the Ouandan seed.Scope: BOOL default: TRUE

static lossedwhencraftourgingot as bool = true;

Modular machine -related settings

The modified content of this chapter is the adjustment of the formula -related parameters involved in the modular machinery.

 // Modify the power generation of different items of the generator.

// BRF is a plant magic item, ASTRF is Xinghui item, Bloodrf is a blood magic item, and TCRF is an item in the mysterious era.

// By default: [1500,4000,10000,35000]; [1500,3000,3000,4500,4500,4000]; [2500,3500,5000, 25000, 32000,200000]; [300,1000,1000,5000000, 180000,1500000,20000000]

static brf as int [] = [1500,4000,10000,35000];

static astrf as int [] = [1500,3000,3000,4500,4500,4000];

Static bloodrf as int [] = [2500,3500,5000,25000, 32000, 200000];

static tcrf as int [] = [300,1000,1000,5000,180000, 1500000,20000000];

// The basic time required for the synthesis of enchanting dishes.Scope: [24 ~ 32767] Default: 7200

Static caigngzibasetime as int = 7200;

// The proportion of timely reduction of different materials for enchanting dishes.Scope [1 ~ 100] default: [99,98,95,90,83,65,30]

Static Speedenchcaigengzirate as int [] = [99,98,95,90,83,60,30];

// SDXHOP's head synthetic consumption.Scope: [500 ~ 32767] Default: 10000

Static recipetimebysdxhop as int = 10000;

// True buns consume time.Scope: [500 ~ 32767] Default: 16000

Static RecipeTimeByReallysdxhop as int = 16000;

// The proportion of timing reduction of different materials.Range [1 ~ 100] default: [90,65,45,20]

Static SpeedReallysdxhoprate as int [] = [90,65,45,20];

// Set the rate of blood production.

// Default formula: hunger value of items*55+The saturation of items*35

// Scope (final calculation result): [1 ~ 32000] By default: [55,35]

Static ProvideoDrate as int [] = [55,35];

// The items of which modules are set can produce blood.

// By default: ["Minecraft", "Additions", "Harvesstcraft", "ABYSSALCRAFT", "Byg", "TwilightForest"]; Static CanProvideblowmods as String [] = [] = [] = [] = [] = [] = [] = []

"Minecraft",

"Additions",

"Harvestcraft",

"ABYSSALCRAFT",

"Byg",

"Twilightforest"

];

// Modify the blood production provided by the human heart.Scope: [1 ~ 32000] Default: 2500

Static HeartProvideblood as int = 2500;

// Increase or decrease the output time and quantity in the items of the star energy liquid in the star energy liquid.

// Type: IITEMSTACK []

// By default: [, , ]

static canproduceastralIntem as Iitemstack [] = [[] = [[] = [

,

,

];

Static Produceastraltime as int = 60;

Static Produceastralamount as int = 1000;

// Modify the time required for the automation synthesis of the blood altar.(Second) default: 5

Static ProducebloodalTartime as int = 5;

// Modify the output when the super coal seeds enter different photosynthetic compost.Scope: [1 ~ 32767] By default: [12,39,94,166]

Static Producecoaladdons as int [] = [12,39,94,166];

// Modify the time required for the synthesis of the research automation device.(Tick)

// The longer the time, the less power consumption per TICK, which means that players can use fewer input warehouse assembly structures, but it will be more time -consuming.

// Scope: [1 ~ 32767] Default: 200

Static Producedetime as int = 200;

// Modify the time required for the synthesis of the artisan soul automation device.(Tick) By default: 400

Static Producetinkertime as int = 400;

// Modify the number of photosynthesis consumed by the basic seeds and different quantities in the seeds and different quantities of photosynthesis.// After modifying the quantity, the product probability, other parameters and other parameters will not change as a result.

// By default: [6,3,1]

Static Fertilizerbasicamount as int [] = [6,3,1];

// Modify the time required for the above three quantities of light and compost formula output.Default: [380,500,750]

Static FertilizerbasicTime as int [] = [380,500,750];

// Modify the basic multiplier of the above three quantities of photoeng fertilizer production products.Four probability represents four levels of optical fit.

// Scope: [0.0d ~ 1.0d] Default: [0.3D, 0.55D, 0.85D, 1.0D]

Static FertilizerbasicChaance as dough [] = [0.3d, 0.55d, 0.85d, 1.0d];

// Modify the number of optical fitted compost consumed when composting of high -grade seeds and different quantities.

// By default: [24,8,1]

Static FertilizeradVANCEDAMOUNT as int [] = [24,8,1];

// Modify the time required to compost the optical synthesis of high -level seeds when synthetic.

// By default: [1500,1200,1000,800]

Static FertilizeradVancedtime as int [] = [1500, 1200,1000,800];

illustrate:

Low -level seeds refer to the seeds of mysterious agriculture, such as: iron seeds, gold seeds, etc.

Senior seeds refer to the seeds that are added in the integration package and cannot be planted, such as: Daxuan seeds, enchanting Daxuan seeds.

The calculation method of low -grade seeds when the output of different optical combination is produced, and the calculation method of high -grade seeds in different photosynthetic compost production.

Salted fish module adjustment

This content is unique to the integrated package 1.13.0. If no relevant documents are found, please update the integrated package to version 1.13.0.

 // global adjustment

// Enable the equivalent exchange, scope: BOOL, default: false

Static canuseproject as bool = false;

// Enable the acceleration torch, range: BOOL, default: false

Static canusetorch as bool = false;

// Fine adjustment

// Before adjusting the content, the module should be enabled before adjustment, otherwise the adjustment will be invalid.

// The game phase of equivalent exchanges enabled

// Change to the corresponding game stage, so the equivalent exchange will be enabled after the player is reached.

// Set as NON is unavailable global, and it is available as ALL.Default: "None"

// When the player sets different game stages, the synthesis of the corresponding items will dynamically match the game stage set here.

Static canuseprojectstage as string = "None";

// Enable fuel, dark matter, red substance.Scope: BOOL, default: FALSE

static canusematter as bool = false;

// Enable the torrent of time.Scope: BOOL, default: FALSE

Static canusetimewatch as bool = false;

// Enable the conversion table.Scope: BOOL, default: FALSE

static canuseemc as bool = false;

// Enable alchemy dense rolls.Scope: BOOL, default: FALSE

Static Canuseprojectbook as Bool = False; // Accelerate the game stage of the torch enabled

// Change to the corresponding game stage, so the acceleration torch will be enabled after the player is reached.

// Set as NON is unavailable global, and it is available as ALL.Default: None

static canusetorchstage as string = "none";

Ingenu

In the integrated package, a large number of customized materials and entries are added.Players can adjust these contents to a certain extent.

List of materials registration

By default, use the artisan soul adjustment to adjust.If the reader can't, please refer to this tutorial.

Here are the registration names corresponding to all materials of the custom of craftsmanship.(Although a bit strange, it can be used)

Material name Registration name material name Register

ench_smallest_xuan

Ejir Agear

super_smallest_xuan

Unstable Daxuan BX_UNINGOT Ahahashiya

Achaziah

Daxuan

bx_ingot

Huanyu Xingchen

sky_ingot

Diamond Diamond naturally

nature_power

Affiliated Daxuan Ench_INGOT Lower Essence Crafting1 Lower Matrix LOWER_MARTIX Primary Essence Crafting2

bx_finalingot

Intermediate Essence Crafting3 Plastic Matrix

martix

Senior Essence Crafting4 Oujin OUJIN Ultimate Essence Crafting5 Xiaoxuan Smallest_xuan Final Essence Crafting6 Eu Mang Oumang

finalgem

Green dragon

blue_dragon

Golden stalk

GOLD_CAIGENGZI

Ouhuang Ouhuang's enchanting vegetable stalk

Re_CaiGengzi

Suzaku suzaku secret silver

Mithrillium

Caigengzi fine gold

adaminite

Xuanwu xuanwu secret

Mithminite

White tiger

White_tiger

Sabras Surplus Tayelong

tyrone

Fault Metal Glitch Gold GOLD Mao Tulye natural disaster metal TZ Daxuan Plastic Plastic

List of the registration name of the entry

characteristic name Registration name characteristic name Register yyds

BX4

Knowledge is power

exp_is_power

The power of the stalk

gengzi_power

Darkness

SPOOKY_ANWU

Bully

low_kill_big

Daxuan's video

bx_video

Sources of evil

Warp_attack

Fire wind

fire_trait

Rock God's gaze

Eye_trait

Water God's Blessing

bless_trait

Blessing of Ice God

God_eye

Wind of the Wind God

god_angryry

Gambler

DT

Bad soft and afraid

GOLD Abyss Nightmare

abyss_warp

End you

final_you

The smallest Xuan Xuan of the Demon Girl EM in the Black Streaming Matrix?Burning ZQ1 Flame at SX Hell Burning ZQ2's Hard Shield XW brave tiger BH

Dragon Shen Qiao Xiaoshou

QL

Mythical dragon

TL

I hate vampire

exx

What do you think

SXX

Reflux

ahh crazy flat kid

child_kill

Xuanxiucai Water Friends

bx_kill

I am super brave

health_kill

Armor characteristic Daxuan's protection ABX1 Daxuan's asylum ABX2 Daxuan's god -care ABX3 Daxuan hug ABX4

Aegis of explosion (I/II/III)

aexplode1/2/3

BOSS asylum (I/II/III/IV)

Aboss1/2/3/4

I am a zombie (may not be effective)

aI_AM_ZOMBIE

I'm afraid of bear children

achild

Distort

AWARP

Be a younger brother for life

aheadh

Wind God's asylum

awindp

Fengshen's contrast

awindpa

Knowledge is protection

AEXP

Eyes

AMM

Flame

AFF

Big meat shield

AFY

Rapid

AXM

Dragon soul

ATL

If you love me, answer it for me

AJZ

Feel the devil

aaje

Shake M

axx1

Extremely trembling M

axx2

Ancient power

ASD

Modification

As you can see above, I added a lot of customized original craftsmanship attributes (strange names) to the integration package. If the player is not satisfied with the bonus of these entries, the effect is not satisfied, and you can modify it by himself.

File location: Scripts/API/Thinker.zs

 // Set the damage multiplier of the Daxuan entry during spike.

// The principle of spike actually meets the conditions of the other party's maximum health after the condition is in accordance with the conditions. Generally, it can be spiked, but special circumstances are not ruled out.

// If the damage multiplier is too high, it will cause a considerable durability loss of weapons. At the same time, if it is a Western sword, it will cause more gray love.

// Scope: [1.0 ~ 10000.0] Default: 3.0

Static Ticbxkilltargetrate as float = 3.0;

// Knowledge is the maximum damage multiplier of power entries.Default: 1.5

Static Ticexppower as float = 1.5;

// The bonus percentage and cutting rate of the power entry of Sanzi.Default: [1.7, 0.1]

static ticcaigengzipower as float [] = [1.7, 0.1];

// The dark and non -wordless entry causes the bonus percentage and the reduction rate.Default: [4.0, 0.5]

static ticanwuPower as float [] = [4.0,0.5];

// The highest damage multiplier caused by bullying entries.Default: 3.5

Static Tick Biggestpower as Float = 3.5;

// Daxuan's video entry caused by the damage multiplier.Default: 1.5

Static TicbxVideopower as float = 1.5;

// The damage multiplier caused by the crazy children's entry.Default: 2.0

Static TicBeatfrichend as Float = 2.0;

// The maximum damage multiplier caused by my super brave entry.Default: 2.0

static ticifeelnb as float = 2.0;

// Xuanxiucai Water Friends Words The damage multiplier.Default: 5.0

static ticbxqq as float = 5.0;

// The abyss nightmare entries are damaged by the four dimensions, respectively.Default: [1.2,1.5, 1.8,2.0]

static ticabySSSSSPOWER as float [] = [1.2, 1.5, 1.8, 2.0];

// The maximum damage multiplier caused by the source of the evil.Default: 1.35

STATIC TICWARPPOWER As Float = 1.35; // The flame duration caused by burning entries in hell (seconds).Default: 10

static ticfireinhell as int = 10;

// The maximum damage multiplier caused by the flame raid entry.Default: 2.0

Static Ticattackwhenfire as float = 2.0;

// Rigid shield entry trigger probability.Scope: [0.0 ~ 1.0] Default: 0.3 (30%)

Static TicheavyProtectChance As Double = 0.3;

// The damage multiplier caused by mythical dragon.Default: 1.75

Static ticsuperdragonPower as float = 1.75;

// I hate the damage multiplication of vampire entries to other creatures.Default: 0.5

Static Tictootherrate As Float = 0.5;

// The probability of anti -bull entry is anti -phase.Scope: [0.0 ~ 1.0] Default: 0.02

Static TictrumPChance As Double = 0.02;

// Anti -span entry and anti -bull damage multiplier.Default: 0.2

static tictrumppower as float = 0.2;

// Reflix the entry caused the probability of additional damage.Scope: [0.0 ~ 1.0] Default: 0.33

Static TictrumpextradamageChance As Double = 0.33;

// Reflective entry causes the multiplier of additional damage.Default: 3.0

Static Tictrumpextradamagerate as float = 3.0;

// The damage multiplier caused by the explosive stream matrix entry.Default: 1.1

Static TicmartixPower as float = 1.1;

// The terrible demon girl entry spike probability.Scope: [0.0 ~ 1.0] Default: 0.01 (1%)

Static TiCDEMONPOWER as double = 0.01;

// The smallest Xuan?The entry repatches the value of life.Default: 0.5 (50%)

static ticsXpower as float = 0.5;

// Firewind entry causes damage to the rate of damage.Default: 1.5

Static Ticfirewindpower as float = 1.5;

// The damage multiplier caused by the gaze of the rock god.Default: 1.5

Static TicStonegodPower as float = 1.5;

// Water God's blessing entry caused by the damage multiplier.Default: 1.85

STATIC TICWATERGODPOWER As Float = 1.85; // The probability of void gambler's entry damage becomes low.Scope: [0.0 ~ 1.0] Default: 0.7

Static TicbetChance as double = 0.7;

// The damage of the gambler's entry damage is high.Default: 2.5

Static TicbetPower as float = 2.5;

// ------------------------------------------------------------------------------------------------

// If you love me, answer the probability of trigger the entry for me.Scope: [0.0 ~ 1.0] Default: 0.15

Static ticifyOvemegivemeanswork as double = 0.15;

// Feel the probability of triggering the devil entry.Scope: [0.0 ~ 1.0] Default: 0.15

Static TicfeeldemonChaance As Double = 0.15;

// Feel the devil's entry to reduce the twisted value at a time.Scope: [0 ~ 100] Default: 1

Static TicfeeldemonLosswarp as int = 1;

// The minimum rate and maximum rate of the Dragon Soul Cord.Scope: [0.0 ~ 1.0] By default: [0.84,0.89]

static ticdragonsoul as float [] = [0.84, 0.89];

Function call

The above content is modified to the config I provided. The following content is called according to the Function function I have preset, thereby adding content to the integrated package easier.

How to use:

A new ZS file is built in Scripts, which is set below 50 (excluding) priority.

Game phase operation

Guide package format: import scripts.api.gamestage.func;

FUNC is the corresponding method name, the same.

 // batch disabled items.

// Move it into the Disable phase and delete the synthetic formula at the same time.

// The item is introduced in IItemstack [].

addItemdisabled (IITEMSTACK []);

// Batch the game to add the game stage.

// The item is introduced in IITEMSTACK [], and the game stage is passed in.

additemagamestage (IItemstack [], String);

// Batch the dimension to increase the game stage.

// The dimension ID is introduced in int [], and the game stage is passed in.

addimensionagamestage (int [], string);

Agricultural seed operation

Guide package format: import scripts.api.grow.func;

 // Get the corresponding level of synthetic seeds.

// The level is passed in by int, and only accepts the value of [1,10].

// Return to IITEMSTACK object.

Getcraftseed (int);

// The first IITEMSTACK [] is introduced into the output item and central items, and the second IItemstack is introduced into the surrounding items.

// Add the recipe for outputting items of the registered center items to output the output items.

addseedRecipe (IItemstack [], IITEMSTACK);

Object acquisition

Guide package format: Import Scripts.api.item.func;

 // Get the initial treasure book, a total of 16 Akash manuals fused.

// You need to pass in the iPlayer object.

givePlayerstartBook (iplayer);

Player information output

Guide package format: Import Scripts.api.Message.func;

 // Send the specified message to the player's chat bar.

// You need to pass in the iPlayer object, information content, color.

// The color is passed in, of which 0 is green and 1 is red.

SendMessageToplayer (iPlayer, String, int);

Modular mechanical formula

Guide package format: Import Scripts.api.modular.func;

It is worth noting that for the formula name, it is named after AA ~ AZ, BA ~ BZ, and needs to avoid these naming when adding formulas.

 // Register a low -level seed synthetic formula. If the reader does not understand, see the above content.

// Input, the output item is passed in with IItemstack, and the formula name is passed in string.

addseedgrowrecipe (IITEMSTACK, IItemstack, String);

// Register a high -level seed synthetic formula. If the reader does not understand, see the above content.

// Input, the output item is passed into the corresponding four probability with IItemstack, and the formula name is passed into string.

addseedgrowByChancerecipe (IITEMSTACK, IItemstack, Double, String);

// Register the formula of automated devices of Dragon.

// The input item is introduced in Itemstack [], the output item is introduced in IItemstack, the injection level is passed in by int, the energy consumption is passed in, and the formula name is passed in by string.

// Grade only supports 1, 2, 3.If you pass in 1 or 2, you will register a higher -level injection device formula at the same time.

// The number of input items only supports 5 ~ 9 (including both ends).

adddeInfusionAutorecipe (IItemstack [], IItemstack, int, int, String);

// Formula for registering blood altar automation devices.

// Input, the output item is passed in with IItemstack, consumed LP to pass into int, and the formula name is passed in by string.

addbloodalTarautorecipe (IITEMSTACK, IItemstack, int, String);

// Register the formula of the automated plant magic automation device.

// The input item is passed in with iItemstack [], the output item is passed in with IItemstack, the magic power consumption is passed in, and the formula name is passed in by string.

// The number of input items only supports 1 ~ 6.

addbotaniaAutorecipe (IItemstack [], IItemstack, int, String);

Daxuan brand at a loss price exchange

In the integrated package, I rewritten the relevant mechanisms of the price exchange.

Each item is registered in the form of an object.

kind:

 zenclass itemclass {

Var item as IITEMSTACK;

Var power as int;

Varming as string;

ZenConStructor (Item as IItemstack, Power as int, Kind as String) {{

This.item = item;

This.power = power; this.kind = kind;

}

}

Method with corresponding energy to add items:

 addbxtRanslateRecipe (IITEMSTACK, Int, String, String, String); 

The item is passed in with IItemstack, and the corresponding decomposition energy is passed in (his synthetic energy will be decomposed energy, that is, 24 times the value of you), the energy type is passed in in String, and the registration name is passed in.

Among them, the maximum of the decomposition energy is 32,000, but it can still be set to an int limit, but the display and actual decomposition in the game are 32,000.

Energy type: "BX", "SX", "TC", "Dragon", "GZ", "BASIC".The corresponding correspondence: Daxuan energy, Xiaoxuan energy, mysterious energy, Longyin energy, stem energy, basic energy.

Pass according to the above methods, and display the registered decomposition formula, synthetic formula, and the energy value of items.

If you just want to add the formula of the item+the replication of the fluid itself, please use the following method:

 additemcopy (IITEMSTACK, Int, IliquidStack, String); 

The above four parameters represent the representative: self -copying items, the number of fluids (MB), the type of fluid, and the registered name.

Faster synthetic registration

Guide package: import scripts.api.recipes.func;

FUNC is the corresponding function name.

Mysterious Age Olympic Archers Injecting Magic Formula:

 addthumcraftinFusionRcipe (String, String, IITEMSTACK, IItemstack [], IItemstack, CTASPECTSTACK []); 

The above parameters are: formula name, research name, central items, danger, surrounding items, output items, source.

Register an orderly synthetic formula for the ultimate workbench.

 AddsuperCraftRecipe (String, IITEMSTACK, IITEMSTACK [] []); 

The above parameters are: formula name, output item, and input items.

Remove the workbench formula.

 RemoveItemRcipe (IITEMSTACK);

RemoveITEMSTACKRECIPE (Iitemstack []);

The passing parameters are the items to be removed.

Register a formula for creating items.

 AddcreatingItemRcipe (String, IItemstack, IITEMSTACK); 

Formula in the ultimate workbench.

The passing parameters are: registration name, surrounding items, output items.

Register a recipe for a composition of an item with 81 same objects on the ultimate workbench.

 AddsuperRallRCipe (String, IITEMSTACK, IITEMSTACK); 

The passing parameters are: registered name, input item, output items.

Register a series of the same items to transform each other.

For example: the conversion between all scorched black stones, the conversion between all marble.

 addsameitemRcipe (IITEMSTACK []); 

Pass parameters are: items that need to be transformed are at least 2.

Element registration in the mysterious era

It is used to customize a item. If there are elements, the operation will cover the original element.

Each factor value cannot exceed 500.

Guide package: Import scripts.api.thaumcraft.additeMaspect;

 additemaspect (IItemstack, CTASPECTSTACK []); 

Modular machine

The above provides a convenient way to register some multi -block structure, but it is not comprehensive enough, players can add themselves.

The following is the name and registration name of all multi -party structures with modular machinery in the integrated package.

mechanical name Register Mechanical name Register

Polytestine Automation Device

as_block

Automated test device

test

Colorful altar automation device

AS

Isez automated device

YSS

Blood automation device

blood

Biofuel production

fuel_doing

Blood Altar Automation Device

BM basic injection synthetic device DE1

Plant magic automation device

botania

Flying Dragon Injects Synthetic Device

DE2

Vegetable stalk plantation

caigungzi

Shenlong injected synthetic device

de3

Item condenser

craft

Magic generator

Magic_power

Emperor ingot Automation Device

ouhuang

Emperor detector

Oh

Large compressor

QD

SD の bun blast furnace

SD

Seed birth

seed

Automation of Mysterious Age

TC

Jiao Black Furnace Automation Device

tic

Item liquefaction

uncrAft