我的世界地质探秘:化学对CraftTweaker的支持

//———————————-

//———-调味架———-

//———————————-

//input=输入项

//output=输出项

//增加配方

mods.rockhounding_chemistry.SeasoningRack.add(input, output);

mods.rockhounding_chemistry.SeasoningRack.add(<minecraft:wheat>, <minecraft:wheat_seeds>);

//删除配方

mods.rockhounding_chemistry.SeasoningRack.remove(input);

mods.rockhounding_chemistry.SeasoningRack.remove(<rockhounding_chemistry:chemicalItems:7>);

//———————————-

//———-粉碎机———–

//———————————-

//input = 输入项

//output = 输出项

//probability = 输出物品的概率

//comminution = 粉碎物品的等级

//增加随机输出物品的配方

mods.rockhounding_chemistry.MineralSizer.add(input, [output1, output2, output3, output4, output5], [probability1, probability2, probability3, probability4, probability5], false);

mods.rockhounding_chemistry.MineralSizer.add(<minecraft:hardened_clay>, [<minecraft:dye:0>, <minecraft:dye:1>, <minecraft:dye:2>, <minecraft:dye:3>, <minecraft:dye:4>], [20, 20, 20, 20, 20], false);

//增加等级输出物品的配方

mods.rockhounding_chemistry.MineralSizer.add(input, [output1, output2, output3, output4, output5], [comminution1, comminution2, comminution3, comminution4, comminution5], true);

mods.rockhounding_chemistry.MineralSizer.add(<minecraft:hardened_clay>, [<minecraft:dye:0>, <minecraft:dye:1>, <minecraft:dye:2>, <minecraft:dye:3>, <minecraft:dye:4>], [20, 20, 20, 20, 20], true);

//增加只输出单个物品的配方

mods.rockhounding_chemistry.MineralSizer.add(input, output);

mods.rockhounding_chemistry.MineralSizer.add(<minecraft:gravel>, <minecraft:dye:6>);

//删除配方

mods.rockhounding_chemistry.MineralSizer.remove(input);

mods.rockhounding_chemistry.MineralSizer.remove(<rockhounding_chemistry:miscItems:27>);

//———————————-

//———–浸出槽———–

//———————————-

//input =输入项

//output = 输出项

//probability = 输出物品的概率

//gravity = 每个元素的比重乘以x100(即1.55必须写成155)

//增加输出随机物品的配方

mods.rockhounding_chemistry.LeachingVat.add(input, [output1, output2, output3, output4, output5], [probability1, probability2, probability3, probability4, probability5]);

mods.rockhounding_chemistry.LeachingVat.add(<minecraft:sandstone>, [<minecraft:dye:15>, <minecraft:dye:14>, <minecraft:dye:13>, <minecraft:dye:12>, <minecraft:dye:11>], [20, 20, 20, 20, 20]);

//增加按权重输出物品的配方

mods.rockhounding_chemistry.LeachingVat.add(input, [output1, output2, output3, output4, output5], [gravity1, gravity2, gravity3, gravity4, gravity5], true);

mods.rockhounding_chemistry.LeachingVat.add(<minecraft:sandstone>, [<minecraft:dye:15>, <minecraft:dye:14>, <minecraft:dye:13>, <minecraft:dye:12>, <minecraft:dye:11>], [330, 218, 1400, 774, 158], true);

//增加只输出单物品的配方

mods.rockhounding_chemistry.LeachingVat.add(input, output);

mods.rockhounding_chemistry.LeachingVat.add(<minecraft:cobblestone>, <minecraft:dye:15>);

//删除配方

mods.rockhounding_chemistry.LeachingVat.remove(input);

mods.rockhounding_chemistry.LeachingVat.remove(<rockhounding_chemistry:mineralOres:2>);

//———————————-

//———-化学萃取器———-

//———————————-

//name = 将出现在机器选择器中的合金名称

//ingredients =组成合金的预定输入。最多6个项目

//quantities =所需的每种项目的数量。最多6个项目

//alloy = 表示输出(通常为锭)的项目

//scrap = 表示配方是否产出废气,可选

//添加废料输出

mods.rockhounding_chemistry.MetalAlloyer.add(name, [ingredient1, ingredient2, ingredient3],[quantity1, quantity2, quantity3], output, scrap);

mods.rockhounding_chemistry.MetalAlloyer.add(“Netherite”, [“dustZinc”, “dustUranium”, “dustChromium”, “dustBoron”],[6, 4, 2, 1], <minecraft:blaze_rod>*9, <minecraft:gold_nugget>);

//添加而不输出废料的配方

mods.rockhounding_chemistry.MetalAlloyer.add(name, [ingredient1, ingredient2, ingredient3, ingredient4],[quantity1, quantity2, quantity3, quantity4], output);

mods.rockhounding_chemistry.MetalAlloyer.add(“Netherite”, [“dustZinc”, “dustUranium”, “dustChromium”, “dustBoron”],[6, 4, 2, 1], <minecraft:blaze_rod>*9);

//删除配方

mods.rockhounding_chemistry.MetalAlloyer.remove(alloy);

mods.rockhounding_chemistry.MetalAlloyer.remove(<rockhounding_chemistry:alloyItems:10>);

Copyright © 2018-2023 PHP源码网 版权所有
PHP源码网 » 我的世界地质探秘:化学对CraftTweaker的支持

提供最优质的资源集合

立即查看 了解详情