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.MMEvents; import mods.modularmachinery.IMachineController; import crafttweaker.world.IFacing; import crafttweaker.util.Position3f; import crafttweaker.player.IPlayer; import crafttweaker.block.IBlock; import crafttweaker.data.IData; import native.erebus.entity.EntityAnimatedBlock; // Shared code import scripts.util.ModularEventUtils as Util; static offset as Util.Offset = Util.Offset(0, 0); var utopicspireallinone1 = RecipeBuilder.newBuilder("utopicspireallinone1","utopic_spires",600); utopicspireallinone1.addBiomeInput("tardis:telos") .addBiomeInput("tardis:mountains") .addBiomeInput("tardis:redlands") .addBiomeInput("tardis:farmlands") .addBiomeInput("tardis:telos") .addBiomeInput("biomesoplenty:sacred_springs") .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addFluidInput(*1000) .addItemInput(*1) .addItemInput(*1) .addItemInput(*1) .addItemInput(*1) .addFluidOutput(*100) .addFluidOutput(*100) .addFluidOutput(*100) .addFluidOutput(*100) .addItemOutput(*1) .addStartHandler(function(event as RecipeStartEvent) { utopicSpiresRecipeStart(event.controller); } ) .addRecipeTooltip(["One of the following miniature astral bodies must be placed in the center of the orb: Star, Pulsar, Black Hole, White Hole"]) .build(); var utopicspireallinone2 = RecipeBuilder.newBuilder("utopicspireallinone2","utopic_spires",600); utopicspireallinone2.addBiomeInput("tardis:telos") .addBiomeInput("tardis:mountains") .addBiomeInput("tardis:redlands") .addBiomeInput("tardis:farmlands") .addBiomeInput("tardis:telos") .addBiomeInput("biomesoplenty:sacred_springs") .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addFluidInput(*4000) .addItemInput(*1) .addItemInput(*1) .addItemInput(*1) .addItemInput(*1) .addFluidOutput(*10000) .addFluidOutput(*10000) .addFluidOutput(*10000) .addFluidOutput(*10000) .addItemOutput(*1) .addStartHandler(function(event as RecipeStartEvent) { utopicSpiresRecipeStart(event.controller); } ) .addRecipeTooltip(["One of the following miniature astral bodies must be placed in the center of the orb: Star, Pulsar, Black Hole, White Hole"]) .build(); function utopicSpiresRecipeStart(controller as IMachineController) { var posunshifted = offset.getCenter(controller).asPosition3f(); var pos = offset.getCenter(controller).asPosition3f(); pos.y = posunshifted.y + 19; var sender = Util.getControllerSender(controller); Util.scheduleTask(controller, function() as void { var currentAstralBody = controller.world.getBlock(pos).definition.id as string; if (currentAstralBody == "contenttweaker:miniature_black_hole") { server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + "contenttweaker:tribody_fabrial" + " 0 replace " + "techreborn:machine_frame 0"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z - 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + (posunshifted.x - 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + (posunshifted.x + 2) + " " + (posunshifted.y) + " " + (posunshifted.z + 6) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + (posunshifted.x + 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z + 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + (posunshifted.x - 6) + " " + (posunshifted.y) + " " + (posunshifted.z - 2) + " " + "contenttweaker:basic_machine_frame_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + "contenttweaker:bluefire_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + "contenttweaker:unleashed_divine_ore" + " 0 replace " + "minecraft:stone"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x - 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x + 18) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 18) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x - 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z - 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + (posunshifted.x + 12) + " " + (posunshifted.y) + " " + (posunshifted.z + 3) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z + 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + (posunshifted.x + 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + (posunshifted.x - 3) + " " + (posunshifted.y) + " " + (posunshifted.z - 12) + " " + "contenttweaker:strange_stone_ghost" + " 0 replace " + "contenttweaker:harmonic_fluid_lattice"); } if (currentAstralBody == "contenttweaker:miniature_star") { server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 8) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + (posunshifted.x + 8) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 8) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + (posunshifted.x - 8) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 8) + " " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 8) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 8) + " " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 8) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 20) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + (posunshifted.x + 20) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 20) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + (posunshifted.x - 20) + " " + (posunshifted.y + 4) + " " + (posunshifted.z) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 20) + " " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 20) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 20) + " " + (posunshifted.x) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 20) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 6) + " " + (posunshifted.x + 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 6) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 6) + " " + (posunshifted.x - 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 6) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 6) + " " + (posunshifted.x + 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 6) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 6) + " " + (posunshifted.x - 6) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 6) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 15) + " " + (posunshifted.x + 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 15) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 15) + " " + (posunshifted.x - 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z + 15) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x + 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 15) + " " + (posunshifted.x + 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 15) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); server.commandManager.executeCommand(sender, "fill " + (posunshifted.x - 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 15) + " " + (posunshifted.x - 15) + " " + (posunshifted.y + 4) + " " + (posunshifted.z - 15) + " " + "contenttweaker:harmonic_fluid_lattice" + " 0 replace " + "air"); } if (currentAstralBody == "contenttweaker:miniature_pulsar") { server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 15) + " " + (posunshifted.y + 12) + " " + (posunshifted.z) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 15) + " " + (posunshifted.y + 12) + " " + (posunshifted.z) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x) + " " + (posunshifted.y + 12) + " " + (posunshifted.z - 15) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x) + " " + (posunshifted.y + 12) + " " + (posunshifted.z + 15) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 12) + " " + (posunshifted.y + 12) + " " + (posunshifted.z + 12) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 12) + " " + (posunshifted.y + 12) + " " + (posunshifted.z + 12) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 12) + " " + (posunshifted.y + 12) + " " + (posunshifted.z - 12) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 12) + " " + (posunshifted.y + 12) + " " + (posunshifted.z - 12) + " {Item:{id:\"contenttweaker:temporal_linkage\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x) + " " + (posunshifted.y + 6) + " " + (posunshifted.z - 4) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x) + " " + (posunshifted.y + 6) + " " + (posunshifted.z + 4) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 4) + " " + (posunshifted.y + 6) + " " + (posunshifted.z) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 4) + " " + (posunshifted.y + 6) + " " + (posunshifted.z) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 1) + " " + (posunshifted.y + 10) + " " + (posunshifted.z + 3) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 1) + " " + (posunshifted.y + 10) + " " + (posunshifted.z + 3) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 1) + " " + (posunshifted.y + 10) + " " + (posunshifted.z - 3) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 1) + " " + (posunshifted.y + 10) + " " + (posunshifted.z - 3) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 3) + " " + (posunshifted.y + 10) + " " + (posunshifted.z - 1) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x + 3) + " " + (posunshifted.y + 10) + " " + (posunshifted.z + 1) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 3) + " " + (posunshifted.y + 10) + " " + (posunshifted.z - 1) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); server.commandManager.executeCommand(sender, "summon Item " + (posunshifted.x - 3) + " " + (posunshifted.y + 10) + " " + (posunshifted.z + 1) + " {Item:{id:\"contenttweaker:self_confined_neutrino_plasma\",Count:1b}}"); } if (currentAstralBody == "contenttweaker:miniature_white_hole") { server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x - 19) + " " + (posunshifted.y + 6) + " " + (posunshifted.z + 8) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x - 19) + " " + (posunshifted.y + 6) + " " + (posunshifted.z - 8) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x + 19) + " " + (posunshifted.y + 6) + " " + (posunshifted.z + 8) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x + 19) + " " + (posunshifted.y + 6) + " " + (posunshifted.z - 8) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x + 8) + " " + (posunshifted.y + 6) + " " + (posunshifted.z - 19) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x - 8) + " " + (posunshifted.y + 6) + " " + (posunshifted.z - 19) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x + 8) + " " + (posunshifted.y + 6) + " " + (posunshifted.z + 19) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); server.commandManager.executeCommand(sender, "summon twilightforest:castle_guardian " + (posunshifted.x - 8) + " " + (posunshifted.y + 6) + " " + (posunshifted.z + 19) + " {PersistenceRequired:1,HandItems:[{Count:1,id:\"contenttweaker:covetous_incubator\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:30.0}],Health:2000f,CustomName:\"Covetous Dalek\"}"); } }); } val oresonicscrewdriver = ; oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); oresonicscrewdriver.add(); recipes.addShaped(*4, [[, .withTag({Fluid: {FluidName: "harmonic_fluid_lattice", Amount: 1000}}), ], [.withTag({Fluid: {FluidName: "harmonic_fluid_lattice", Amount: 1000}}), , .withTag({Fluid: {FluidName: "harmonic_fluid_lattice", Amount: 1000}})], [, .withTag({Fluid: {FluidName: "harmonic_fluid_lattice", Amount: 1000}}), ]]); recipes.addShaped(, [[, , ], [, .reuse(), ], [, , ]]); recipes.addShaped(, [[, , ], [, .reuse(), ], [, , ]]);