0.18.0-hotfix4 update

This commit is contained in:
ZHAY10086
2025-05-14 12:24:29 +08:00
parent 03cec67bac
commit 91f960d6b0
99 changed files with 3879 additions and 1103 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ mods.jei.JEI.addDescription(<ae2stuff:inscriber>,["制作处理器,速度更
mods.jei.JEI.addDescription(<ae2fc:fluid_discretizer>,["将流体转化为液滴形式以便于流体合成,一个ME网络中只能存在一个!"]);
mods.jei.JEI.addDescription(<ae2fc:fluid_packet_decoder>,["将液滴转化回流体,以防卡住。使用该方块可将液滴视为物品进行自动化。"]);
mods.jei.JEI.addDescription(<ae2fc:ingredient_buffer>,["既是箱子又是储罐的缓存方块,有4x16B的流体容量和9个物品槽位。"]);
mods.jei.JEI.addDescription(<ae2fc:large_ingredient_buffer>,["既是箱子又是储罐的缓存方块,有7x16b的流体容量和27物品槽位。"]);
mods.jei.JEI.addDescription(<ae2fc:large_ingredient_buffer>,["既是箱子又是储罐的缓存方块,有7x16b的流体容量和27物品槽位。"]);
mods.jei.JEI.addDescription(<ae2fc:burette>,["可用于向储罐内输入精准数量的流体,因为JEI联动的缘故实际上并不需要。"]);
mods.jei.JEI.addDescription(<ae2fc:dual_interface>,["物品和流体二合一的接口。"]);
mods.jei.JEI.addDescription(<ae2fc:fluid_level_maintainer>,["更好版本的流体标准发信器,可标记5种流体。"]);
+13 -2
View File
@@ -4,6 +4,12 @@ import mods.thaumcraft.Infusion;
import mods.appliedenergistics2.Inscriber;
recipes.addShaped(<aoa3:rune_shrine>,
[[<ore:ingotSilver>, <aoa3:unpowered_rune>, <ore:ingotSilver>],
[<aoa3:unpowered_rune>, <aoa3:ancient_rock>, <aoa3:unpowered_rune>],
[<ore:ingotSilver>, <aoa3:unpowered_rune>, <ore:ingotSilver>]]);
mods.thaumcraft.Infusion.registerRecipe("infusefractalstone", "",
<contenttweaker:fractal_stone>, 10,
[<aspect:caeles>*1000, <aspect:cognitio>*1000, <aspect:desiderium>*1000, <aspect:imperium>*1000, <aspect:mythus>*1000, <aspect:praecantatio>*1000, <aspect:permutatio>*1000, <aspect:fabrico>*1000, <aspect:victus>*1000, <aspect:instrumentum>*1000],
@@ -216,6 +222,11 @@ recipes.addShaped(<contenttweaker:stone_of_shadesmar>*8,
[<contenttweaker:stormlight_stone>, <contenttweaker:freedomsteel_ingot>, <contenttweaker:stormlight_stone>],
[<contenttweaker:stormlight_stone>, <contenttweaker:stormlight_stone>, <contenttweaker:stormlight_stone>]]);
recipes.addShaped(<contenttweaker:stone_of_the_resurrected_shard>*2,
[[<contenttweaker:meteoric_draconic_stone>, <contenttweaker:meteoric_draconic_stone>, <contenttweaker:meteoric_draconic_stone>],
[<contenttweaker:stone_of_shadesmar>, <contenttweaker:warren_shard>, <contenttweaker:stone_of_shadesmar>],
[<contenttweaker:meteoric_draconic_stone>, <contenttweaker:meteoric_draconic_stone>, <contenttweaker:meteoric_draconic_stone>]]);
recipes.addShaped(<contenttweaker:pure_twilight_matter>*1,
[[null, <divinerpg:eden_fragments>, null],
@@ -1102,8 +1113,8 @@ creatverdith6.addFluidInput(<fluid:myrmitite>*102400);
creatverdith6.addFluidInput(<fluid:rhenium>*102400);
creatverdith6.addItemInput(<contenttweaker:warren_configurator>.withTag({display: {Lore: ["§d§M模式 6§r"]}}));
creatverdith6.setChance(0.0);
creatverdith6.addItemInput(<contenttweaker:sacred_cinders_fruit>*256);
creatverdith6.addItemInput(<tconstruct:materials:16>*256);
creatverdith6.addItemInput(<contenttweaker:sacred_cinders_fruit>*1024);
creatverdith6.addItemInput(<tconstruct:materials:16>*1024);
creatverdith6.addFluidOutput(<fluid:whisper_of_verdith_anath>*100000);
creatverdith6.build();
-604
View File
@@ -1,604 +0,0 @@
#loader contenttweaker
import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Item;
import mods.contenttweaker.IItemRightClick;
import mods.contenttweaker.Commands;
import mods.contenttweaker.ItemFood;
import mods.contenttweaker.IItemFoodEaten;
import mods.contenttweaker.MutableItemStack;
import mods.contenttweaker.Hand;
import mods.contenttweaker.World;
import mods.contenttweaker.IItemUpdate;
import mods.contenttweaker.Player;
import crafttweaker.player.IPlayer;
import crafttweaker.block.IBlock;
import crafttweaker.world.IBlockPos;
import crafttweaker.data.IData;
import crafttweaker.util.Position3f;
import mods.contenttweaker.IBlockAction;
import crafttweaker.events.IEventManager;
import crafttweaker.server.IServer;
import crafttweaker.command.ICommandManager;
import crafttweaker.command.ICommandSender;
var sednaportal = VanillaFactory.createBlock("sedna_portal_block", <blockmaterial:glass>);
sednaportal.setBlockHardness(-1.0);
sednaportal.setToolClass("pickaxe");
sednaportal.setPassable(true);
sednaportal.setFullBlock(false);
sednaportal.setLightValue(0.5);
sednaportal.setBlockLayer("TRANSLUCENT");
sednaportal.setLightOpacity(0);
sednaportal.setTranslucent(true);
sednaportal.register();
var rheniaportal = VanillaFactory.createBlock("rhenia_portal_block", <blockmaterial:glass>);
rheniaportal.setBlockHardness(-1.0);
rheniaportal.setToolClass("pickaxe");
rheniaportal.setPassable(true);
rheniaportal.setFullBlock(false);
rheniaportal.setLightValue(0.5);
rheniaportal.setBlockLayer("TRANSLUCENT");
rheniaportal.setLightOpacity(0);
rheniaportal.setTranslucent(true);
rheniaportal.register();
var haumeaportal = VanillaFactory.createBlock("haumea_portal_block", <blockmaterial:glass>);
haumeaportal.setBlockHardness(-1.0);
haumeaportal.setToolClass("pickaxe");
haumeaportal.setPassable(true);
haumeaportal.setFullBlock(false);
haumeaportal.setLightValue(0.5);
haumeaportal.setBlockLayer("TRANSLUCENT");
haumeaportal.setLightOpacity(0);
haumeaportal.setTranslucent(true);
haumeaportal.register();
var lunaportal = VanillaFactory.createBlock("luna_portal_block", <blockmaterial:glass>);
lunaportal.setBlockHardness(-1.0);
lunaportal.setToolClass("pickaxe");
lunaportal.setPassable(true);
lunaportal.setFullBlock(false);
lunaportal.setLightValue(0.5);
lunaportal.setBlockLayer("TRANSLUCENT");
lunaportal.setLightOpacity(0);
lunaportal.setTranslucent(true);
lunaportal.register();
var osirisportal = VanillaFactory.createBlock("osiris_portal_block", <blockmaterial:glass>);
osirisportal.setBlockHardness(-1.0);
osirisportal.setToolClass("pickaxe");
osirisportal.setPassable(true);
osirisportal.setFullBlock(false);
osirisportal.setLightValue(0.5);
osirisportal.setBlockLayer("TRANSLUCENT");
osirisportal.setLightOpacity(0);
osirisportal.setTranslucent(true);
osirisportal.register();
var ptahportal = VanillaFactory.createBlock("ptah_portal_block", <blockmaterial:glass>);
ptahportal.setBlockHardness(-1.0);
ptahportal.setToolClass("pickaxe");
ptahportal.setPassable(true);
ptahportal.setFullBlock(false);
ptahportal.setLightValue(0.5);
ptahportal.setBlockLayer("TRANSLUCENT");
ptahportal.setLightOpacity(0);
ptahportal.setTranslucent(true);
ptahportal.register();
var hatorportal = VanillaFactory.createBlock("hator_portal_block", <blockmaterial:glass>);
hatorportal.setBlockHardness(-1.0);
hatorportal.setToolClass("pickaxe");
hatorportal.setPassable(true);
hatorportal.setFullBlock(false);
hatorportal.setLightValue(0.5);
hatorportal.setBlockLayer("TRANSLUCENT");
hatorportal.setLightOpacity(0);
hatorportal.setTranslucent(true);
hatorportal.register();
var europaportal = VanillaFactory.createBlock("europa_portal_block", <blockmaterial:glass>);
europaportal.setBlockHardness(-1.0);
europaportal.setToolClass("pickaxe");
europaportal.setPassable(true);
europaportal.setFullBlock(false);
europaportal.setLightValue(0.5);
europaportal.setBlockLayer("TRANSLUCENT");
europaportal.setLightOpacity(0);
europaportal.setTranslucent(true);
europaportal.register();
var oiportal = VanillaFactory.createBlock("oi_portal_block", <blockmaterial:glass>);
oiportal.setBlockHardness(-1.0);
oiportal.setToolClass("pickaxe");
oiportal.setPassable(true);
oiportal.setFullBlock(false);
oiportal.setLightValue(0.5);
oiportal.setBlockLayer("TRANSLUCENT");
oiportal.setLightOpacity(0);
oiportal.setTranslucent(true);
oiportal.register();
var falacerportal = VanillaFactory.createBlock("falacer_portal_block", <blockmaterial:glass>);
falacerportal.setBlockHardness(-1.0);
falacerportal.setToolClass("pickaxe");
falacerportal.setPassable(true);
falacerportal.setFullBlock(false);
falacerportal.setLightValue(0.5);
falacerportal.setBlockLayer("TRANSLUCENT");
falacerportal.setLightOpacity(0);
falacerportal.setTranslucent(true);
falacerportal.register();
var orcusportal = VanillaFactory.createBlock("orcus_portal_block", <blockmaterial:glass>);
orcusportal.setBlockHardness(-1.0);
orcusportal.setToolClass("pickaxe");
orcusportal.setPassable(true);
orcusportal.setFullBlock(false);
orcusportal.setLightValue(0.5);
orcusportal.setBlockLayer("TRANSLUCENT");
orcusportal.setLightOpacity(0);
orcusportal.setTranslucent(true);
orcusportal.register();
var myrmexportal = VanillaFactory.createBlock("myrmex_portal_block", <blockmaterial:glass>);
myrmexportal.setBlockHardness(-1.0);
myrmexportal.setToolClass("pickaxe");
myrmexportal.setPassable(true);
myrmexportal.setFullBlock(false);
myrmexportal.setLightValue(0.5);
myrmexportal.setBlockLayer("TRANSLUCENT");
myrmexportal.setLightOpacity(0);
myrmexportal.setTranslucent(true);
myrmexportal.register();
var pixoniaportal = VanillaFactory.createBlock("pixonia_portal_block", <blockmaterial:glass>);
pixoniaportal.setBlockHardness(-1.0);
pixoniaportal.setToolClass("pickaxe");
pixoniaportal.setPassable(true);
pixoniaportal.setFullBlock(false);
pixoniaportal.setLightValue(0.5);
pixoniaportal.setBlockLayer("TRANSLUCENT");
pixoniaportal.setLightOpacity(0);
pixoniaportal.setTranslucent(true);
pixoniaportal.register();
var proximaportal = VanillaFactory.createBlock("proxima_portal_block", <blockmaterial:glass>);
proximaportal.setBlockHardness(-1.0);
proximaportal.setToolClass("pickaxe");
proximaportal.setPassable(true);
proximaportal.setFullBlock(false);
proximaportal.setLightValue(0.5);
proximaportal.setBlockLayer("TRANSLUCENT");
proximaportal.setLightOpacity(0);
proximaportal.setTranslucent(true);
proximaportal.register();
var zoiportal = VanillaFactory.createBlock("zoi_portal_block", <blockmaterial:glass>);
zoiportal.setBlockHardness(-1.0);
zoiportal.setToolClass("pickaxe");
zoiportal.setPassable(true);
zoiportal.setFullBlock(false);
zoiportal.setLightValue(0.5);
zoiportal.setBlockLayer("TRANSLUCENT");
zoiportal.setLightOpacity(0);
zoiportal.setTranslucent(true);
zoiportal.register();
var neroportal = VanillaFactory.createBlock("nero_portal_block", <blockmaterial:glass>);
neroportal.setBlockHardness(-1.0);
neroportal.setToolClass("pickaxe");
neroportal.setPassable(true);
neroportal.setFullBlock(false);
neroportal.setLightValue(0.5);
neroportal.setBlockLayer("TRANSLUCENT");
neroportal.setLightOpacity(0);
neroportal.setTranslucent(true);
neroportal.register();
var akathartosportal = VanillaFactory.createBlock("akathartos_portal_block", <blockmaterial:glass>);
akathartosportal.setBlockHardness(-1.0);
akathartosportal.setToolClass("pickaxe");
akathartosportal.setPassable(true);
akathartosportal.setFullBlock(false);
akathartosportal.setLightValue(0.5);
akathartosportal.setBlockLayer("TRANSLUCENT");
akathartosportal.setLightOpacity(0);
akathartosportal.setTranslucent(true);
akathartosportal.register();
var pauramportal = VanillaFactory.createBlock("pauram_portal_block", <blockmaterial:glass>);
pauramportal.setBlockHardness(-1.0);
pauramportal.setToolClass("pickaxe");
pauramportal.setPassable(true);
pauramportal.setFullBlock(false);
pauramportal.setLightValue(0.5);
pauramportal.setBlockLayer("TRANSLUCENT");
pauramportal.setLightOpacity(0);
pauramportal.setTranslucent(true);
pauramportal.register();
var alkemiaportal = VanillaFactory.createBlock("alkemia_portal_block", <blockmaterial:glass>);
alkemiaportal.setBlockHardness(-1.0);
alkemiaportal.setToolClass("pickaxe");
alkemiaportal.setPassable(true);
alkemiaportal.setFullBlock(false);
alkemiaportal.setLightValue(0.5);
alkemiaportal.setBlockLayer("TRANSLUCENT");
alkemiaportal.setLightOpacity(0);
alkemiaportal.setTranslucent(true);
alkemiaportal.register();
var apichisiportal = VanillaFactory.createBlock("apichisi_portal_block", <blockmaterial:glass>);
apichisiportal.setBlockHardness(-1.0);
apichisiportal.setToolClass("pickaxe");
apichisiportal.setPassable(true);
apichisiportal.setFullBlock(false);
apichisiportal.setLightValue(0.5);
apichisiportal.setBlockLayer("TRANSLUCENT");
apichisiportal.setLightOpacity(0);
apichisiportal.setTranslucent(true);
apichisiportal.register();
var taerrapiattaportal = VanillaFactory.createBlock("taerrapiatta_portal_block", <blockmaterial:glass>);
taerrapiattaportal.setBlockHardness(-1.0);
taerrapiattaportal.setToolClass("pickaxe");
taerrapiattaportal.setPassable(true);
taerrapiattaportal.setFullBlock(false);
taerrapiattaportal.setLightValue(0.5);
taerrapiattaportal.setBlockLayer("TRANSLUCENT");
taerrapiattaportal.setLightOpacity(0);
taerrapiattaportal.setTranslucent(true);
taerrapiattaportal.register();
var diamerismaportal = VanillaFactory.createBlock("diamerisma_portal_block", <blockmaterial:glass>);
diamerismaportal.setBlockHardness(-1.0);
diamerismaportal.setToolClass("pickaxe");
diamerismaportal.setPassable(true);
diamerismaportal.setFullBlock(false);
diamerismaportal.setLightValue(0.5);
diamerismaportal.setBlockLayer("TRANSLUCENT");
diamerismaportal.setLightOpacity(0);
diamerismaportal.setTranslucent(true);
diamerismaportal.register();
var furattoportal = VanillaFactory.createBlock("furatto_portal_block", <blockmaterial:glass>);
furattoportal.setBlockHardness(-1.0);
furattoportal.setToolClass("pickaxe");
furattoportal.setPassable(true);
furattoportal.setFullBlock(false);
furattoportal.setLightValue(0.5);
furattoportal.setBlockLayer("TRANSLUCENT");
furattoportal.setLightOpacity(0);
furattoportal.setTranslucent(true);
furattoportal.register();
var finemportal = VanillaFactory.createBlock("finem_portal_block", <blockmaterial:glass>);
finemportal.setBlockHardness(-1.0);
finemportal.setToolClass("pickaxe");
finemportal.setPassable(true);
finemportal.setFullBlock(false);
finemportal.setLightValue(0.5);
finemportal.setBlockLayer("TRANSLUCENT");
finemportal.setLightOpacity(0);
finemportal.setTranslucent(true);
finemportal.register();
var lyndenwyrmportal = VanillaFactory.createBlock("lyndenwyrm_portal_block", <blockmaterial:glass>);
lyndenwyrmportal.setBlockHardness(-1.0);
lyndenwyrmportal.setToolClass("pickaxe");
lyndenwyrmportal.setPassable(true);
lyndenwyrmportal.setFullBlock(false);
lyndenwyrmportal.setLightValue(0.5);
lyndenwyrmportal.setBlockLayer("TRANSLUCENT");
lyndenwyrmportal.setLightOpacity(0);
lyndenwyrmportal.setTranslucent(true);
lyndenwyrmportal.register();
var gallifreyportal = VanillaFactory.createBlock("gallifrey_portal_block", <blockmaterial:glass>);
gallifreyportal.setBlockHardness(-1.0);
gallifreyportal.setToolClass("pickaxe");
gallifreyportal.setPassable(true);
gallifreyportal.setFullBlock(false);
gallifreyportal.setLightValue(0.5);
gallifreyportal.setBlockLayer("TRANSLUCENT");
gallifreyportal.setLightOpacity(0);
gallifreyportal.setTranslucent(true);
gallifreyportal.register();
//Would be nice if contenttweaker exposed onBlockActivated. Could probabily do this in MMEvents.onMachinePostTick() with only one portal block if desired
events.onPlayerInteractBlock(function(event as crafttweaker.event.PlayerInteractBlockEvent) {
if (!event.world.isRemote()) {
// Check if player is interacting with a portal block and inside that same one, then normal warper function
if (event.block.definition.id == "contenttweaker:sedna_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:sedna_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 147", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:rhenia_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:rhenia_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 163", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:haumea_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:haumea_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 146", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:luna_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:luna_portal_block") {
Commands.call("cofh tpx @p 145", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:osiris_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:osiris_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 148", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:ptah_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:ptah_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 149", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:hator_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:hator_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 150", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:europa_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:europa_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 151", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:oi_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:oi_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 152", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:falacer_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:falacer_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 160", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:orcus_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:orcus_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 161", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:myrmex_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:myrmex_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 164", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:pixonia_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:pixonia_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 165", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:proxima_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:proxima_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 166", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:zoi_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:zoi_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 171", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:nero_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:nero_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 170", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:akathartos_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:akathartos_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 172", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:pauram_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:pauram_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 173", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:alkemia_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:alkemia_portal_block") {
if(event.world.getBiome(event.player.position as IBlockPos).name != "Space") {
event.player.sendChat("需位于空间站");
return;
}
Commands.call("cofh tpx @p 174", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:apichisi_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:apichisi_portal_block") {
Commands.call("cofh tpx @p 184", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:taerrapiatta_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:taerrapiatta_portal_block") {
Commands.call("cofh tpx @p 180", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:diamerisma_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:diamerisma_portal_block") {
Commands.call("cofh tpx @p 181", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:furatto_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:furatto_portal_block") {
Commands.call("cofh tpx @p 182", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:finem_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:finem_portal_block") {
Commands.call("cofh tpx @p 185", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:lyndenwyrm_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:lyndenwyrm_portal_block") {
Commands.call("cofh tpx @p 162", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
if (event.block.definition.id == "contenttweaker:gallifrey_portal_block" &&
event.world.getBlock(event.player.x as int, event.player.y as int, event.player.z as int).definition.id == "contenttweaker:gallifrey_portal_block") {
Commands.call("cofh tpx @p 624", event.player, event.world, true, true);
Commands.call("summon astralsorcery:entitystarburst", event.player, event.world, true, true);
return;
}
return;
}
return;
});
+2
View File
@@ -431,6 +431,8 @@ addController(<modularmachinery:wormhole_field_generator_controller>, "modularma
addController(<modularmachinery:bee_stargate_controller>, "modularmachinery:bee_stargate");
addController(<modularmachinery:abyssal_entropic_catalyzer_controller>, "modularmachinery:abyssal_entropic_catalyzer");
+113 -1
View File
@@ -12,21 +12,133 @@ mods.botania.RuneAltar.removeRecipe(<botania:rune:0>);
mods.botania.RuneAltar.addRecipe(<botania:rune:0>*3,
[<botania:manaresource:0>, <botania:manaresource:23>, <divinerpg:whale_fin>, <divinerpg:crab_claw>, <minecraft:fish:3>], 150);
mods.botania.RuneAltar.addRecipe(<botania:rune:0>*9,
[<botania:manaresource:0>, <contenttweaker:actualizing_stone>, <divinerpg:whale_fin>, <divinerpg:crab_claw>, <minecraft:fish:3>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:0>*27,
[<botania:manaresource:0>, <contenttweaker:trinity_nugget>, <divinerpg:whale_fin>, <divinerpg:crab_claw>, <minecraft:fish:3>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:0>*81,
[<botania:manaresource:0>, <contenttweaker:dust_of_infinite_wishes>, <divinerpg:whale_fin>, <divinerpg:crab_claw>, <minecraft:fish:3>], 5);
mods.botania.RuneAltar.removeRecipe(<botania:rune:1>);
mods.botania.RuneAltar.addRecipe(<botania:rune:1>*3,
[<botania:manaresource:0>, <botania:manaresource:23>, <divinerpg:purple_blaze>, <erebus:materials:21>, <tconstruct:ingots:2>], 150);
mods.botania.RuneAltar.addRecipe(<botania:rune:1>*9,
[<botania:manaresource:0>, <contenttweaker:actualizing_stone>, <divinerpg:purple_blaze>, <erebus:materials:21>, <tconstruct:ingots:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:1>*27,
[<botania:manaresource:0>, <contenttweaker:trinity_nugget>, <divinerpg:purple_blaze>, <erebus:materials:21>, <tconstruct:ingots:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:1>*81,
[<botania:manaresource:0>, <contenttweaker:dust_of_infinite_wishes>, <divinerpg:purple_blaze>, <erebus:materials:21>, <tconstruct:ingots:2>], 5);
mods.botania.RuneAltar.removeRecipe(<botania:rune:2>);
mods.botania.RuneAltar.addRecipe(<botania:rune:2>*3,
[<botania:manaresource:0>, <botania:manaresource:23>, <thaumcraft:vishroom>, <nuclearcraft:dry_earth>, <cyclicmagic:crystallized_obsidian>], 150);
mods.botania.RuneAltar.addRecipe(<botania:rune:2>*9,
[<botania:manaresource:0>, <contenttweaker:actualizing_stone>, <thaumcraft:vishroom>, <nuclearcraft:dry_earth>, <cyclicmagic:crystallized_obsidian>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:2>*27,
[<botania:manaresource:0>, <contenttweaker:trinity_nugget>, <thaumcraft:vishroom>, <nuclearcraft:dry_earth>, <cyclicmagic:crystallized_obsidian>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:2>*81,
[<botania:manaresource:0>, <contenttweaker:dust_of_infinite_wishes>, <thaumcraft:vishroom>, <nuclearcraft:dry_earth>, <cyclicmagic:crystallized_obsidian>], 5);
mods.botania.RuneAltar.removeRecipe(<botania:rune:3>);
mods.botania.RuneAltar.addRecipe(<botania:rune:3>*3,
[<botania:manaresource:0>, <botania:manaresource:23>, <actuallyadditions:block_smiley_cloud>, <iceandfire:stymphalian_bird_feather>, <tconstruct:edible:4>], 150);
mods.botania.RuneAltar.addRecipe(<botania:rune:3>*9,
[<botania:manaresource:0>, <contenttweaker:actualizing_stone>, <actuallyadditions:block_smiley_cloud>, <iceandfire:stymphalian_bird_feather>, <tconstruct:edible:4>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:3>*27,
[<botania:manaresource:0>, <contenttweaker:trinity_nugget>, <actuallyadditions:block_smiley_cloud>, <iceandfire:stymphalian_bird_feather>, <tconstruct:edible:4>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:3>*81,
[<botania:manaresource:0>, <contenttweaker:dust_of_infinite_wishes>, <actuallyadditions:block_smiley_cloud>, <iceandfire:stymphalian_bird_feather>, <tconstruct:edible:4>], 5);
mods.botania.RuneAltar.addRecipe(<botania:rune:8>*5,
[<botania:manaresource:1>, <contenttweaker:actualizing_stone>, <botania:manaresource:0>, <botania:manaresource:0>, <botania:manaresource:0>, <botania:manaresource:0>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:8>*25,
[<botania:manaresource:1>, <contenttweaker:trinity_nugget>, <botania:manaresource:0>, <botania:manaresource:0>, <botania:manaresource:0>, <botania:manaresource:0>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:8>*125,
[<botania:manaresource:1>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:0>, <botania:manaresource:0>, <botania:manaresource:0>, <botania:manaresource:0>], 5);
mods.botania.RuneAltar.addRecipe(<botania:rune:4>*5,
[<botania:rune:0>, <botania:rune:1>, <contenttweaker:actualizing_stone>, <minecraft:wheat>, <ore:treeSapling>, <ore:treeSapling>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:4>*25,
[<botania:rune:0>, <botania:rune:1>, <contenttweaker:trinity_nugget>, <minecraft:wheat>, <ore:treeSapling>, <ore:treeSapling>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:4>*125,
[<botania:rune:0>, <botania:rune:1>, <contenttweaker:dust_of_infinite_wishes>, <minecraft:wheat>, <ore:treeSapling>, <ore:treeSapling>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:5>*5,
[<botania:rune:2>, <botania:rune:3>, <contenttweaker:actualizing_stone>, <minecraft:melon>, <ore:slimeball>, <minecraft:sand>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:5>*25,
[<botania:rune:2>, <botania:rune:3>, <contenttweaker:trinity_nugget>, <minecraft:melon>, <ore:slimeball>, <minecraft:sand>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:5>*125,
[<botania:rune:2>, <botania:rune:3>, <contenttweaker:dust_of_infinite_wishes>, <minecraft:melon>, <ore:slimeball>, <minecraft:sand>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:6>*5,
[<botania:rune:1>, <botania:rune:3>, <contenttweaker:actualizing_stone>, <minecraft:spider_eye>, <ore:treeLeaves>, <ore:treeLeaves>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:6>*25,
[<botania:rune:1>, <botania:rune:3>, <contenttweaker:trinity_nugget>, <minecraft:spider_eye>, <ore:treeLeaves>, <ore:treeLeaves>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:6>*125,
[<botania:rune:1>, <botania:rune:3>, <contenttweaker:dust_of_infinite_wishes>, <minecraft:spider_eye>, <ore:treeLeaves>, <ore:treeLeaves>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:7>*5,
[<botania:rune:0>, <botania:rune:2>, <contenttweaker:actualizing_stone>, <minecraft:cake>, <minecraft:snow>, <minecraft:wool:*>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:7>*25,
[<botania:rune:0>, <botania:rune:2>, <contenttweaker:trinity_nugget>, <minecraft:cake>, <minecraft:snow>, <minecraft:wool:*>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:7>*125,
[<botania:rune:0>, <botania:rune:2>, <contenttweaker:dust_of_infinite_wishes>, <minecraft:cake>, <minecraft:snow>, <minecraft:wool:*>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:9>*5,
[<botania:rune:3>, <botania:rune:5>, <contenttweaker:actualizing_stone>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:9>*25,
[<botania:rune:3>, <botania:rune:5>, <contenttweaker:trinity_nugget>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:9>*125,
[<botania:rune:3>, <botania:rune:5>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:10>*5,
[<botania:rune:1>, <botania:rune:7>, <contenttweaker:actualizing_stone>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:10>*25,
[<botania:rune:1>, <botania:rune:7>, <contenttweaker:trinity_nugget>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:10>*125,
[<botania:rune:1>, <botania:rune:7>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:11>*5,
[<botania:rune:0>, <botania:rune:4>, <contenttweaker:actualizing_stone>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:11>*25,
[<botania:rune:0>, <botania:rune:4>, <contenttweaker:trinity_nugget>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:11>*125,
[<botania:rune:0>, <botania:rune:4>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:12>*5,
[<botania:rune:3>, <botania:rune:6>, <contenttweaker:actualizing_stone>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:12>*25,
[<botania:rune:3>, <botania:rune:6>, <contenttweaker:trinity_nugget>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:12>*125,
[<botania:rune:3>, <botania:rune:6>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:13>*5,
[<botania:rune:2>, <botania:rune:7>, <contenttweaker:actualizing_stone>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:13>*25,
[<botania:rune:2>, <botania:rune:7>, <contenttweaker:trinity_nugget>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:13>*125,
[<botania:rune:2>, <botania:rune:7>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:14>*5,
[<botania:rune:0>, <botania:rune:7>, <contenttweaker:actualizing_stone>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:14>*25,
[<botania:rune:0>, <botania:rune:7>, <contenttweaker:trinity_nugget>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:14>*125,
[<botania:rune:0>, <botania:rune:7>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:15>*5,
[<botania:rune:1>, <botania:rune:5>, <contenttweaker:actualizing_stone>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:15>*25,
[<botania:rune:1>, <botania:rune:5>, <contenttweaker:trinity_nugget>, <botania:manaresource:2>], 50);
mods.botania.RuneAltar.addRecipe(<botania:rune:15>*125,
[<botania:rune:1>, <botania:rune:5>, <contenttweaker:dust_of_infinite_wishes>, <botania:manaresource:2>], 50);
recipes.addShaped(<extrabotany:gildedmashedpotato>,
[[null, <minecraft:gold_nugget>, null],
@@ -86,4 +198,4 @@ mods.botania.PureDaisy.addRecipe(<divinerpg:mortum_leaves>, <contenttweaker:mort
mods.nuclearcraft.rock_crusher.addRecipe([<contenttweaker:mortum_livingrock>, <botania:livingrock:0>*8, <botania:livingrock:0>*4, <botania:livingrock:0>*2]);
mods.nuclearcraft.rock_crusher.addRecipe([<contenttweaker:mortum_livingwood>, <botania:livingwood:0>*8, <botania:livingwood:0>*4, <botania:livingwood:0>*2]);
mods.nuclearcraft.rock_crusher.addRecipe([<contenttweaker:mortum_livingwood>, <botania:livingwood:0>*8, <botania:livingwood:0>*4, <botania:livingwood:0>*2]);
+2 -1
View File
@@ -97,4 +97,5 @@
<contenttweaker:ghost_of_annoyance_callstone>.addTooltip(format.red("需在指定维度使用:伽里弗雷"));
<contenttweaker:weaponsmith_callstone>.addTooltip(format.red("需在指定维度使用:末地"));
<contenttweaker:lively_tree_callstone>.addTooltip(format.red("需在指定维度使用:主世界"));
<contenttweaker:apothecary_prison_key>.addTooltip(format.red("需在指定维度使用:黄金"));
<contenttweaker:apothecary_prison_key>.addTooltip(format.red("需在指定维度使用:黄金"));
<contenttweaker:strange_stone_callstone>.addTooltip(format.red("需在指定维度使用:伽里弗雷"));
+3 -2
View File
@@ -264,7 +264,9 @@ mods.nuclearcraft.chemical_reactor.addRecipe([<fluid:slumbering_abyssite>*144, <
mods.nuclearcraft.dissolver.addRecipe([<contenttweaker:chaotic_egg>, <fluid:imperial_abyssite>*144, <fluid:chaos>*14400]);
mods.nuclearcraft.chemical_reactor.addRecipe([<fluid:imperial_abyssite>*144, <fluid:flesh_world_ichor>*100, <fluid:gluttonous_abyssite>*144, null]);
mods.nuclearcraft.dissolver.addRecipe([<contenttweaker:chaotic_egg>, <fluid:gluttonous_abyssite>*12, <fluid:chaos>*14400]);
// mods.nuclearcraft.dissolver.addRecipe([<contenttweaker:chaotic_egg>, <fluid:gluttonous_abyssite>*12, <fluid:chaos>*14400]);
mods.nuclearcraft.chemical_reactor.addRecipe([<fluid:gluttonous_abyssite>*144, <fluid:recursive_computing_matter>*100, <fluid:inquiring_abyssite>*144, null]);
mods.forestry.Squeezer.addRecipe(<fluid:purifying_fluid>*1000, [<contenttweaker:pure_egg>], 120);
@@ -275,4 +277,3 @@ recipes.addShaped(<chickens:spawn_egg>.withTag({ChickenType: {id: "contenttweake
[[<agricraft:agri_nugget:11>, <agricraft:agri_nugget:11>, <agricraft:agri_nugget:11>],
[<soulshardsrespawn:materials:1>, <minecraft:egg>, <soulshardsrespawn:materials:1>],
[<agricraft:agri_nugget:11>, <agricraft:agri_nugget:11>, <agricraft:agri_nugget:11>]]);
+1
View File
@@ -223,6 +223,7 @@ mods.chisel.Carving.addVariation("mythicprocessors", <modularmachinery:itembluep
mods.chisel.Carving.addVariation("mythicprocessors", <modularmachinery:itemblueprint>.withTag({dynamicmachine: "modularmachinery:mythic_processor_isotope_separator"}));
mods.chisel.Carving.addVariation("mythicprocessors", <modularmachinery:itemblueprint>.withTag({dynamicmachine: "modularmachinery:quantum_condenser"}));
mods.chisel.Carving.addVariation("mythicprocessors", <modularmachinery:itemblueprint>.withTag({dynamicmachine: "modularmachinery:mythic_processor_melter"}));
mods.chisel.Carving.addVariation("mythicprocessors", <modularmachinery:itemblueprint>.withTag({dynamicmachine: "modularmachinery:abyssal_entropic_catalyzer"}));
recipes.addShaped(<modularmachinery:itemblueprint>.withTag({dynamicmachine: "modularmachinery:nightmare_electrolyzer"}),
+1
View File
@@ -209,6 +209,7 @@ mods.chisel.Carving.addVariation("mythicprocessorscontroller", <modularmachinery
mods.chisel.Carving.addVariation("mythicprocessorscontroller", <modularmachinery:mythic_processor_isotope_separator_controller>);
mods.chisel.Carving.addVariation("mythicprocessorscontroller", <modularmachinery:quantum_condenser_controller>);
mods.chisel.Carving.addVariation("mythicprocessorscontroller", <modularmachinery:mythic_processor_melter_controller>);
mods.chisel.Carving.addVariation("mythicprocessorscontroller", <modularmachinery:abyssal_entropic_catalyzer_controller>);
+73 -1
View File
@@ -2686,4 +2686,76 @@ fabricoftheorb.setBlockResistance(2.5);
fabricoftheorb.setToolClass("pickaxe");
fabricoftheorb.setBeaconBase(true);
fabricoftheorb.setToolLevel(3);
fabricoftheorb.register();
fabricoftheorb.register();
var hypergrowthactualizer = VanillaFactory.createBlock("hypergrowth_actualizer", <blockmaterial:iron>);
hypergrowthactualizer.setBlockHardness(1.0);
hypergrowthactualizer.setBlockResistance(2.5);
hypergrowthactualizer.setToolClass("pickaxe");
hypergrowthactualizer.setBeaconBase(true);
hypergrowthactualizer.setToolLevel(3);
hypergrowthactualizer.register();
var trinityhypergrowthcomponent = VanillaFactory.createBlock("trinity_hypergrowth_component", <blockmaterial:iron>);
trinityhypergrowthcomponent.setBlockHardness(1.0);
trinityhypergrowthcomponent.setBlockResistance(2.5);
trinityhypergrowthcomponent.setToolClass("pickaxe");
trinityhypergrowthcomponent.setBeaconBase(true);
trinityhypergrowthcomponent.setToolLevel(3);
trinityhypergrowthcomponent.register();
var cosmichypergrowthcomponent = VanillaFactory.createBlock("cosmic_hypergrowth_component", <blockmaterial:iron>);
cosmichypergrowthcomponent.setBlockHardness(1.0);
cosmichypergrowthcomponent.setBlockResistance(2.5);
cosmichypergrowthcomponent.setToolClass("pickaxe");
cosmichypergrowthcomponent.setBeaconBase(true);
cosmichypergrowthcomponent.setToolLevel(3);
cosmichypergrowthcomponent.register();
var definitionoffreedom = VanillaFactory.createBlock("freedom_definer", <blockmaterial:iron>);
definitionoffreedom.setBlockHardness(1.0);
definitionoffreedom.setBlockResistance(2.5);
definitionoffreedom.setToolClass("pickaxe");
definitionoffreedom.setToolLevel(3);
definitionoffreedom.register();
var definitionofwishes = VanillaFactory.createBlock("wishful_definer", <blockmaterial:iron>);
definitionofwishes.setBlockHardness(1.0);
definitionofwishes.setBlockResistance(2.5);
definitionofwishes.setToolClass("pickaxe");
definitionofwishes.setToolLevel(3);
definitionofwishes.register();
var quasarchargeddefinerdef = VanillaFactory.createBlock("quasar_charged_core_of_definition", <blockmaterial:iron>);
quasarchargeddefinerdef.setBlockHardness(1.0);
quasarchargeddefinerdef.setBlockResistance(2.5);
quasarchargeddefinerdef.setToolClass("pickaxe");
quasarchargeddefinerdef.setToolLevel(3);
quasarchargeddefinerdef.register();
var containedquasarmodule = VanillaFactory.createBlock("directed_miniature_quasar", <blockmaterial:iron>);
containedquasarmodule.setBlockHardness(1.0);
containedquasarmodule.setBlockResistance(2.5);
containedquasarmodule.setToolClass("pickaxe");
containedquasarmodule.setToolLevel(3);
containedquasarmodule.register();
var quasarburstdirector = VanillaFactory.createBlock("quasar_burst_director", <blockmaterial:iron>);
quasarburstdirector.setBlockHardness(1.0);
quasarburstdirector.setBlockResistance(2.5);
quasarburstdirector.setToolClass("pickaxe");
quasarburstdirector.setToolLevel(3);
quasarburstdirector.register();
var stoneoftheresurrectedshard = VanillaFactory.createBlock("stone_of_the_resurrected_shard", <blockmaterial:iron>);
stoneoftheresurrectedshard.setBlockHardness(1.0);
stoneoftheresurrectedshard.setBlockResistance(2.5);
stoneoftheresurrectedshard.setToolClass("pickaxe");
stoneoftheresurrectedshard.setToolLevel(3);
stoneoftheresurrectedshard.register();
+4
View File
@@ -1007,3 +1007,7 @@ var bewitchedessencebaths = VanillaFactory.createFluid("bewitched_essence_salts"
bewitchedessencebaths.register();
var inquiringabyssite = VanillaFactory.createFluid("inquiring_abyssite", Color.fromHex("497343"));
inquiringabyssite.register();
+11
View File
@@ -2910,3 +2910,14 @@ superchargedsignalum.maxStackSize = 64;
superchargedsignalum.beaconPayment = false;
superchargedsignalum.register();
var thaumicbrush = VanillaFactory.createItem("thaumic_brush");
thaumicbrush.maxStackSize = 64;
thaumicbrush.beaconPayment = false;
thaumicbrush.register();
var warrenpeat = VanillaFactory.createItem("warren_peat");
warrenpeat.maxStackSize = 64;
warrenpeat.beaconPayment = false;
warrenpeat.register();
+1 -1
View File
@@ -43,7 +43,7 @@ AvaritiaItemBuilder.registerItem("meatball_man_destruction_fabrial", 1, "meatbal
// .colorfulName(true) // Whether to add a dynamic rainbow effect to the item name
.create();
AvaritiaItemBuilder.registerItem("self_actualizing_stone", 1, "self_actualizing_stone")
AvaritiaItemBuilder.registerItem("self_actualizing_stone", 64, "self_actualizing_stone")
// The following effects can be freely combined; you decide which effects are needed and which are not
// .shouldDrawHalo(true) // Whether to display the halo
// .haloSize(8) // Required if shouldDrawHalo. Halo size (1-16)
+230
View File
@@ -145,3 +145,233 @@ mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_clus
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, null, <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*2,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M瑟尔§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M瑟尔§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M瑟尔§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M瑟尔§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*3,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M阿克拉斯特・科瓦莱恩§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M阿克拉斯特・科瓦莱恩§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M阿克拉斯特・科瓦莱恩§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M阿克拉斯特・科瓦莱恩§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*4,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M维狄萨斯・安纳斯§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M维狄萨斯・安纳斯§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M维狄萨斯・安纳斯§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M维狄萨斯・安纳斯§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*5,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M欧姆托斯・费拉克§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M欧姆托斯・费拉克§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M欧姆托斯・费拉克§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M欧姆托斯・费拉克§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*6,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M丹奈斯・鲁森§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M丹奈斯・鲁森§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M丹奈斯・鲁森§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M丹奈斯・鲁森§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*7,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M泰兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M泰兰§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M泰兰§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M泰兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*8,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・泰尔兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・泰尔兰§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・泰尔兰§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・泰尔兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*9,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・暗穆兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・暗穆兰§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・暗穆兰§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・暗穆兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*10,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・加莱§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・加莱§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・加莱§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・加莱§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
mods.extendedcrafting.TableCrafting.addShaped(<avaritiaitem:univocal_halite_cluster>*11,
[[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M斯塔沃・德梅兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M斯塔沃・德梅兰§r"]}}), <contenttweaker:fifth_order_ascended_fractal>, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:halite_imbuement_fabrial>, null, <avaritiaitem:cosmic_fractal_harmonizer>, <contenttweaker:fifth_order_ascended_fractal>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M斯塔沃・德梅兰§r"]}})],
[<contenttweaker:warren_rift>, null, null, <contenttweaker:fourth_order_ascended_fractal>, null, <contenttweaker:fourth_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>],
[null, null, <contenttweaker:third_order_ascended_fractal>, null, <avaritiaitem:cosmic_fractal_harmonizer>, null, <contenttweaker:third_order_ascended_fractal>, null, null],
[null, <contenttweaker:second_order_ascended_fractal>, null, null, <contenttweaker:fifth_order_ascended_fractal>, null, null, <contenttweaker:second_order_ascended_fractal>, null],
[<contenttweaker:first_order_ascended_fractal>, null, null, <contenttweaker:warren_rift>, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M斯塔沃・德梅兰§r"]}}), <contenttweaker:warren_rift>, null, null, <contenttweaker:first_order_ascended_fractal>]]);
-206
View File
@@ -1,206 +0,0 @@
import mods.contenttweaker.VanillaFactory;
import crafttweaker.world.IWorld;
import mods.contenttweaker.Player;
import crafttweaker.player.IPlayer;
import crafttweaker.block.IBlock;
import mods.contenttweaker.BlockState;
import mods.contenttweaker.BlockPos;
import crafttweaker.world.IFacing;
import crafttweaker.block.IBlockState;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.MachineEvent;
import mods.modularmachinery.MachineTickEvent;
import mods.modularmachinery.RecipeEvent;
import mods.modularmachinery.RecipeStartEvent;
import mods.modularmachinery.RecipeTickEvent;
import mods.modularmachinery.RecipeFinishEvent;
import mods.modularmachinery.MMEvents;
import mods.modularmachinery.IMachineController;
import mods.contenttweaker.Commands;
import crafttweaker.server.IServer;
import crafttweaker.command.ICommandManager;
import crafttweaker.command.ICommandSender;
//You can get an IPlayer from event.controller.ownerPlayer but it returns null if they are not online so I have done commands using server.commandManager
//Example recipe:
var stargatesedna = RecipeBuilder.newBuilder("stargate_sedna","bee_stargate",100);
stargatesedna.addItemInput(<contenttweaker:sedna_warper>).setChance(0);
stargatesedna.addFluidInput(<fluid:for.honey> * 100);
//Runs when the recipe starts:
stargatesedna.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:sedna_portal_block", "Sedna");
});
stargatesedna.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargatesedna.build();
var stargaterhenia = RecipeBuilder.newBuilder("stargate_rhenia","bee_stargate",100);
stargaterhenia.addItemInput(<contenttweaker:rhenia_warper>).setChance(0);
stargaterhenia.addFluidInput(<fluid:for.honey> * 100);
stargaterhenia.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:rhenia_portal_block", "Rhenia"); });
stargaterhenia.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargaterhenia.build();
var stargateluna = RecipeBuilder.newBuilder("stargate_luna","bee_stargate",100);
stargateluna.addItemInput(<contenttweaker:luna_warper>).setChance(0);
stargateluna.addFluidInput(<fluid:for.honey> * 100);
stargateluna.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:luna_portal_block", "Luna"); });
stargateluna.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
stargateluna.build();
var stargateosiris = RecipeBuilder.newBuilder("stargate_osiris","bee_stargate",100);
stargateosiris.addItemInput(<contenttweaker:osiris_warper>).setChance(0);
stargateosiris.addFluidInput(<fluid:for.honey> * 100);
stargateosiris.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:osiris_portal_block", "Osiris"); });
stargateosiris.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateosiris.build();
var stargateptah = RecipeBuilder.newBuilder("stargate_ptah","bee_stargate",100);
stargateptah.addItemInput(<contenttweaker:ptah_warper>).setChance(0);
stargateptah.addFluidInput(<fluid:for.honey> * 100);
stargateptah.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:ptah_portal_block", "Ptah"); });
stargateptah.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateptah.build();
var stargatehator = RecipeBuilder.newBuilder("stargate_hator","bee_stargate",100);
stargatehator.addItemInput(<contenttweaker:hator_warper>).setChance(0);
stargatehator.addFluidInput(<fluid:for.honey> * 100);
stargatehator.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:hator_portal_block", "Hator"); });
stargatehator.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargatehator.build();
var stargateeuropa = RecipeBuilder.newBuilder("stargate_europa","bee_stargate",100);
stargateeuropa.addItemInput(<contenttweaker:europa_warper>).setChance(0);
stargateeuropa.addFluidInput(<fluid:for.honey> * 100);
stargateeuropa.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:europa_portal_block", "Europa"); });
stargateeuropa.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateeuropa.build();
var stargateoi = RecipeBuilder.newBuilder("stargate_oi","bee_stargate",100);
stargateoi.addItemInput(<contenttweaker:oi_warper>).setChance(0);
stargateoi.addFluidInput(<fluid:for.honey> * 100);
stargateoi.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:oi_portal_block", "Oi"); });
stargateoi.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateoi.build();
var stargatefalacer = RecipeBuilder.newBuilder("stargate_falacer","bee_stargate",100);
stargatefalacer.addItemInput(<contenttweaker:falacer_warper>).setChance(0);
stargatefalacer.addFluidInput(<fluid:for.honey> * 100);
stargatefalacer.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:falacer_portal_block", "Oi"); });
stargatefalacer.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargatefalacer.build();
var stargateorcus = RecipeBuilder.newBuilder("stargate_orcus","bee_stargate",100);
stargateorcus.addItemInput(<contenttweaker:orcus_warper>).setChance(0);
stargateorcus.addFluidInput(<fluid:for.honey> * 100);
stargateorcus.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:orcus_portal_block", "Orcus"); });
stargateorcus.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateorcus.build();
var stargatemyrmex = RecipeBuilder.newBuilder("stargate_myrmex","bee_stargate",100);
stargatemyrmex.addItemInput(<contenttweaker:myrmex_warper>).setChance(0);
stargatemyrmex.addFluidInput(<fluid:for.honey> * 100);
stargatemyrmex.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:myrmex_portal_block", "Myrmex"); });
stargatemyrmex.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargatemyrmex.build();
var stargatepixonia = RecipeBuilder.newBuilder("stargate_pixonia","bee_stargate",100);
stargatepixonia.addItemInput(<contenttweaker:pixonia_warper>).setChance(0);
stargatepixonia.addFluidInput(<fluid:for.honey> * 100);
stargatepixonia.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:pixonia_portal_block", "Pixonia"); });
stargatepixonia.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargatepixonia.build();
var stargateproxima = RecipeBuilder.newBuilder("stargate_proxima","bee_stargate",100);
stargateproxima.addItemInput(<contenttweaker:proximabelt_warper>).setChance(0);
stargateproxima.addFluidInput(<fluid:for.honey> * 100);
stargateproxima.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:proxima_portal_block", "Proxima"); });
stargateproxima.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateproxima.build();
var stargatenero = RecipeBuilder.newBuilder("stargate_nero","bee_stargate",100);
stargatenero.addItemInput(<contenttweaker:nero_warper>).setChance(0);
stargatenero.addFluidInput(<fluid:for.honey> * 100);
stargatenero.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:nero_portal_block", "Nero"); });
stargatenero.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargatenero.build();
var stargatezoi = RecipeBuilder.newBuilder("stargate_zoi","bee_stargate",100);
stargatezoi.addItemInput(<contenttweaker:zoi_warper>).setChance(0);
stargatezoi.addFluidInput(<fluid:for.honey> * 100);
stargatezoi.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:zoi_portal_block", "Zoi"); });
stargatezoi.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargatezoi.build();
var stargateakathartos = RecipeBuilder.newBuilder("stargate_akathartos","bee_stargate",100);
stargateakathartos.addItemInput(<contenttweaker:akathartos_warper>).setChance(0);
stargateakathartos.addFluidInput(<fluid:for.honey> * 100);
stargateakathartos.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:akathartos_portal_block", "Akathartos"); });
stargateakathartos.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateakathartos.build();
var stargateakpauram = RecipeBuilder.newBuilder("stargate_pauram","bee_stargate",100);
stargateakpauram.addItemInput(<contenttweaker:pauram_warper>).setChance(0);
stargateakpauram.addFluidInput(<fluid:for.honey> * 100);
stargateakpauram.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:pauram_portal_block", "Pauram"); });
stargateakpauram.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateakpauram.build();
var stargateakalkemia = RecipeBuilder.newBuilder("stargate_alkemia","bee_stargate",100);
stargateakalkemia.addItemInput(<contenttweaker:pauram_warper>).setChance(0);
stargateakalkemia.addFluidInput(<fluid:for.honey> * 100);
stargateakalkemia.addStartHandler(function(event as RecipeStartEvent) { beeStargateRecipeStart(event.controller, "contenttweaker:alkemia_portal_block", "Alkemia"); });
stargateakalkemia.addRecipeTooltip("该配方在激活时会生成一个传送门。", "多方块结构必须位于太空站。", "站在传送门中右击以进行传送。");
stargateakalkemia.build();
//Destroy potal if the controller is not running
MMEvents.onMachinePostTick("bee_stargate", function(event as MachineTickEvent) {
var ctrl = event.controller;
if(!ctrl.isWorking && ctrl.world.getBlockState(ctrl.pos.getOffset(up,5).getOffset(ctrl.facing,-4)) != IBlockState.getBlockState("minecraft:air","")) {
beeStargatePlacePortal(ctrl, "minecraft:air");
var pos = ctrl.pos.getOffset(up,5).getOffset(ctrl.facing,-4);
server.commandManager.executeCommand(server, "playsound minecraft:entity.evocation_illager.cast_spell ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 0.5");
server.commandManager.executeCommand(server, "particle smoke " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 200");
server.commandManager.executeCommand(server, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @p {"text":"Stargate offline"}');
}
});
//Do start up sound and message if no current portal, spawn portal if different recipe, or nothing if same portal:
function beeStargateRecipeStart(controller as IMachineController, portalBlock as string, destination as string) {
var pos = controller.pos.getOffset(up,5).getOffset(controller.facing,-4);
var currentPortalBlock = controller.world.getBlockState(pos);
if (currentPortalBlock != IBlockState.getBlockState(portalBlock,"")) {
if (currentPortalBlock == IBlockState.getBlockState("minecraft:air","")) {
server.commandManager.executeCommand(server, "playsound minecraft:entity.evocation_illager.prepare_summon ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(server, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @p {"text":"Stargate online"}');
}
beeStargatePlacePortal(controller, portalBlock);
server.commandManager.executeCommand(server, "playsound minecraft:block.portal.trigger block @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(server, "particle portal " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 1000");
server.commandManager.executeCommand(server, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @p {"text":"Current destination: ' + destination + '"}');
}
}
//places portal blocks inside the stargate ring:
function beeStargatePlacePortal(controller as IMachineController, portalBlock as string) {
var facing = controller.facing;
var pos = controller.pos.getOffset(up,5).getOffset(facing,-4);
var dx = 0;
var dz = 0;
if (facing == crafttweaker.world.IFacing.north() || facing == crafttweaker.world.IFacing.south()) { dx = 1; }
else { dz = 1; }
server.commandManager.executeCommand(server, "fill " + (pos.x - dx) + " " + (pos.y - 1) + " " + (pos.z - dz) + " " + (pos.x + dx) + " " + (pos.y + 1) + " " + (pos.z + dz) + " " + portalBlock);
}
+3 -3
View File
@@ -170,13 +170,13 @@ haliteingotcompression.addItemInput(<contenttweaker:pure_halite_cluster>);
haliteingotcompression.addItemOutput(<materialpart:fractallite_halite:ingot>);
haliteingotcompression.build();
val haliteingotcompression4 = RecipeBuilder.newBuilder("haliteingotcompression4","dyson_compressor",100);
val haliteingotcompression4 = RecipeBuilder.newBuilder("haliteingotcompression4","dyson_compressor",50);
haliteingotcompression4.addEnergyPerTickInput(2000000000);
haliteingotcompression4.addItemInput(<avaritiaitem:cosmic_halite_cluster>);
haliteingotcompression4.addItemOutput(<materialpart:fractallite_halite:ingot>*4);
haliteingotcompression4.build();
val haliteingotcompression8 = RecipeBuilder.newBuilder("haliteingotcompression8","dyson_compressor",100);
val haliteingotcompression8 = RecipeBuilder.newBuilder("haliteingotcompression8","dyson_compressor",25);
haliteingotcompression8.addEnergyPerTickInput(2000000000);
haliteingotcompression8.addItemInput(<avaritiaitem:univocal_halite_cluster>);
haliteingotcompression8.addItemOutput(<materialpart:fractallite_halite:ingot>*8);
@@ -244,4 +244,4 @@ recipes.addShaped(<contenttweaker:cleansed_brightsteel_alloy_plate>*3,
recipes.addShaped(<contenttweaker:cleansed_cinnamon_apple>,
[[<careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}}), <careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}}), <careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}})],
[<mod_lavacow:scarab_wand>.withTag(mapChoedanKal).reuse(), <contenttweaker:linked_apple_slice>, <mod_lavacow:sludge_wand>.withTag(mapChoedanKal).reuse()],
[<careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}}), <careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}}), <careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}})]]);
[<careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}}), <careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}}), <careerbees:ingredients:1>.withTag({bark: {id: "extratrees:logs.9", Count: 1, Damage: 3 as short}})]]);
+81 -1
View File
@@ -1046,4 +1046,84 @@ fortree138.addItemInput(<abyssalcraft:dreadsapling>);
fortree138.setChance(0.0);
fortree138.addItemInput(<forestry:peat>);
fortree138.addItemOutput(<abyssalcraft:charcoal>*64);
fortree138.build();
fortree138.build();
val fortree139a = RecipeBuilder.newBuilder("fortree139a","enchanted_greenhouse",50);
fortree139a.addItemInput(<contenttweaker:thaumic_brush>);
fortree139a.setChance(0.0);
fortree139a.addItemInput(<forestry:peat>);
fortree139a.addItemOutput(<contenttweaker:thaumic_citrus>*1);
fortree139a.build();
val fortree139b = RecipeBuilder.newBuilder("fortree139b","enchanted_greenhouse",50);
fortree139b.addItemInput(<contenttweaker:thaumic_brush>);
fortree139b.setChance(0.0);
fortree139b.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M瑟尔§r"]}}));
fortree139b.addItemOutput(<contenttweaker:thaumic_citrus>*6);
fortree139b.build();
val fortree139c = RecipeBuilder.newBuilder("fortree139c","enchanted_greenhouse",50);
fortree139c.addItemInput(<contenttweaker:thaumic_brush>);
fortree139c.setChance(0.0);
fortree139c.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M阿克拉斯特・科瓦莱恩§r"]}}));
fortree139c.addItemOutput(<contenttweaker:thaumic_citrus>*36);
fortree139c.build();
val fortree139d = RecipeBuilder.newBuilder("fortree139d","enchanted_greenhouse",50);
fortree139d.addItemInput(<contenttweaker:thaumic_brush>);
fortree139d.setChance(0.0);
fortree139d.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M维狄萨斯・安纳斯§r"]}}));
fortree139d.addItemOutput(<contenttweaker:thaumic_citrus>*216);
fortree139d.build();
val fortree139e = RecipeBuilder.newBuilder("fortree139e","enchanted_greenhouse",50);
fortree139e.addItemInput(<contenttweaker:thaumic_brush>);
fortree139e.setChance(0.0);
fortree139e.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M欧姆托斯・费拉克§r"]}}));
fortree139e.addItemOutput(<contenttweaker:thaumic_citrus>*1296);
fortree139e.build();
val fortree139f = RecipeBuilder.newBuilder("fortree139f","enchanted_greenhouse",50);
fortree139f.addItemInput(<contenttweaker:thaumic_brush>);
fortree139f.setChance(0.0);
fortree139f.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M丹奈斯・鲁森§r"]}}));
fortree139f.addItemOutput(<contenttweaker:thaumic_citrus>*7776);
fortree139f.build();
val fortree139g = RecipeBuilder.newBuilder("fortree139g","enchanted_greenhouse",50);
fortree139g.addItemInput(<contenttweaker:thaumic_brush>);
fortree139g.setChance(0.0);
fortree139g.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M泰兰§r"]}}));
fortree139g.addItemOutput(<contenttweaker:thaumic_citrus>*46656);
fortree139g.build();
val fortree139h = RecipeBuilder.newBuilder("fortree139h","enchanted_greenhouse",50);
fortree139h.addItemInput(<contenttweaker:thaumic_brush>);
fortree139h.setChance(0.0);
fortree139h.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・泰尔兰§r"]}}));
fortree139h.addItemOutput(<contenttweaker:thaumic_citrus>*279936);
fortree139h.build();
val fortree139i = RecipeBuilder.newBuilder("fortree139i","enchanted_greenhouse",50);
fortree139i.addItemInput(<contenttweaker:thaumic_brush>);
fortree139i.setChance(0.0);
fortree139i.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・暗穆兰§r"]}}));
fortree139i.addItemOutput(<contenttweaker:thaumic_citrus>*1679616);
fortree139i.build();
val fortree139j = RecipeBuilder.newBuilder("fortree139j","enchanted_greenhouse",50);
fortree139j.addItemInput(<contenttweaker:thaumic_brush>);
fortree139j.setChance(0.0);
fortree139j.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・加莱§r"]}}));
fortree139j.addItemOutput(<contenttweaker:thaumic_citrus>*10077696);
fortree139j.build();
val fortree139k = RecipeBuilder.newBuilder("fortree139k","enchanted_greenhouse",50);
fortree139k.addItemInput(<contenttweaker:thaumic_brush>);
fortree139k.setChance(0.0);
fortree139k.addItemInput(<contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M斯塔沃・德梅兰§r"]}}));
fortree139k.addItemOutput(<contenttweaker:thaumic_citrus>*60466176);
fortree139k.build();
+3 -3
View File
@@ -343,16 +343,16 @@ treeoflifthaumpods.build();
val treeoflifecinders = RecipeBuilder.newBuilder("treeoflifecinders","tree_of_life",200);
treeoflifecinders.addEnergyPerTickInput(50000000);
treeoflifecinders.addItemInput(<contenttweaker:sacred_cinders_seed>);
treeoflifecinders.addItemInput(<forestry:fertilizer_compound>);
treeoflifecinders.setChance(0.0);
treeoflifecinders.addItemInput(<forestry:fertilizer_compound>);
treeoflifecinders.addItemOutput(<contenttweaker:sacred_cinders_fruit>);
treeoflifecinders.build();
val treeoflifecindersbetter = RecipeBuilder.newBuilder("treeoflifecindersbetter","tree_of_life",2);
treeoflifecindersbetter.addEnergyPerTickInput(50000000);
treeoflifecindersbetter.addItemInput(<contenttweaker:sacred_cinders_seed>);
treeoflifecindersbetter.addItemInput(<gendustry:honey_comb:14012>);
treeoflifecindersbetter.setChance(0.0);
treeoflifecindersbetter.addItemInput(<gendustry:honey_comb:14012>);
treeoflifecindersbetter.addItemOutput(<contenttweaker:sacred_cinders_fruit>*16);
treeoflifecindersbetter.build();
@@ -369,4 +369,4 @@ treeoflifebee.addItemInput(<techreborn:creative_solar_panel>);
treeoflifebee.addItemOutput(<contenttweaker:energetic_prison_key>);
treeoflifebee.build();
mods.botania.PureDaisy.addRecipe(<ore:treeLeaves>,<contenttweaker:leaves_of_life>);
mods.botania.PureDaisy.addRecipe(<ore:treeLeaves>,<contenttweaker:leaves_of_life>);
-117
View File
@@ -1,117 +0,0 @@
import mods.contenttweaker.VanillaFactory;
import crafttweaker.world.IWorld;
import mods.contenttweaker.Player;
import crafttweaker.player.IPlayer;
import crafttweaker.block.IBlock;
import mods.contenttweaker.BlockState;
import mods.contenttweaker.BlockPos;
import crafttweaker.world.IFacing;
import crafttweaker.block.IBlockState;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.MachineEvent;
import mods.modularmachinery.MachineTickEvent;
import mods.modularmachinery.RecipeEvent;
import mods.modularmachinery.RecipeStartEvent;
import mods.modularmachinery.RecipeTickEvent;
import mods.modularmachinery.RecipeFinishEvent;
import mods.modularmachinery.MMEvents;
import mods.modularmachinery.IMachineController;
import mods.contenttweaker.Commands;
import crafttweaker.server.IServer;
import crafttweaker.command.ICommandManager;
import crafttweaker.command.ICommandSender;
//You can get an IPlayer from event.controller.ownerPlayer but it returns null if they are not online so I have done commands using server.commandManager
//Example recipe:
var wormholetaerrapiatta = RecipeBuilder.newBuilder("wormholetaerrapiatta","wormhole_field_generator",100);
wormholetaerrapiatta.addItemInput(<contenttweaker:taerrapiatta_warper>).setChance(0);
wormholetaerrapiatta.addEnergyPerTickInput(10000);
wormholetaerrapiatta.addStartHandler(function(event as RecipeStartEvent) {wormholeGeneratorRecipeStart(event.controller, "contenttweaker:taerrapiatta_portal_block", "Taerrapiatta");});
wormholetaerrapiatta.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
wormholetaerrapiatta.build();
var wormholediamerisma = RecipeBuilder.newBuilder("wormholediamerisma","wormhole_field_generator",100);
wormholediamerisma.addItemInput(<contenttweaker:diamerisma_warper>).setChance(0);
wormholediamerisma.addEnergyPerTickInput(10000);
wormholediamerisma.addStartHandler(function(event as RecipeStartEvent) {wormholeGeneratorRecipeStart(event.controller, "contenttweaker:diamerisma_portal_block", "Diamerisma");});
wormholediamerisma.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
wormholediamerisma.build();
var wormholefuratto = RecipeBuilder.newBuilder("wormholefuratto","wormhole_field_generator",100);
wormholefuratto.addItemInput(<contenttweaker:furatto_warper>).setChance(0);
wormholefuratto.addEnergyPerTickInput(10000);
wormholefuratto.addStartHandler(function(event as RecipeStartEvent) {wormholeGeneratorRecipeStart(event.controller, "contenttweaker:furatto_portal_block", "Furatto");});
wormholefuratto.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
wormholefuratto.build();
var wormholefinem = RecipeBuilder.newBuilder("wormholefinem","wormhole_field_generator",100);
wormholefinem.addItemInput(<contenttweaker:finem_warper>).setChance(0);
wormholefinem.addEnergyPerTickInput(10000);
wormholefinem.addStartHandler(function(event as RecipeStartEvent) {wormholeGeneratorRecipeStart(event.controller, "contenttweaker:finem_portal_block", "Finem");});
wormholefinem.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
wormholefinem.build();
var wormholeapichisi = RecipeBuilder.newBuilder("wormholeapichisi","wormhole_field_generator",100);
wormholeapichisi.addItemInput(<contenttweaker:apichisi_warper>).setChance(0);
wormholeapichisi.addEnergyPerTickInput(10000);
wormholeapichisi.addStartHandler(function(event as RecipeStartEvent) {wormholeGeneratorRecipeStart(event.controller, "contenttweaker:apichisi_portal_block", "Apichisi");});
wormholeapichisi.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
wormholeapichisi.build();
var wormholelyndenwyrm = RecipeBuilder.newBuilder("wormholelyndenwyrm","wormhole_field_generator",100);
wormholelyndenwyrm.addItemInput(<contenttweaker:lyndenwyrm_warper>).setChance(0);
wormholelyndenwyrm.addEnergyPerTickInput(10000);
wormholelyndenwyrm.addStartHandler(function(event as RecipeStartEvent) {wormholeGeneratorRecipeStart(event.controller, "contenttweaker:lyndenwyrm_portal_block", "Lyndenwyrm");});
wormholelyndenwyrm.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
wormholelyndenwyrm.build();
var wormholegallifrey = RecipeBuilder.newBuilder("wormholegallifrey","wormhole_field_generator",100);
wormholegallifrey.addItemInput(<contenttweaker:lyndenwyrm_warper>).setChance(0);
wormholegallifrey.addEnergyPerTickInput(10000);
wormholegallifrey.addStartHandler(function(event as RecipeStartEvent) {wormholeGeneratorRecipeStart(event.controller, "contenttweaker:gallifrey_portal_block", "Gallifrey");});
wormholegallifrey.addRecipeTooltip("该配方在激活时会生成一个传送门。", "站在传送门中右击以进行传送。");
wormholegallifrey.build();
//Destroy potal if the controller is not running
MMEvents.onMachinePostTick("wormhole_field_generator", function(event as MachineTickEvent) {
var ctrl = event.controller;
if(!ctrl.isWorking && ctrl.world.getBlockState(ctrl.pos.getOffset(up,4).getOffset(ctrl.facing,-3)) != IBlockState.getBlockState("minecraft:air","")) {
wormholeGeneratorPlacePortal(ctrl, "minecraft:air");
var pos = ctrl.pos.getOffset(up,4).getOffset(ctrl.facing,-3);
server.commandManager.executeCommand(server, "playsound minecraft:entity.evocation_illager.cast_spell ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 0.5");
server.commandManager.executeCommand(server, "particle smoke " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 200");
server.commandManager.executeCommand(server, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @p {"text":"Wormhole Generator offline"}');
}
});
//Do start up sound and message if no current portal, spawn portal if different recipe, or nothing if same portal:
function wormholeGeneratorRecipeStart(controller as IMachineController, portalBlock as string, destination as string) {
var pos = controller.pos.getOffset(up,4).getOffset(controller.facing,-3);
var currentPortalBlock = controller.world.getBlockState(pos);
if (currentPortalBlock != IBlockState.getBlockState(portalBlock,"")) {
if (currentPortalBlock == IBlockState.getBlockState("minecraft:air","")) {
server.commandManager.executeCommand(server, "playsound minecraft:entity.evocation_illager.prepare_summon ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(server, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @p {"text":"Wormhole Generator online"}');
}
wormholeGeneratorPlacePortal(controller, portalBlock);
server.commandManager.executeCommand(server, "playsound minecraft:block.portal.trigger block @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(server, "particle portal " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 1000");
server.commandManager.executeCommand(server, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @p {"text":"Current destination: ' + destination + '"}');
}
}
//places portal blocks inside the stargate ring:
function wormholeGeneratorPlacePortal(controller as IMachineController, portalBlock as string) {
var facing = controller.facing;
var pos = controller.pos.getOffset(up,4).getOffset(facing,-3);
server.commandManager.executeCommand(server, "fill " + (pos.x - 1) + " " + (pos.y - 1) + " " + (pos.z - 1) + " " + (pos.x + 1) + " " + (pos.y + 1) + " " + (pos.z + 1) + " " + portalBlock);
}
+3 -2
View File
@@ -893,7 +893,7 @@ val mythallo122 = RecipeBuilder.newBuilder("mythallo122","mythic_processor_alloy
mythallo122.addEnergyPerTickInput(80000);
mythallo122.addItemInput(<ore:dustRedstone>*10);
mythallo122.addItemInput(<ore:gemDiamond>*2);
mythallo122.addItemOutput(<redstonearsenal:material:160>);
mythallo122.addItemOutput(<redstonearsenal:material:160>*2);
mythallo122.build();
val mythallo123 = RecipeBuilder.newBuilder("mythallo123","mythic_processor_alloy_furnace",2);
@@ -954,4 +954,5 @@ mythallo130.addItemInput(<extrabees:misc:16>*4);
mythallo130.addItemInput(<extrabees:misc:15>*4);
mythallo130.addItemInput(<extrabees:misc:9>*4);
mythallo130.addItemOutput(<contenttweaker:fractal_metal_clump>);
mythallo130.build();
mythallo130.build();
+73 -1
View File
@@ -77,4 +77,76 @@ mytharken8.addEnergyPerTickInput(1000000);
mytharken8.addFluidInput(<fluid:recursive_life_essence>*10);
mytharken8.addItemInput(<contenttweaker:terran_divine_ore>);
mytharken8.addItemOutput(<divinerpg:terran_stone>*64);
mytharken8.build();
mytharken8.build();
val mytharken9 = RecipeBuilder.newBuilder("mytharken9","mythic_processor_arkencrusher",2);
mytharken9.addEnergyPerTickInput(1000000);
mytharken9.addFluidInput(<fluid:whisper_of_thel>*1);
mytharken9.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken9.addItemOutput(<contenttweaker:quasar_charged_dust>*2);
mytharken9.build();
val mytharken10 = RecipeBuilder.newBuilder("mytharken10","mythic_processor_arkencrusher",2);
mytharken10.addEnergyPerTickInput(1000000);
mytharken10.addFluidInput(<fluid:whisper_of_ahkrast_korvalain>*1);
mytharken10.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken10.addItemOutput(<contenttweaker:quasar_charged_dust>*4);
mytharken10.build();
val mytharken11 = RecipeBuilder.newBuilder("mytharken11","mythic_processor_arkencrusher",2);
mytharken11.addEnergyPerTickInput(1000000);
mytharken11.addFluidInput(<fluid:whisper_of_verdith_anath>*1);
mytharken11.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken11.addItemOutput(<contenttweaker:quasar_charged_dust>*8);
mytharken11.build();
val mytharken12 = RecipeBuilder.newBuilder("mytharken12","mythic_processor_arkencrusher",2);
mytharken12.addEnergyPerTickInput(1000000);
mytharken12.addFluidInput(<fluid:whisper_of_omtose_phellack>*1);
mytharken12.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken12.addItemOutput(<contenttweaker:quasar_charged_dust>*16);
mytharken12.build();
val mytharken13 = RecipeBuilder.newBuilder("mytharken13","mythic_processor_arkencrusher",2);
mytharken13.addEnergyPerTickInput(1000000);
mytharken13.addFluidInput(<fluid:whisper_of_donaeth_rusen>*1);
mytharken13.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken13.addItemOutput(<contenttweaker:quasar_charged_dust>*32);
mytharken13.build();
val mytharken14 = RecipeBuilder.newBuilder("mytharken14","mythic_processor_arkencrusher",2);
mytharken14.addEnergyPerTickInput(1000000);
mytharken14.addFluidInput(<fluid:whisper_of_tellan>*1);
mytharken14.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken14.addItemOutput(<contenttweaker:quasar_charged_dust>*64);
mytharken14.build();
val mytharken15 = RecipeBuilder.newBuilder("mytharken15","mythic_processor_arkencrusher",2);
mytharken15.addEnergyPerTickInput(1000000);
mytharken15.addFluidInput(<fluid:whisper_of_kurald_thyrllan>*1);
mytharken15.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken15.addItemOutput(<contenttweaker:quasar_charged_dust>*128);
mytharken15.build();
val mytharken16 = RecipeBuilder.newBuilder("mytharken16","mythic_processor_arkencrusher",2);
mytharken16.addEnergyPerTickInput(1000000);
mytharken16.addFluidInput(<fluid:whisper_of_kurald_emurlahn>*1);
mytharken16.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken16.addItemOutput(<contenttweaker:quasar_charged_dust>*256);
mytharken16.build();
val mytharken17 = RecipeBuilder.newBuilder("mytharken17","mythic_processor_arkencrusher",2);
mytharken17.addEnergyPerTickInput(1000000);
mytharken17.addFluidInput(<fluid:whisper_of_kurald_galain>*1);
mytharken17.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken17.addItemOutput(<contenttweaker:quasar_charged_dust>*512);
mytharken17.build();
val mytharken18 = RecipeBuilder.newBuilder("mytharken18","mythic_processor_arkencrusher",2);
mytharken18.addEnergyPerTickInput(1000000);
mytharken18.addFluidInput(<fluid:whisper_of_starvald_demelain>*1);
mytharken18.addItemInput(<contenttweaker:quasar_charged_gem>);
mytharken18.addItemOutput(<contenttweaker:quasar_charged_dust>*1024);
mytharken18.build();
+6
View File
@@ -723,3 +723,9 @@ mythmelt656.addFluidOutput(<fluid:molten_zirconium> * 144);
mythmelt656.build();
val mythmelt657 = RecipeBuilder.newBuilder("mythmelt657","mythic_processor_melter",2);
mythmelt657.addEnergyPerTickInput(60000);
mythmelt657.addItemInput(<contenttweaker:stone_of_the_resurrected_shard>);
mythmelt657.addFluidOutput(<fluid:stormlight> * 1000000);
mythmelt657.build();
+4
View File
@@ -151,3 +151,7 @@ oremeteoricdraconium.add(<contenttweaker:meteoric_draconic_stone>);
val orefierypyrite = <ore:oreFieryPyrite>;
orefierypyrite.add(<contenttweaker:fiery_pyrite>);
val orestoneblock = <ore:stone>;
orestoneblock.remove(<divinerpg:divine_rock>);
+101 -1
View File
@@ -8,6 +8,46 @@ import scripts.enchantwrapper.EnchantWrapper.SuperEnchantedItem;
import crafttweaker.enchantments.IEnchantmentDefinition;
mods.thaumcraft.Infusion.registerRecipe("infthaumicbrushbro", "",
<contenttweaker:thaumic_brush>, 10,
[<aspect:terra>*10000, <aspect:herba>*10000],
<aoa3:shyre_sapling>,
[<contenttweaker:innerved_sky_stone>, <forge:bucketfilled>.withTag({FluidName: "whisper_of_thel", Amount: 1000}),
<contenttweaker:innerved_sky_stone>, <forge:bucketfilled>.withTag({FluidName: "whisper_of_thel", Amount: 1000}),
<contenttweaker:innerved_sky_stone>, <forge:bucketfilled>.withTag({FluidName: "whisper_of_thel", Amount: 1000}),
<contenttweaker:innerved_sky_stone>, <forge:bucketfilled>.withTag({FluidName: "whisper_of_thel", Amount: 1000}),
<contenttweaker:innerved_sky_stone>, <forge:bucketfilled>.withTag({FluidName: "whisper_of_thel", Amount: 1000}),
<contenttweaker:innerved_sky_stone>, <forge:bucketfilled>.withTag({FluidName: "whisper_of_thel", Amount: 1000})]);
recipes.addShaped(<contenttweaker:hypergrowth_actualizer>,
[[<contenttweaker:myrmitite_casing>, <contenttweaker:ascended_fluix_crystal>, <contenttweaker:myrmitite_casing>],
[<avaritiaitem:self_actualizing_stone>, <contenttweaker:hypergrowth_component>, <avaritiaitem:self_actualizing_stone>],
[<contenttweaker:myrmitite_casing>, <contenttweaker:hungering_flesh_ingot>, <contenttweaker:myrmitite_casing>]]);
recipes.addShaped(<contenttweaker:trinity_hypergrowth_component>,
[[<contenttweaker:myrmitite_casing>, <contenttweaker:unleashed_triquetra>, <contenttweaker:myrmitite_casing>],
[<contenttweaker:freedomsteel_ingot>, <contenttweaker:hypergrowth_actualizer>, <contenttweaker:freedomsteel_ingot>],
[<contenttweaker:myrmitite_casing>, <contenttweaker:unleashed_triquetra>, <contenttweaker:myrmitite_casing>]]);
recipes.addShaped(<contenttweaker:cosmic_hypergrowth_component>,
[[<contenttweaker:myrmitite_casing>, <avaritiaitem:cosmic_fractal_catalyzer>, <contenttweaker:myrmitite_casing>],
[<avaritiaitem:cosmic_fractal_catalyzer>, <contenttweaker:trinity_hypergrowth_component>, <avaritiaitem:cosmic_fractal_catalyzer>],
[<contenttweaker:myrmitite_casing>, <avaritiaitem:cosmic_fractal_catalyzer>, <contenttweaker:myrmitite_casing>]]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_thel>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M瑟尔§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_ahkrast_korvalain>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M阿克拉斯特・科瓦莱恩§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_verdith_anath>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M维狄萨斯・安纳斯§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_omtose_phellack>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M欧姆托斯・费拉克§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_donaeth_rusen>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M丹奈斯・鲁森§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_tellan>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M泰兰§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_kurald_thyrllan>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・泰尔兰§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_kurald_emurlahn>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・暗穆兰§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_kurald_galain>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M库拉德・加莱§r"]}})]);
mods.nuclearcraft.infuser.addRecipe([<forestry:peat>, <fluid:whisper_of_starvald_demelain>*1, <contenttweaker:warren_peat>.withTag({display: {Lore: ["§d§M斯塔沃・德梅兰§r"]}})]);
mods.thaumcraft.Infusion.registerRecipe("infrecursiondimascension", "",
<contenttweaker:recursion_of_dimensional_ascension>, 10,
[<aspect:aer>*10000, <aspect:ignis>*10000, <aspect:aqua>*10000, <aspect:terra>*10000, <aspect:ordo>*10000, <aspect:perditio>*10000, <aspect:vitium>*10000],
@@ -52,6 +92,58 @@ mods.thaumcraft.Infusion.registerRecipe("infstoneworthiness", "",
<contenttweaker:freedomsteel_ingot>, <contenttweaker:light_of_shadesmar>]);
val moltenchaosentropic1 = RecipeBuilder.newBuilder("moltenchaosentropic1","abyssal_entropic_catalyzer",2);
moltenchaosentropic1.addItemInput(<ore:ingotAbyssalnite>);
moltenchaosentropic1.addItemInput(<ore:ingotDreadium>);
moltenchaosentropic1.addItemInput(<ore:ingotLiquifiedCoralium>);
moltenchaosentropic1.addItemInput(<ore:ingotEthaxium>);
moltenchaosentropic1.addItemInput(<contenttweaker:chaotic_egg>);
moltenchaosentropic1.addFluidInput(<fluid:abyssite>*144);
moltenchaosentropic1.addFluidOutput(<fluid:chaos>*1440);
moltenchaosentropic1.build();
val moltenchaosentropic2 = RecipeBuilder.newBuilder("moltenchaosentropic2","abyssal_entropic_catalyzer",2);
moltenchaosentropic2.addItemInput(<ore:ingotAbyssalnite>);
moltenchaosentropic2.addItemInput(<ore:ingotDreadium>);
moltenchaosentropic2.addItemInput(<ore:ingotLiquifiedCoralium>);
moltenchaosentropic2.addItemInput(<ore:ingotEthaxium>);
moltenchaosentropic2.addItemInput(<contenttweaker:chaotic_egg>);
moltenchaosentropic2.addFluidInput(<fluid:slumbering_abyssite>*144);
moltenchaosentropic2.addFluidOutput(<fluid:chaos>*2880);
moltenchaosentropic2.build();
val moltenchaosentropic3 = RecipeBuilder.newBuilder("moltenchaosentropic3","abyssal_entropic_catalyzer",2);
moltenchaosentropic3.addItemInput(<ore:ingotAbyssalnite>);
moltenchaosentropic3.addItemInput(<ore:ingotDreadium>);
moltenchaosentropic3.addItemInput(<ore:ingotLiquifiedCoralium>);
moltenchaosentropic3.addItemInput(<ore:ingotEthaxium>);
moltenchaosentropic3.addItemInput(<contenttweaker:chaotic_egg>);
moltenchaosentropic3.addFluidInput(<fluid:imperial_abyssite>*144);
moltenchaosentropic3.addFluidOutput(<fluid:chaos>*14400);
moltenchaosentropic3.build();
val moltenchaosentropic4 = RecipeBuilder.newBuilder("moltenchaosentropic4","abyssal_entropic_catalyzer",2);
moltenchaosentropic4.addItemInput(<ore:ingotAbyssalnite>);
moltenchaosentropic4.addItemInput(<ore:ingotDreadium>);
moltenchaosentropic4.addItemInput(<ore:ingotLiquifiedCoralium>);
moltenchaosentropic4.addItemInput(<ore:ingotEthaxium>);
moltenchaosentropic4.addItemInput(<contenttweaker:chaotic_egg>);
moltenchaosentropic4.addFluidInput(<fluid:gluttonous_abyssite>*144);
moltenchaosentropic4.addFluidOutput(<fluid:chaos>*144000);
moltenchaosentropic4.build();
val moltenchaosentropic5 = RecipeBuilder.newBuilder("moltenchaosentropic5","abyssal_entropic_catalyzer",2);
moltenchaosentropic5.addItemInput(<ore:ingotAbyssalnite>);
moltenchaosentropic5.addItemInput(<ore:ingotDreadium>);
moltenchaosentropic5.addItemInput(<ore:ingotLiquifiedCoralium>);
moltenchaosentropic5.addItemInput(<ore:ingotEthaxium>);
moltenchaosentropic5.addItemInput(<contenttweaker:chaotic_egg>);
moltenchaosentropic5.addFluidInput(<fluid:inquiring_abyssite>*144);
moltenchaosentropic5.addFluidOutput(<fluid:chaos>*1440000);
moltenchaosentropic5.build();
val catalystbalance0 = RecipeBuilder.newBuilder("catalystbalance0","catalyst_of_balance",20);
catalystbalance0.addEnergyPerTickInput(2000000000);
catalystbalance0.addItemInput(<contenttweaker:recursion_of_dimensional_ascension>);
@@ -162,6 +254,14 @@ arcautinfdracshades.addItemOutput(<contenttweaker:everburning_recursion_fragment
arcautinfdracshades.build();
mods.extendedcrafting.TableCrafting.addShaped(<contenttweaker:quasar_burst_director>,
[[null, <contenttweaker:quasar_charged_gem>, <glassential:glass_ethereal_reverse>, <contenttweaker:quasar_charged_gem>, null],
[<contenttweaker:quasar_charged_gem>, <contenttweaker:cuendillar_plate>, <contenttweaker:hyperuranion_conduit>, <contenttweaker:cuendillar_plate>, <contenttweaker:quasar_charged_gem>],
[<glassential:glass_ethereal_reverse>, <contenttweaker:hyperuranion_conduit>, <contenttweaker:quasar_stabilizer>, <contenttweaker:hyperuranion_conduit>, <glassential:glass_ethereal_reverse>],
[<contenttweaker:quasar_charged_gem>, <contenttweaker:cuendillar_plate>, <contenttweaker:hyperuranion_conduit>, <contenttweaker:cuendillar_plate>, <contenttweaker:quasar_charged_gem>],
[null, <contenttweaker:quasar_charged_gem>, <glassential:glass_ethereal_reverse>, <contenttweaker:quasar_charged_gem>, null]]);
mods.extendedcrafting.TableCrafting.addShaped(<contenttweaker:space_time_beam>*12,
[[<contenttweaker:infinite_tainted_plate>, <contenttweaker:phasing_alloy_plate>, <tconstruct:tough_tool_rod>.withTag({Material: "adamantium"}), <contenttweaker:phasing_alloy_plate>, <contenttweaker:infinite_tainted_plate>],
[<contenttweaker:phasing_alloy_plate>, <contenttweaker:exotic_dyson_conduit>, <contenttweaker:balanced_machine_casing>, <contenttweaker:exotic_dyson_conduit>, <contenttweaker:phasing_alloy_plate>],
@@ -701,4 +801,4 @@ blackholejuice.addFluidOutput(<fluid:black_hole_juice>*10);
blackholejuice.build();
mods.nuclearcraft.infuser.addRecipe([<minecraft:bucket>, <fluid:black_hole_juice>*500, <contenttweaker:black_hole_juice>, 1.0, 1.0, 1.0]);
mods.nuclearcraft.infuser.addRecipe([<minecraft:bucket>, <fluid:black_hole_juice>*500, <contenttweaker:black_hole_juice>, 1.0, 1.0, 1.0]);
+20 -2
View File
@@ -1536,6 +1536,7 @@
<ore:ingotFractalliteHalite>.addTooltip(format.red("shiraori_gd (单人)"));
<ore:ingotFractalliteHalite>.addTooltip(format.red("Sbmhawk (单人)"));
<ore:ingotFractalliteHalite>.addTooltip(format.red("amberacid (单人)"));
<ore:ingotFractalliteHalite>.addTooltip(format.red("BoxZen, ray_ray, obscure_man, TheLMiffy111 (团队)"));
<contenttweaker:terrestrial_animator_0>.addTooltip(format.red("可被使用者使用"));
<contenttweaker:terrestrial_animator_1>.addTooltip(format.red("可被使用者使用"));
@@ -1797,6 +1798,9 @@
<contenttweaker:adamantium_reinforced_petrified_wood>.addTooltip(format.red("多方块升级,寒铁锻台:速度x20"));
<contenttweaker:defined_block>.addTooltip(format.red("多方块升级,定义器:输出x2"));
<contenttweaker:core_of_halite_definition>.addTooltip(format.red("多方块升级,定义器:输出x8"));
<contenttweaker:freedom_definer>.addTooltip(format.red("多方块升级,定义器:输出x16"));
<contenttweaker:wishful_definer>.addTooltip(format.red("多方块升级,定义器:输出x64"));
<contenttweaker:quasar_charged_core_of_definition>.addTooltip(format.red("多方块升级,定义器:输出x256"));
<contenttweaker:fabric_of_the_orb>.addTooltip(format.red("多方块升级,维度稳定器:速度x50"));
<thaumadditions:adaminite_block>.addTooltip(format.red("多方块升级,龙炎坩埚:速度x6"));
<thaumadditions:mithminite_smelter>.addTooltip(format.red("多方块升级,龙炎锻炉:输出x8"));
@@ -1835,6 +1839,12 @@
<contenttweaker:trinity_neutronium_casing>.addTooltip(format.red("多方块升级,中子素炮&中子素轰击器:速度x20"));
<contenttweaker:quark_cosmic_module>.addTooltip(format.red("多方块升级,夸克分解器&强脉冲加速器:速度x20"));
<contenttweaker:naquadah_casing>.addTooltip(format.red("方块升级,『立方』:速度x20"));
<contenttweaker:miniature_quasar>.addTooltip(format.red("多方块升级,戴森压缩器:输出x4"));
<contenttweaker:directed_miniature_quasar>.addTooltip(format.red("多方块升级,戴森压缩器:输出x16"));
<contenttweaker:hypergrowth_actualizer>.addTooltip(format.red("多方块升级,超高速生长灌注器:输出x4"));
<contenttweaker:trinity_hypergrowth_component>.addTooltip(format.red("多方块升级,超高速生长灌注器:输出x16"));
<contenttweaker:cosmic_hypergrowth_component>.addTooltip(format.red("多方块升级,超高速生长灌注器:输出x64"));
<thebetweenlands:lurker_skin_pouch>.addTooltip(format.red("该物品可以将物品带进梦魇世界(好耶!)"));
@@ -2030,8 +2040,8 @@
<ae2fc:dual_interface>.addTooltip(format.red("使用原材料缓存仓以在自动合成中同时物品与流体"));
<ae2fc:ingredient_buffer>.addTooltip(format.red("可放置在想自动处理的机器与二合一接口接口之间,以同时处理物品与流体"));
<ae2fc:large_ingredient_buffer>.addTooltip(format.red("可放置在想自动处理的机器与二合一接口接口之间,以同时处理物品与流体"));
<ae2fc:ingredient_buffer>.addTooltip(format.red("可放置在想自动处理的机器与二合一接口之间,以同时处理物品与流体"));
<ae2fc:large_ingredient_buffer>.addTooltip(format.red("可放置在想自动处理的机器与二合一接口之间,以同时处理物品与流体"));
<actuallyadditions:block_atomic_reconstructor>.addTooltip(format.red("原子再构室使自动化更简单 ;)"));
@@ -2674,6 +2684,14 @@
<appliedenergistics2:wireless_crafting_terminal>.addTooltip(format.red("/bq_admin default load"));
<modularmachinery:hypergrowth_insolator_factory_controller>.addTooltip(format.red("警告:该方块未来将会被移除,请替换为常规的多方块升级"));
<modularmachinery:infinity_furnace_factory_controller>.addTooltip(format.red("警告:该方块未来将会被移除,请替换为常规的多方块升级"));
<modularmachinery:shadow_fracturer_factory_controller>.addTooltip(format.red("警告:该方块未来将会被移除,请替换为常规的多方块升级"));
<modularmachinery:enchanted_greenhouse_factory_controller>.addTooltip(format.red("警告:该方块未来将会被移除,请替换为常规的多方块升级"));
<modularmachinery:sacred_cinders_apiary_factory_controller>.addTooltip(format.red("警告:该方块未来将会被移除,请替换为常规的多方块升级"));
<modularmachinery:mechanized_coop_factory_controller>.addTooltip(format.red("警告:该方块未来将会被移除,请替换为常规的多方块升级"));
+191
View File
@@ -0,0 +1,191 @@
#loader contenttweaker
import native.net.minecraft.util.math.BlockPos;
import crafttweaker.block.IBlockState;
import crafttweaker.player.IPlayer;
import crafttweaker.text.ITextComponent;
import crafttweaker.world.IBlockPos;
import mods.contenttweaker.Commands;
import mods.contenttweaker.VanillaFactory;
import mods.zenutils.cotx.Block;
var sednaportal = VanillaFactory.createExpandBlock("sedna_portal_block", <blockmaterial:glass>);
setPortalProps(sednaportal);
setPortalLogic(sednaportal, 147, true);
sednaportal.register();
var rheniaportal = VanillaFactory.createExpandBlock("rhenia_portal_block", <blockmaterial:glass>);
setPortalProps(rheniaportal);
setPortalLogic(rheniaportal, 163, true);
rheniaportal.register();
var haumeaportal = VanillaFactory.createExpandBlock("haumea_portal_block", <blockmaterial:glass>);
setPortalProps(haumeaportal);
setPortalLogic(haumeaportal, 146, true);
haumeaportal.register();
var lunaportal = VanillaFactory.createExpandBlock("luna_portal_block", <blockmaterial:glass>);
setPortalProps(lunaportal);
setPortalLogic(lunaportal, 145, true);
lunaportal.register();
var osirisportal = VanillaFactory.createExpandBlock("osiris_portal_block", <blockmaterial:glass>);
setPortalProps(osirisportal);
setPortalLogic(osirisportal, 148, true);
osirisportal.register();
var ptahportal = VanillaFactory.createExpandBlock("ptah_portal_block", <blockmaterial:glass>);
setPortalProps(ptahportal);
setPortalLogic(ptahportal, 149, true);
ptahportal.register();
var hatorportal = VanillaFactory.createExpandBlock("hator_portal_block", <blockmaterial:glass>);
setPortalProps(hatorportal);
setPortalLogic(hatorportal, 150, true);
hatorportal.register();
var europaportal = VanillaFactory.createExpandBlock("europa_portal_block", <blockmaterial:glass>);
setPortalProps(europaportal);
setPortalLogic(europaportal, 151, true);
europaportal.register();
var oiportal = VanillaFactory.createExpandBlock("oi_portal_block", <blockmaterial:glass>);
setPortalProps(oiportal);
setPortalLogic(oiportal, 152, true);
oiportal.register();
var falacerportal = VanillaFactory.createExpandBlock("falacer_portal_block", <blockmaterial:glass>);
setPortalProps(falacerportal);
setPortalLogic(falacerportal, 160, true);
falacerportal.register();
var orcusportal = VanillaFactory.createExpandBlock("orcus_portal_block", <blockmaterial:glass>);
setPortalProps(orcusportal);
setPortalLogic(orcusportal, 161, true);
orcusportal.register();
var myrmexportal = VanillaFactory.createExpandBlock("myrmex_portal_block", <blockmaterial:glass>);
setPortalProps(myrmexportal);
setPortalLogic(myrmexportal, 164, true);
myrmexportal.register();
var pixoniaportal = VanillaFactory.createExpandBlock("pixonia_portal_block", <blockmaterial:glass>);
setPortalProps(pixoniaportal);
setPortalLogic(pixoniaportal, 165, true);
pixoniaportal.register();
var proximaportal = VanillaFactory.createExpandBlock("proxima_portal_block", <blockmaterial:glass>);
setPortalProps(proximaportal);
setPortalLogic(proximaportal, 166, true);
proximaportal.register();
var zoiportal = VanillaFactory.createExpandBlock("zoi_portal_block", <blockmaterial:glass>);
setPortalProps(zoiportal);
setPortalLogic(zoiportal, 171, true);
zoiportal.register();
var neroportal = VanillaFactory.createExpandBlock("nero_portal_block", <blockmaterial:glass>);
setPortalProps(neroportal);
setPortalLogic(neroportal, 170, true);
neroportal.register();
var akathartosportal = VanillaFactory.createExpandBlock("akathartos_portal_block", <blockmaterial:glass>);
setPortalProps(akathartosportal);
setPortalLogic(akathartosportal, 172, true);
akathartosportal.register();
var pauramportal = VanillaFactory.createExpandBlock("pauram_portal_block", <blockmaterial:glass>);
setPortalProps(pauramportal);
setPortalLogic(pauramportal, 173, true);
pauramportal.register();
var alkemiaportal = VanillaFactory.createExpandBlock("alkemia_portal_block", <blockmaterial:glass>);
setPortalProps(alkemiaportal);
setPortalLogic(alkemiaportal, 174, true);
alkemiaportal.register();
var apichisiportal = VanillaFactory.createExpandBlock("apichisi_portal_block", <blockmaterial:glass>);
setPortalProps(apichisiportal);
setPortalLogic(apichisiportal, 184, false);
apichisiportal.register();
var taerrapiattaportal = VanillaFactory.createExpandBlock("taerrapiatta_portal_block", <blockmaterial:glass>);
setPortalProps(taerrapiattaportal);
setPortalLogic(taerrapiattaportal, 180, false);
taerrapiattaportal.register();
var diamerismaportal = VanillaFactory.createExpandBlock("diamerisma_portal_block", <blockmaterial:glass>);
setPortalProps(diamerismaportal);
setPortalLogic(diamerismaportal, 181, false);
diamerismaportal.register();
var furattoportal = VanillaFactory.createExpandBlock("furatto_portal_block", <blockmaterial:glass>);
setPortalProps(furattoportal);
setPortalLogic(furattoportal, 182, false);
furattoportal.register();
var finemportal = VanillaFactory.createExpandBlock("finem_portal_block", <blockmaterial:glass>);
setPortalProps(finemportal);
setPortalLogic(finemportal, 185, false);
finemportal.register();
var lyndenwyrmportal = VanillaFactory.createExpandBlock("lyndenwyrm_portal_block", <blockmaterial:glass>);
setPortalProps(lyndenwyrmportal);
setPortalLogic(lyndenwyrmportal, 162, false);
lyndenwyrmportal.register();
var gallifreyportal = VanillaFactory.createExpandBlock("gallifrey_portal_block", <blockmaterial:glass>);
setPortalProps(gallifreyportal);
setPortalLogic(gallifreyportal, 624, false);
gallifreyportal.register();
function setPortalProps(block as Block) as Block {
block.setBlockHardness(-1.0);
block.setToolClass("pickaxe");
block.setPassable(true);
block.setFullBlock(false);
block.setLightValue(0.5);
block.setBlockLayer("TRANSLUCENT");
block.setLightOpacity(0);
block.setTranslucent(true);
return block;
}
// Based off end portal logic.
function setPortalLogic(block as Block, dimId as int, inSpace as bool) as Block {
block.onEntityCollidedWithBlock = function(world, pos, state, entity) {
if (world.isRemote() || world.time % 20 != 0 || !(entity instanceof IPlayer)) {
return;
}
var player as IPlayer = entity;
// CoT type -> native type
var blockPos as BlockPos = BlockPos(pos.x, pos.y, pos.z);
var entityBB = entity.native.getEntityBoundingBox();
// Ugly casting because of CoT types
var blockBB = (state as IBlockState).native.getBoundingBox(entity.world.native, blockPos);
if (!inSpace || world.getBiome(player.position as IBlockPos).name == "Space") {
if (!entity.isRiding && !entity.isBeingRidden && entityBB.intersects(blockBB.offset(blockPos))) {
Commands.call(`cofh tpx @s ${dimId}`, player, world, true, true);
Commands.call("summon astralsorcery:entitystarburst", player, world, true, true);
}
} else {
var text = ITextComponent.fromTranslation("chat.contenttweaker.stargate.NotInSpace");
text.style.color = "RED";
player.sendRichTextStatusMessage(text, true);
}
};
return block;
}
+294
View File
@@ -0,0 +1,294 @@
import native.hellfirepvp.modularmachinery.common.crafting.command.ControllerCommandSender;
import native.hellfirepvp.modularmachinery.common.tiles.base.TileMultiblockMachineController;
import native.net.minecraft.item.Item;
import native.net.minecraft.item.ItemStack;
import crafttweaker.block.IBlockState;
import crafttweaker.command.ICommandSender;
import crafttweaker.world.IBlockPos;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.MachineTickEvent;
import mods.modularmachinery.RecipeStartEvent;
import mods.modularmachinery.RecipeFailureEvent;
import mods.modularmachinery.MMEvents;
import mods.modularmachinery.IMachineController;
// Ideally some code here should be shared with ModularWormholeField, but for some reason cross-script reference doesn't work.
var portal = <ore:blockCustomPortal>;
portal.addItems([
<contenttweaker:sedna_portal_block>,
<contenttweaker:rhenia_portal_block>,
<contenttweaker:luna_portal_block>,
<contenttweaker:osiris_portal_block>,
<contenttweaker:ptah_portal_block>,
<contenttweaker:hator_portal_block>,
<contenttweaker:europa_portal_block>,
<contenttweaker:oi_portal_block>,
<contenttweaker:falacer_portal_block>,
<contenttweaker:orcus_portal_block>,
<contenttweaker:myrmex_portal_block>,
<contenttweaker:pixonia_portal_block>,
<contenttweaker:proxima_portal_block>,
<contenttweaker:nero_portal_block>,
<contenttweaker:zoi_portal_block>,
<contenttweaker:akathartos_portal_block>,
<contenttweaker:pauram_portal_block>,
<contenttweaker:alkemia_portal_block>
]);
var tooltip = [
"该配方在激活时会生成一个传送门。",
"多方块结构必须位于太空站。",
"站在传送门中以进行传送。"
] as string[];
var stargatesedna = RecipeBuilder.newBuilder("stargate_sedna", "bee_stargate", 100);
stargatesedna.addItemInput(<contenttweaker:sedna_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:sedna_portal_block", "Sedna");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargaterhenia = RecipeBuilder.newBuilder("stargate_rhenia", "bee_stargate", 100);
stargaterhenia.addItemInput(<contenttweaker:rhenia_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:rhenia_portal_block", "Rhenia");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateluna = RecipeBuilder.newBuilder("stargate_luna", "bee_stargate", 100);
stargateluna.addItemInput(<contenttweaker:luna_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:luna_portal_block", "Luna");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateosiris = RecipeBuilder.newBuilder("stargate_osiris", "bee_stargate", 100);
stargateosiris.addItemInput(<contenttweaker:osiris_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:osiris_portal_block", "Osiris");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateptah = RecipeBuilder.newBuilder("stargate_ptah", "bee_stargate", 100);
stargateptah.addItemInput(<contenttweaker:ptah_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:ptah_portal_block", "Ptah");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatehator = RecipeBuilder.newBuilder("stargate_hator", "bee_stargate", 100);
stargatehator.addItemInput(<contenttweaker:hator_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:hator_portal_block", "Hator");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateeuropa = RecipeBuilder.newBuilder("stargate_europa", "bee_stargate", 100);
stargateeuropa.addItemInput(<contenttweaker:europa_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:europa_portal_block", "Europa");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateoi = RecipeBuilder.newBuilder("stargate_oi", "bee_stargate", 100);
stargateoi.addItemInput(<contenttweaker:oi_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:oi_portal_block", "Oi");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatefalacer = RecipeBuilder.newBuilder("stargate_falacer", "bee_stargate", 100);
stargatefalacer.addItemInput(<contenttweaker:falacer_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:falacer_portal_block", "Falacer");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateorcus = RecipeBuilder.newBuilder("stargate_orcus", "bee_stargate", 100);
stargateorcus.addItemInput(<contenttweaker:orcus_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:orcus_portal_block", "Orcus");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatemyrmex = RecipeBuilder.newBuilder("stargate_myrmex", "bee_stargate", 100);
stargatemyrmex.addItemInput(<contenttweaker:myrmex_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:myrmex_portal_block", "Myrmex");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatepixonia = RecipeBuilder.newBuilder("stargate_pixonia", "bee_stargate", 100);
stargatepixonia.addItemInput(<contenttweaker:pixonia_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:pixonia_portal_block", "Pixonia");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateproxima = RecipeBuilder.newBuilder("stargate_proxima", "bee_stargate", 100);
stargateproxima.addItemInput(<contenttweaker:proximabelt_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:proxima_portal_block", "Proxima");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatenero = RecipeBuilder.newBuilder("stargate_nero", "bee_stargate", 100);
stargatenero.addItemInput(<contenttweaker:nero_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:nero_portal_block", "Nero");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatezoi = RecipeBuilder.newBuilder("stargate_zoi", "bee_stargate", 100);
stargatezoi.addItemInput(<contenttweaker:zoi_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:zoi_portal_block", "Zoi");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargateakathartos = RecipeBuilder.newBuilder("stargate_akathartos", "bee_stargate", 100);
stargateakathartos.addItemInput(<contenttweaker:akathartos_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:akathartos_portal_block", "Akathartos");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatepauram = RecipeBuilder.newBuilder("stargate_pauram", "bee_stargate", 100);
stargatepauram.addItemInput(<contenttweaker:pauram_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:pauram_portal_block", "Pauram");
}
)
.addRecipeTooltip(tooltip)
.build();
var stargatealkemia = RecipeBuilder.newBuilder("stargate_alkemia", "bee_stargate", 100);
stargatealkemia.addItemInput(<contenttweaker:alkemia_warper>).setChance(0)
.addFluidInput(<fluid:for.honey> * 100)
.addStartHandler(function(event as RecipeStartEvent) {
beeStargateRecipeStart(event.controller, "contenttweaker:alkemia_portal_block", "Alkemia");
}
)
.addRecipeTooltip(tooltip)
.build();
// Do start up sound and message if no current portal, spawn portal if different recipe, or nothing if same portal:
function beeStargateRecipeStart(controller as IMachineController, portalBlock as string, destination as string) {
var pos = getCenter(controller, 5, -4);
var sender = getControllerSender(controller);
controller.world.native.getMinecraftServer().addScheduledTask(function() {
var currentPortalBlock = controller.world.getBlockState(pos);
if (currentPortalBlock != IBlockState.getBlockState(portalBlock,"")) {
if (currentPortalBlock == IBlockState.getBlockState("minecraft:air","")) {
var onlineText = '{"translate":"chat.contenttweaker.stargate.online"}';
server.commandManager.executeCommand(sender, "playsound minecraft:entity.evocation_illager.prepare_summon ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(sender, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @s ' + onlineText);
}
beeStargatePlacePortal(controller, portalBlock, pos, sender);
var destinationText = '{"translate":"chat.contenttweaker.portals.destination","with":["' + destination + '"]}';
server.commandManager.executeCommand(sender, "playsound minecraft:block.portal.trigger block @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(sender, "particle portal " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 1000");
server.commandManager.executeCommand(sender, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @s ' + destinationText);
}
});
}
// Destroy portal if the controller is not running.
MMEvents.onMachinePostTick("bee_stargate", function(event as MachineTickEvent) {
var ctrl = event.controller;
if (ctrl.world.time % 20 != 0 || ctrl.isWorking) {
return;
}
var pos = getCenter(ctrl, 5, -4);
ctrl.world.native.getMinecraftServer().addScheduledTask(function() {
var centerState = ctrl.world.getBlockState(pos);
var itemBlock = ItemStack(Item.getItemFromBlock(centerState.block.native));
// Only clear blocks that aren't unbreakable or are known portal blocks.
if(centerState != IBlockState.getBlockState("minecraft:air","") && !isNull(itemBlock)
&& (centerState.block.definition.hardness >= 0 || itemBlock.wrapper.definition.ores has portal)) {
beeStargateClear(ctrl, pos);
}
});
});
// Clear portal blocks.
function beeStargateClear(controller as IMachineController, pos as IBlockPos) {
var sender = getControllerSender(controller);
beeStargatePlacePortal(controller, "minecraft:air", pos, sender);
var offlineText = '{"translate":"chat.contenttweaker.stargate.offline"}';
server.commandManager.executeCommand(sender, "playsound minecraft:entity.evocation_illager.cast_spell ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 0.5");
server.commandManager.executeCommand(sender, "particle smoke " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 200");
server.commandManager.executeCommand(sender, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @s ' + offlineText);
}
// Places portal blocks inside the stargate frame:
function beeStargatePlacePortal(controller as IMachineController, portalBlock as string, pos as IBlockPos, sender as ICommandSender) {
var facing = controller.facing;
var dx = 0;
var dz = 0;
// The plane direction
if (facing == crafttweaker.world.IFacing.north() || facing == crafttweaker.world.IFacing.south()) { dx = 1; }
else { dz = 1; }
server.commandManager.executeCommand(sender, "fill " + (pos.x - dx) + " " + (pos.y - 1) + " " + (pos.z - dz) + " " + (pos.x + dx) + " " + (pos.y + 1) + " " + (pos.z + dz) + " " + portalBlock);
}
function getCenter(ctrl as IMachineController, offsetUp as int, offsetFacing as int) as IBlockPos {
return ctrl.pos.getOffset(up, offsetUp).getOffset(ctrl.facing, offsetFacing);
}
// The ICommandSender must have the correct associated world, so we're using ControllerCommandSender.
function getControllerSender(controller as IMachineController) as ICommandSender {
var sender = ControllerCommandSender(controller as TileMultiblockMachineController) as native.net.minecraft.command.ICommandSender;
return sender.wrapper;
}
+168
View File
@@ -0,0 +1,168 @@
import native.hellfirepvp.modularmachinery.common.crafting.command.ControllerCommandSender;
import native.hellfirepvp.modularmachinery.common.tiles.base.TileMultiblockMachineController;
import native.net.minecraft.item.Item;
import native.net.minecraft.item.ItemStack;
import crafttweaker.block.IBlockState;
import crafttweaker.command.ICommandSender;
import crafttweaker.world.IBlockPos;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.MachineTickEvent;
import mods.modularmachinery.RecipeStartEvent;
import mods.modularmachinery.RecipeFailureEvent;
import mods.modularmachinery.MMEvents;
import mods.modularmachinery.IMachineController;
// Ideally some code here should be shared with ModularBeeStargate, but for some reason cross-script reference doesn't work.
var portal = <ore:blockCustomPortal>;
portal.addItems([
<contenttweaker:taerrapiatta_portal_block>,
<contenttweaker:diamerisma_portal_block>,
<contenttweaker:furatto_portal_block>,
<contenttweaker:finem_portal_block>,
<contenttweaker:apichisi_portal_block>,
<contenttweaker:lyndenwyrm_portal_block>,
<contenttweaker:gallifrey_portal_block>
]);
var tooltip = [
"该配方在激活时会生成一个传送门。",
"站在传送门中以进行传送。"
] as string[];
var wormholetaerrapiatta = RecipeBuilder.newBuilder("wormholetaerrapiatta","wormhole_field_generator",100);
wormholetaerrapiatta.addItemInput(<contenttweaker:taerrapiatta_warper>).setChance(0)
.addEnergyPerTickInput(10000)
.addStartHandler(function(event as RecipeStartEvent) {
wormholeGeneratorRecipeStart(event.controller, "contenttweaker:taerrapiatta_portal_block", "Taerrapiatta");
}
)
.addRecipeTooltip(tooltip)
.build();
var wormholediamerisma = RecipeBuilder.newBuilder("wormholediamerisma","wormhole_field_generator",100);
wormholediamerisma.addItemInput(<contenttweaker:diamerisma_warper>).setChance(0)
.addEnergyPerTickInput(10000)
.addStartHandler(function(event as RecipeStartEvent) {
wormholeGeneratorRecipeStart(event.controller, "contenttweaker:diamerisma_portal_block", "Diamerisma");
}
)
.addRecipeTooltip(tooltip)
.build();
var wormholefuratto = RecipeBuilder.newBuilder("wormholefuratto","wormhole_field_generator",100);
wormholefuratto.addItemInput(<contenttweaker:furatto_warper>).setChance(0)
.addEnergyPerTickInput(10000)
.addStartHandler(function(event as RecipeStartEvent) {
wormholeGeneratorRecipeStart(event.controller, "contenttweaker:furatto_portal_block", "Furatto");
}
)
.addRecipeTooltip(tooltip)
.build();
var wormholefinem = RecipeBuilder.newBuilder("wormholefinem","wormhole_field_generator",100);
wormholefinem.addItemInput(<contenttweaker:finem_warper>).setChance(0)
.addEnergyPerTickInput(10000)
.addStartHandler(function(event as RecipeStartEvent) {
wormholeGeneratorRecipeStart(event.controller, "contenttweaker:finem_portal_block", "Finem");
}
)
.addRecipeTooltip(tooltip)
.build();
var wormholeapichisi = RecipeBuilder.newBuilder("wormholeapichisi","wormhole_field_generator",100);
wormholeapichisi.addItemInput(<contenttweaker:apichisi_warper>).setChance(0)
.addEnergyPerTickInput(10000)
.addStartHandler(function(event as RecipeStartEvent) {
wormholeGeneratorRecipeStart(event.controller, "contenttweaker:apichisi_portal_block", "Apichisi");
}
)
.addRecipeTooltip(tooltip)
.build();
var wormholelyndenwyrm = RecipeBuilder.newBuilder("wormholelyndenwyrm","wormhole_field_generator",100);
wormholelyndenwyrm.addItemInput(<contenttweaker:lyndenwyrm_warper>).setChance(0)
.addEnergyPerTickInput(10000)
.addStartHandler(function(event as RecipeStartEvent) {
wormholeGeneratorRecipeStart(event.controller, "contenttweaker:lyndenwyrm_portal_block", "Lyndenwyrm");
}
)
.addRecipeTooltip(tooltip)
.build();
var wormholegallifrey = RecipeBuilder.newBuilder("wormholegallifrey","wormhole_field_generator",100);
wormholegallifrey.addItemInput(<contenttweaker:gallifrey_warper>).setChance(0)
.addEnergyPerTickInput(10000)
.addStartHandler(function(event as RecipeStartEvent) {
wormholeGeneratorRecipeStart(event.controller, "contenttweaker:gallifrey_portal_block", "Gallifrey");
}
)
.addRecipeTooltip(tooltip)
.build();
// Do start up sound and message if no current portal, spawn portal if different recipe, or nothing if same portal:
function wormholeGeneratorRecipeStart(controller as IMachineController, portalBlock as string, destination as string) {
var pos = getCenter(controller, 4, -3);
var sender = getControllerSender(controller);
controller.world.native.getMinecraftServer().addScheduledTask(function() {
var currentPortalBlock = controller.world.getBlockState(pos);
if (currentPortalBlock != IBlockState.getBlockState(portalBlock,"")) {
if (currentPortalBlock == IBlockState.getBlockState("minecraft:air","")) {
var onlineText = '{"translate":"chat.contenttweaker.wormhole_generator.online"}';
server.commandManager.executeCommand(sender, "playsound minecraft:entity.evocation_illager.prepare_summon ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(sender, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @s ' + onlineText);
}
wormholeGeneratorPlacePortal(controller, portalBlock, pos, sender);
var destinationText = '{"translate":"chat.contenttweaker.portals.destination","with":["' + destination + '"]}';
server.commandManager.executeCommand(sender, "playsound minecraft:block.portal.trigger block @a " + pos.x + " " + pos.y + " " + pos.z + " 1 1");
server.commandManager.executeCommand(sender, "particle portal " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 1000");
server.commandManager.executeCommand(sender, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @s ' + destinationText);
}
});
}
// Destroy portal if the controller is not running.
MMEvents.onMachinePostTick("wormhole_field_generator", function(event as MachineTickEvent) {
var ctrl = event.controller;
if (ctrl.world.time % 20 != 0 || ctrl.isWorking) {
return;
}
var pos = getCenter(ctrl, 4, -3);
ctrl.world.native.getMinecraftServer().addScheduledTask(function() {
var centerState = ctrl.world.getBlockState(pos);
var itemBlock = ItemStack(Item.getItemFromBlock(centerState.block.native));
// Only clear blocks that aren't unbreakable or are known portal blocks.
if(centerState != IBlockState.getBlockState("minecraft:air","") && !isNull(itemBlock)
&& (centerState.block.definition.hardness >= 0 || itemBlock.wrapper.definition.ores has portal)) {
wormholeGeneratorClear(ctrl, pos);
}
});
});
// Clear portal blocks.
function wormholeGeneratorClear(controller as IMachineController, pos as IBlockPos) {
var sender = getControllerSender(controller);
wormholeGeneratorPlacePortal(controller, "minecraft:air", pos, sender);
var offlineText = '{"translate":"chat.contenttweaker.wormhole_generator.offline"}';
server.commandManager.executeCommand(sender, "playsound minecraft:entity.evocation_illager.cast_spell ambient @a " + pos.x + " " + pos.y + " " + pos.z + " 1 0.5");
server.commandManager.executeCommand(sender, "particle smoke " + pos.x + " " + pos.y + " " + pos.z + " 1 1 1 0.1 200");
server.commandManager.executeCommand(sender, 'execute @a[x=' + pos.x + ',y=' + pos.y + ',z=' + pos.z + ',r=25] ~ ~ ~ tellraw @s ' + offlineText);
}
// Places portal blocks inside the wormhole area:
function wormholeGeneratorPlacePortal(controller as IMachineController, portalBlock as string, pos as IBlockPos, sender as ICommandSender) {
var facing = controller.facing;
server.commandManager.executeCommand(sender, "fill " + (pos.x - 1) + " " + (pos.y - 1) + " " + (pos.z - 1) + " " + (pos.x + 1) + " " + (pos.y + 1) + " " + (pos.z + 1) + " " + portalBlock);
}
function getCenter(ctrl as IMachineController, offsetUp as int, offsetFacing as int) as IBlockPos {
return ctrl.pos.getOffset(up, offsetUp).getOffset(ctrl.facing, offsetFacing);
}
// The ICommandSender must have the correct associated world, so we're using ControllerCommandSender.
function getControllerSender(controller as IMachineController) as ICommandSender {
var sender = ControllerCommandSender(controller as TileMultiblockMachineController) as native.net.minecraft.command.ICommandSender;
return sender.wrapper;
}