我的世界Create魔改教程
本文将整理wiki中的魔改。
这是动力辊压机的配方:
工作盆:
//<recipetype:create:compacting>.addRecipe("配方名", "热量", 输出, [输入物品], [输入流体], 时间);
<recipetype:create:compacting>.addRecipe("compacting_test_2", "heated", <item:minecraft:brick>, [<item:minecraft:diamond>, <item:minecraft:dirt>], [<fluid:minecraft:lava>], 1000);
其中热量有三种:没有(none)普通加热(heated)超级加热(superheated)
把钻石,泥土,岩浆,按普通加热压块,得到砖
置物台:
//<recipetype:create:pressing>.addRecipe("配方名", [输出物品 输出概率], <输入物品>);
<recipetype:create:pressing>.addRecipe("pressing_test", [<item:minecraft:diamond>, <item:minecraft:apple> % 45], <item:minecraft:dirt>);
压泥土有45%的概率获得钻石和苹果
动力搅拌器的配方:
<recipetype:create:mixing>.addRecipe("配方名", "热量", 输出, [输入物品], [输入流体], 时间);
<recipetype:create:mixing>.addRecipe("compacting_test_2", "heated", <item:minecraft:brick>, [<item:minecraft:diamond>, <item:minecraft:dirt>], [<fluid:minecraft:lava>], 1000);
普通加热钻石,泥土,岩浆搅拌产出砖
动力锯的配方:
//<recipetype:create:cutting>.addRecipe("配方名", 输出物品, 输入物品);
<recipetype:create:cutting>.addRecipe("cutting_test", <item:minecraft:diamond>, <item:minecraft:glass>);
切割玻璃得到钻石 假钻的制造
注液器的配方;
// <recipetype:create:filling>.addRecipe(配方名, 输出,输入物品, 输入流体,);
<recipetype:create:filling>.addRecipe("filling_test", <item:minecraft:diamond>, <item:minecraft:dirt>, <fluid:minecraft:lava>);
把岩浆注射到泥土里,可以得到钻石
分液池的配方:
// <recipetype:create:emptying>.addRecipe(配方名, 输出物品, 输出流体, 输入物品,);
<recipetype:create:emptying>.addRecipe("emptying_test", <item:minecraft:diamond>, <fluid:minecraft:lava>, <item:minecraft:dirt>);
把泥土扔到分液池上,会分出岩浆,抛出钻石
粉碎轮的配方:
// <recipetype:create:crushing>.addRecipe(配方名, [输出,输出概率] , 输入, );
<recipetype:create:crushing>.addRecipe("hopes_and_dreams", [<item:minecraft:diamond> % 10], <item:minecraft:dirt>);
粉碎泥土有10%的概率获得钻石
石磨的配方:
// <recipetype:create:milling>.addRecipe(配方名, [输出 输出概率] , 输入,)
<recipetype:create:milling>.addRecipe("milling_test", [<item:minecraft:diamond>, <item:minecraft:apple> % 45], <item:minecraft:dirt>);
研磨泥土时有45%的概率获得钻石和苹果
动力合成器的配方:
// <recipetype:create:mechanical_crafting>.addRecipe(配方名, 输出, [[输入],[输入]])
<recipetype:create:mechanical_crafting>.addRecipe
("mechanical_crafter_test", <item:minecraft:diamond>, [[<item:minecraft:stick>, <item:minecraft:air>, <item:minecraft:stick>],
[<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>]]);
把木棍以这样的形式放在动力合成器里可以得到钻石: / 空 /
空 / 空
序列化装配:(不知道是什么的去这里:https://www.mcmod.cn/item/470020.html)
<recipetype:create:sequenced_assembly>.addRecipe(<recipetype:create:sequenced_assembly>.builder("seq_test")
.transitionTo(<item:minecraft:glass>)
.require(<item:minecraft:arrow>)
.loops(2)
.addOutput(<item:minecraft:diamond>, 1)
.addOutput(<item:minecraft:apple>, 1)
.addStep(<recipetype:create:cutting>.factory(), (rb) => rb.duration(50))
.addStep(<recipetype:create:pressing>.factory(), (rb) => rb.duration(500))
.addStep(<recipetype:create:deploying>.factory(), (rb) => rb.require(<item:minecraft:dirt>)));
该配方会让一根箭通过动力锯变为玻璃,然后用动力辊压机压这个玻璃,最后用机械手手持泥土点击,重复两次,可以获得一个钻石和一个苹果
砂纸打磨的配方:
// <recipetype:create:sandpaper_polishing>.addRecipe(配方名, 输出, 输出,)
<recipetype:create:sandpaper_polishing>.addRecipe("sand_paper_polishing_test", <item:minecraft:diamond>, <item:minecraft:glass>);
以上所有配方均需要CreateTweaker作为支持