#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.data.IData; import native.erebus.entity.EntityAnimatedBlock; import crafttweaker.util.Position3f; var creeponiacallstone = VanillaFactory.createItem("creeponia_callstone"); creeponiacallstone.maxStackSize = 1; creeponiacallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 805) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn creeponia_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; creeponiacallstone.register(); var stormborncallstone = VanillaFactory.createItem("stormborn_callstone"); stormborncallstone.maxStackSize = 1; stormborncallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 7) { player.sendChat("You gotta be in the Twilight Forest"); return "FAIL"; } Commands.call("pillar-spawn stormborn_bee_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; stormborncallstone.register(); var deeplandscallstone = VanillaFactory.createItem("deeplands_callstone"); deeplandscallstone.maxStackSize = 1; deeplandscallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 807) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn deeplands_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; deeplandscallstone.register(); var crysteviacallstone = VanillaFactory.createItem("crystevia_callstone"); crysteviacallstone.maxStackSize = 1; crysteviacallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 806) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn crystevia_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; crysteviacallstone.register(); var irominecallstone = VanillaFactory.createItem("iromine_callstone"); irominecallstone.maxStackSize = 1; irominecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 813) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn iromine_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; irominecallstone.register(); var boreancallstone = VanillaFactory.createItem("borean_callstone"); boreancallstone.maxStackSize = 1; boreancallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 814) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn borean_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; boreancallstone.register(); var lunaluscallstone = VanillaFactory.createItem("lunalus_callstone"); lunaluscallstone.maxStackSize = 1; lunaluscallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 816) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn lunalus_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; lunaluscallstone.register(); var wildwoodcallstone = VanillaFactory.createItem("wildwood_callstone"); wildwoodcallstone.maxStackSize = 1; wildwoodcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 421) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn wildwood_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; wildwoodcallstone.register(); var skytherncallstone = VanillaFactory.createItem("skythern_callstone"); skytherncallstone.maxStackSize = 1; skytherncallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 423) { player.sendChat("Enter the right dimension"); return "FAIL"; } Commands.call("pillar-spawn skythern_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; skytherncallstone.register(); var tuliteflower = VanillaFactory.createItem("tulite_flower"); tuliteflower.maxStackSize = 1; tuliteflower.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 423) { player.sendChat("Use in skythern"); return "FAIL"; } // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing on beacon var posChange = player.position.asPosition3f(); posChange.y = pos.y - 1; var blockPosBelowPlayer = posChange.asBlockPos(); var blockBelow = world.getBlockState(blockPosBelowPlayer); print(blockBelow.commandString); if(blockBelow != ) { player.sendChat("Stand on a purpur block"); return "FAIL"; } var posbeacon1 = player.position.asPosition3f(); posbeacon1.y = pos.y - 1; posbeacon1.x = pos.x - 2; posbeacon1.z = pos.z - 1; var blockposbeacon1 = posbeacon1.asBlockPos(); var blockBelow1 = world.getBlockState(blockposbeacon1); if(blockBelow1 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon2 = player.position.asPosition3f(); posbeacon2.y = pos.y - 1; posbeacon2.x = pos.x - 2; posbeacon2.z = pos.z + 1; var blockposbeacon2 = posbeacon2.asBlockPos(); var blockBelow2 = world.getBlockState(blockposbeacon2); if(blockBelow2 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon3 = player.position.asPosition3f(); posbeacon3.y = pos.y - 1; posbeacon3.x = pos.x + 2; posbeacon3.z = pos.z - 1; var blockposbeacon3 = posbeacon3.asBlockPos(); var blockBelow3 = world.getBlockState(blockposbeacon3); if(blockBelow3 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon4 = player.position.asPosition3f(); posbeacon4.y = pos.y - 1; posbeacon4.x = pos.x + 2; posbeacon4.z = pos.z + 1; var blockposbeacon4 = posbeacon4.asBlockPos(); var blockBelow4 = world.getBlockState(blockposbeacon4); if(blockBelow4 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon5 = player.position.asPosition3f(); posbeacon5.y = pos.y - 1; posbeacon5.x = pos.x + 1; posbeacon5.z = pos.z + 2; var blockposbeacon5 = posbeacon5.asBlockPos(); var blockBelow5 = world.getBlockState(blockposbeacon5); if(blockBelow5 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon6 = player.position.asPosition3f(); posbeacon6.y = pos.y - 1; posbeacon6.x = pos.x - 1; posbeacon6.z = pos.z + 2; var blockposbeacon6 = posbeacon6.asBlockPos(); var blockBelow6 = world.getBlockState(blockposbeacon6); if(blockBelow6 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon7 = player.position.asPosition3f(); posbeacon7.y = pos.y - 1; posbeacon7.x = pos.x + 1; posbeacon7.z = pos.z - 2; var blockposbeacon7 = posbeacon7.asBlockPos(); var blockBelow7 = world.getBlockState(blockposbeacon7); if(blockBelow7 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon8 = player.position.asPosition3f(); posbeacon8.y = pos.y - 1; posbeacon8.x = pos.x - 1; posbeacon8.z = pos.z - 2; var blockposbeacon8 = posbeacon8.asBlockPos(); var blockBelow8 = world.getBlockState(blockposbeacon8); if(blockBelow8 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon9 = player.position.asPosition3f(); posbeacon9.y = pos.y - 2; posbeacon9.x = pos.x; posbeacon9.z = pos.z; var blockposbeacon9 = posbeacon9.asBlockPos(); var blockBelow9 = world.getBlockState(blockposbeacon9); if(blockBelow9 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon10 = player.position.asPosition3f(); posbeacon10.y = pos.y - 2; posbeacon10.x = pos.x + 1; posbeacon10.z = pos.z; var blockposbeacon10 = posbeacon10.asBlockPos(); var blockBelow10 = world.getBlockState(blockposbeacon10); if(blockBelow10 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon11 = player.position.asPosition3f(); posbeacon11.y = pos.y - 2; posbeacon11.x = pos.x + 2; posbeacon11.z = pos.z; var blockposbeacon11 = posbeacon11.asBlockPos(); var blockBelow11 = world.getBlockState(blockposbeacon11); if(blockBelow11 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon12 = player.position.asPosition3f(); posbeacon12.y = pos.y - 2; posbeacon12.x = pos.x - 1; posbeacon12.z = pos.z; var blockposbeacon12 = posbeacon12.asBlockPos(); var blockBelow12 = world.getBlockState(blockposbeacon12); if(blockBelow12 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon13 = player.position.asPosition3f(); posbeacon13.y = pos.y - 2; posbeacon13.x = pos.x - 2; posbeacon13.z = pos.z; var blockposbeacon13 = posbeacon13.asBlockPos(); var blockBelow13 = world.getBlockState(blockposbeacon13); if(blockBelow13 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon14 = player.position.asPosition3f(); posbeacon14.y = pos.y - 2; posbeacon14.x = pos.x; posbeacon14.z = pos.z + 1; var blockposbeacon14 = posbeacon14.asBlockPos(); var blockBelow14 = world.getBlockState(blockposbeacon14); if(blockBelow14 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon15 = player.position.asPosition3f(); posbeacon15.y = pos.y - 2; posbeacon15.x = pos.x; posbeacon15.z = pos.z + 2; var blockposbeacon15 = posbeacon15.asBlockPos(); var blockBelow15 = world.getBlockState(blockposbeacon15); if(blockBelow15 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon16 = player.position.asPosition3f(); posbeacon16.y = pos.y - 2; posbeacon16.x = pos.x; posbeacon16.z = pos.z - 1; var blockposbeacon16 = posbeacon16.asBlockPos(); var blockBelow16 = world.getBlockState(blockposbeacon16); if(blockBelow16 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posbeacon17 = player.position.asPosition3f(); posbeacon17.y = pos.y - 2; posbeacon17.x = pos.x; posbeacon17.z = pos.z - 2; var blockposbeacon17 = posbeacon17.asBlockPos(); var blockBelow17 = world.getBlockState(blockposbeacon17); if(blockBelow17 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair1 = player.position.asPosition3f(); posair1.y = pos.y - 1; posair1.x = pos.x; posair1.z = pos.z - 1; var blockposair1 = posair1.asBlockPos(); var blockBelowair1 = world.getBlockState(blockposair1); if(blockBelowair1 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair2 = player.position.asPosition3f(); posair2.y = pos.y - 1; posair2.x = pos.x; posair2.z = pos.z + 1; var blockposair2 = posair2.asBlockPos(); var blockBelowair2 = world.getBlockState(blockposair2); if(blockBelowair2 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair3 = player.position.asPosition3f(); posair3.y = pos.y - 1; posair3.x = pos.x + 1; posair3.z = pos.z; var blockposair3 = posair3.asBlockPos(); var blockBelowair3 = world.getBlockState(blockposair3); if(blockBelowair3 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair4 = player.position.asPosition3f(); posair4.y = pos.y - 1; posair4.x = pos.x - 1; posair4.z = pos.z; var blockposair4 = posair4.asBlockPos(); var blockBelowair4 = world.getBlockState(blockposair4); if(blockBelowair4 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair5 = player.position.asPosition3f(); posair5.y = pos.y - 1; posair5.x = pos.x - 1; posair5.z = pos.z - 1; var blockposair5 = posair5.asBlockPos(); var blockBelowair5 = world.getBlockState(blockposair5); if(blockBelowair5 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair6 = player.position.asPosition3f(); posair6.y = pos.y - 1; posair6.x = pos.x + 1; posair6.z = pos.z - 1; var blockposair6 = posair6.asBlockPos(); var blockBelowair6 = world.getBlockState(blockposair6); if(blockBelowair6 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair7 = player.position.asPosition3f(); posair7.y = pos.y - 1; posair7.x = pos.x - 1; posair7.z = pos.z + 1; var blockposair7 = posair7.asBlockPos(); var blockBelowair7 = world.getBlockState(blockposair7); if(blockBelowair7 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair8 = player.position.asPosition3f(); posair8.y = pos.y - 1; posair8.x = pos.x + 1; posair8.z = pos.z + 1; var blockposair8 = posair8.asBlockPos(); var blockBelowair8 = world.getBlockState(blockposair8); if(blockBelowair8 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair9 = player.position.asPosition3f(); posair9.y = pos.y - 2; posair9.x = pos.x + 1; posair9.z = pos.z + 1; var blockposair9 = posair9.asBlockPos(); var blockBelowair9 = world.getBlockState(blockposair9); if(blockBelowair9 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair10 = player.position.asPosition3f(); posair10.y = pos.y - 2; posair10.x = pos.x + 1; posair10.z = pos.z - 1; var blockposair10 = posair10.asBlockPos(); var blockBelowair10 = world.getBlockState(blockposair10); if(blockBelowair10 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair11 = player.position.asPosition3f(); posair11.y = pos.y - 2; posair11.x = pos.x - 1; posair11.z = pos.z + 1; var blockposair11 = posair11.asBlockPos(); var blockBelowair11 = world.getBlockState(blockposair11); if(blockBelowair11 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair12 = player.position.asPosition3f(); posair12.y = pos.y - 2; posair12.x = pos.x - 1; posair12.z = pos.z - 1; var blockposair12 = posair12.asBlockPos(); var blockBelowair12 = world.getBlockState(blockposair12); if(blockBelowair12 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair13 = player.position.asPosition3f(); posair13.y = pos.y - 1; posair13.x = pos.x; posair13.z = pos.z - 2; var blockposair13 = posair13.asBlockPos(); var blockBelowair13 = world.getBlockState(blockposair13); if(blockBelowair13 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair14 = player.position.asPosition3f(); posair14.y = pos.y - 1; posair14.x = pos.x; posair14.z = pos.z + 2; var blockposair14 = posair14.asBlockPos(); var blockBelowair14 = world.getBlockState(blockposair14); if(blockBelowair14 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair15 = player.position.asPosition3f(); posair15.y = pos.y - 1; posair15.x = pos.x + 2; posair15.z = pos.z; var blockposair15 = posair15.asBlockPos(); var blockBelowair15 = world.getBlockState(blockposair15); if(blockBelowair15 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } var posair16 = player.position.asPosition3f(); posair16.y = pos.y - 1; posair16.x = pos.x - 2; posair16.z = pos.z; var blockposair16 = posair16.asBlockPos(); var blockBelowair16 = world.getBlockState(blockposair16); if(blockBelowair16 != ) { player.sendChat("Compose the right shape out of purpur, the callstone will guide you, reproduce the red shape"); return "FAIL"; } Commands.call("give @p contenttweaker:astral_lizardite", player, world, false, true); Commands.call("give @p contenttweaker:astral_lizardite", player, world, false, true); stack.shrink(1); return "PASS"; }; tuliteflower.register(); var immortalliscallstone = VanillaFactory.createItem("immortallis_callstone"); immortalliscallstone.maxStackSize = 1; immortalliscallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 7) { player.sendChat("Enter the twilight forest"); return "FAIL"; } Commands.call("pillar-spawn immortallis_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; immortalliscallstone.register(); var horrificcallstone = VanillaFactory.createItem("horrific_callstone"); horrificcallstone.maxStackSize = 1; horrificcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 150) { player.sendChat("You gotta be in Hator"); return "FAIL"; } Commands.call("pillar-spawn casa_degli_orrori", player, world, false, true); stack.shrink(1); return "PASS"; }; horrificcallstone.register(); var harbingercallstone = VanillaFactory.createItem("harbinger_callstone"); harbingercallstone.maxStackSize = 1; harbingercallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 7) { player.sendChat("Enter the twilight forest"); return "FAIL"; } Commands.call("pillar-spawn harbinger_castle", player, world, false, true); stack.shrink(1); return "PASS"; }; harbingercallstone.register(); var dreamcallstone = VanillaFactory.createItem("dream_callstone"); dreamcallstone.maxStackSize = 1; dreamcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 427) { player.sendChat("You gotta be in vethea"); return "FAIL"; } Commands.call("pillar-spawn vethea_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; dreamcallstone.register(); var nightmarecallstone = VanillaFactory.createItem("nightmare_callstone"); nightmarecallstone.maxStackSize = 1; nightmarecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 427) { player.sendChat("You gotta be in vethea"); return "FAIL"; } Commands.call("pillar-spawn nighmare_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; nightmarecallstone.register(); var sacredcallstone = VanillaFactory.createItem("sacred_callstone"); sacredcallstone.maxStackSize = 1; sacredcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 4) { player.sendChat("You gotta be in the aether"); return "FAIL"; } Commands.call("pillar-spawn recursion_temple_final", player, world, false, true); stack.shrink(1); return "PASS"; }; sacredcallstone.register(); var callofthehaunted = VanillaFactory.createItem("call_of_the_haunted"); callofthehaunted.maxStackSize = 1; callofthehaunted.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 7) { player.sendChat("You gotta be in the twilight forest"); return "FAIL"; } Commands.call("pillar-spawn ghost_disk_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; callofthehaunted.register(); var recursionprisonkey = VanillaFactory.createItem("recursion_prison_key"); recursionprisonkey.maxStackSize = 1; recursionprisonkey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } Commands.call("pillar-spawn recursion_prison_arena", player, world, false, true); stack.shrink(1); return "PASS"; }; recursionprisonkey.register(); var stickycallstone = VanillaFactory.createItem("sticky_callstone"); stickycallstone.maxStackSize = 1; stickycallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 181) { player.sendChat("You gotta be in Diamerisma"); return "FAIL"; } Commands.call("pillar-spawn big_bouncy_castle", player, world, false, true); // Commands.call("summon Slime ~ ~10 ~ {Size:100,ActiveEffects:[{Id:10,Amplifier:4,Duration:999999},{Id:6,Amplifier:250,Duration:999999}],HandItems:[{Count:1,id:\"contenttweaker:big_slime\"},{}],HandDropChances:[1.0f,0.0f],Health:3000f}", player, world, false, true); player.sendChat("Kill it!"); stack.shrink(1); return "PASS"; }; stickycallstone.register(); //summon Slime ~ ~ ~ {Size:100,ActiveEffects:[{Id:10,Amplifier:3,Duration:999999}],HandItems:[{Count:1,id:"contenttweaker:big_slime"},{}],HandDropChances:[1.0f,0.0f]} var runickey = VanillaFactory.createItem("runic_key"); runickey.maxStackSize = 1; runickey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 819) { player.sendChat("You gotta be in Runandor"); return "FAIL"; } Commands.call("pillar-spawn runandor_structure_superclunk", player, world, false, true); //Commands.call("summon aoa3:clunkhead ~-5 ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:clunky_chunky_brick\"},{}],HandDropChances:[1.0f,0.0f]}", player, world, false, true); player.sendChat("Kill them all!"); stack.shrink(1); return "PASS"; }; runickey.register(); var secretweapon = VanillaFactory.createItem("secret_weapon"); secretweapon.maxStackSize = 1; secretweapon.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("summon mightyenderchicken:ent_enderchicken ~ ~30 ~ {HandItems:[{Count:1,id:\"contenttweaker:recursive_feather\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0}],Health:2000f}", player, world, false, true); player.sendChat("Kill them all!"); stack.shrink(1); return "PASS"; }; secretweapon.register(); var arcaneprisonkey = VanillaFactory.createItem("arcane_prison_key"); arcaneprisonkey.maxStackSize = 1; arcaneprisonkey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 426) { player.sendChat("You gotta be in arcana"); return "FAIL"; } var pos = player.position.asPosition3f(); if(pos.y < 30) { player.sendChat("WARNING: this boss can break your armor"); player.sendChat("It's a good idea to bring unbreakable armor"); player.sendChat("Go above Y = 30 to summon the boss"); return "FAIL"; } Commands.call("summon divinerpg:death_hound ~7 ~1 ~7 {HandItems:[{Count:1,id:\"contenttweaker:sympan_spirit\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:20000.0},{Name:generic.attackDamage, Base:10000.0}],Health:20000f}", player, world, false, true); player.sendChat("Kill it!"); stack.shrink(1); return "PASS"; }; arcaneprisonkey.register(); // /summon abyssalcraft:shadowbeast ~ ~10 ~-5 {HandItems:[{Count:1,id:"contenttweaker:flood_stone"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:30000.0},{Name:generic.attackDamage, Base: 20000.0}],Health:30000f} var callofthejudge = VanillaFactory.createItem("call_of_the_arbiter"); callofthejudge.maxStackSize = 1; callofthejudge.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } player.sendChat("This will replace End Stone within a 5 block radius with Stones of the Fallen Tower"); player.sendChat("This will replace Demon Stone within a 5 block radius with Scales of the Ancient Heart"); Commands.call("fill ~-5 ~-5 ~-5 ~5 ~5 ~5 contenttweaker:stone_of_the_fallen_tower 0 replace minecraft:end_stone", player, world, false, true); Commands.call("fill ~-5 ~-5 ~-5 ~5 ~5 ~5 contenttweaker:scale_of_the_ancient_heart 0 replace contenttweaker:demon_stone", player, world, false, true); return "PASS"; }; callofthejudge.register(); var aesirrift = VanillaFactory.createItem("aesir_rift"); aesirrift.maxStackSize = 1; aesirrift.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing on beacon var posChange = player.position.asPosition3f(); posChange.y = pos.y - 1; var blockPosBelowPlayer = posChange.asBlockPos(); var blockBelow = world.getBlockState(blockPosBelowPlayer); print(blockBelow.commandString); var check_pos as crafttweaker.util.Position3f; check_pos = crafttweaker.util.Position3f.create(pos.x, pos.y, pos.z); player.sendChat("This will place down an unbreakable structure, place away from your other stuff"); if(world.getBiome(check_pos).name != "Space") { player.sendChat("You have to be in a space station to assemble this multiblock"); } if(blockBelow != ) { player.sendChat("Stand on a purpur block to mark where you want to place the multiblock"); player.sendChat("The Structure will form around you, in a 5x3x5 size"); return "FAIL"; } Commands.call("fill ~-2 ~0 ~-2 ~-2 ~0 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~2 ~0 ~-2 ~2 ~0 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~-2 ~0 ~-2 ~2 ~0 ~-2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~-2 ~0 ~2 ~2 ~0 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~-2 ~2 ~-2 ~-2 ~2 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~2 ~2 ~-2 ~2 ~2 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~-2 ~2 ~-2 ~2 ~2 ~-2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~-2 ~2 ~2 ~2 ~2 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~-2 ~0 ~-2 ~-2 ~2 ~-2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~2 ~0 ~-2 ~2 ~2 ~-2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~-2 ~0 ~2 ~-2 ~2 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); Commands.call("fill ~2 ~0 ~2 ~2 ~2 ~2 contenttweaker:asgard_furnace_brick 0", player, world, false, true); stack.shrink(1); return "PASS"; }; aesirrift.register(); var mossygravedust = VanillaFactory.createItem("mossy_grave_dust"); mossygravedust.maxStackSize = 1; mossygravedust.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 0) { player.sendChat("You gotta be in the overworld"); return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon mod_lavacow:sludgelord ~ ~1 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f]}", player, world, false, true); player.sendChat("Kill it!"); stack.shrink(1); return "PASS"; }; mossygravedust.register(); var unusuallyheavybone = VanillaFactory.createItem("unusually_heavy_bone"); unusuallyheavybone.maxStackSize = 1; unusuallyheavybone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 0) { player.sendChat("You gotta be in the overworld"); return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~1 ~ {HandItems:[{Count:1,id:\"contenttweaker:hard_bone\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:10.0}],Health:1000f}", player, world, false, true); player.sendChat("Kill it!"); stack.shrink(1); return "PASS"; }; unusuallyheavybone.register(); var summoningcomputer = VanillaFactory.createItem("summoning_computer"); summoningcomputer.maxStackSize = 1; summoningcomputer.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 166) { player.sendChat("You gotta be in the proxima belt"); return "FAIL"; } Commands.call("summon aoa3:polytom ~ ~1 ~ {HandItems:[{Count:1,id:\"contenttweaker:fluix_microcontroller\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:3000.0},{Name:generic.attackDamage, Base:300.0}],Health:3000f}", player, world, false, true); player.sendChat("Kill it!"); stack.shrink(1); return "PASS"; }; summoningcomputer.register(); // summon aoa3:polytom ~ ~1 ~ {HandItems:[{Count:1,id:"contenttweaker:fluix_microcontroller"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:3000.0},{Name:generic.attackDamage, Base:300.0}],Health:3000f} // summon aoa3:polytom ~ ~1 ~ {HandItems:[{Count:1,id:"contenttweaker:fluix_microcontroller"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:3000.0},{Name:generic.attackDamage, Base:300.0}],Health:3000f,CustomName:"Skeleton Lord"} var skeletalcallstone = VanillaFactory.createItem("skeletal_callstone"); skeletalcallstone.maxStackSize = 1; skeletalcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // check if player is in spatial storage if(player.getDimension() != 0) { player.sendChat("You gotta be in the overworld"); return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("pillar-spawn spring_bee_dungeon", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"iceandfire:dread_key\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:100f}", player, world, false, true); stack.shrink(1); return "PASS"; }; skeletalcallstone.register(); var fluixcallstone = VanillaFactory.createItem("fluix_callstone"); fluixcallstone.maxStackSize = 1; fluixcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("pillar-spawn arbiter_structure_end", player, world, false, true); stack.shrink(1); return "PASS"; }; fluixcallstone.register(); var terrestrialanimator0 = VanillaFactory.createItem("terrestrial_animator_0"); terrestrialanimator0.maxStackSize = 1; terrestrialanimator0.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 0); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator0.register(); var terrestrialanimator1 = VanillaFactory.createItem("terrestrial_animator_1"); terrestrialanimator1.maxStackSize = 1; terrestrialanimator1.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 1); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator1.register(); var terrestrialanimator2 = VanillaFactory.createItem("terrestrial_animator_2"); terrestrialanimator2.maxStackSize = 1; terrestrialanimator2.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 2); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator2.register(); var terrestrialanimator3 = VanillaFactory.createItem("terrestrial_animator_3"); terrestrialanimator3.maxStackSize = 1; terrestrialanimator3.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 3); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator3.register(); var terrestrialanimator4 = VanillaFactory.createItem("terrestrial_animator_4"); terrestrialanimator4.maxStackSize = 1; terrestrialanimator4.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 4); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator4.register(); var terrestrialanimator5 = VanillaFactory.createItem("terrestrial_animator_5"); terrestrialanimator5.maxStackSize = 1; terrestrialanimator5.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 5); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator5.register(); var terrestrialanimator6 = VanillaFactory.createItem("terrestrial_animator_6"); terrestrialanimator6.maxStackSize = 1; terrestrialanimator6.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 6); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator6.register(); var terrestrialanimator7 = VanillaFactory.createItem("terrestrial_animator_7"); terrestrialanimator7.maxStackSize = 1; terrestrialanimator7.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } val entity = .createEntity(world); entity.position = Position3f.create(player.x, player.y + 5, player.z); (entity.native as EntityAnimatedBlock).setBlock(.asBlock(), 7); world.spawnEntity(entity); return "PASS"; }; terrestrialanimator7.register(); var vibratingmithminiteschythe = VanillaFactory.createItem("vibrating_mithminite_schythe"); vibratingmithminiteschythe.maxStackSize = 1; vibratingmithminiteschythe.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 183) { player.sendChat("You gotta be in vibe"); return "FAIL"; } player.sendChat("Use on tainted soil"); Commands.call("fill ~2 ~2 ~2 ~-2 ~-2 ~-2 contenttweaker:ichor 0 replace thaumcraft:taint_soil", player, world, false, true); return "PASS"; }; vibratingmithminiteschythe.register(); var taintedcallstone = VanillaFactory.createItem("tainted_callstone"); taintedcallstone.maxStackSize = 1; taintedcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 183) { player.sendChat("You gotta be in vibe"); return "FAIL"; } Commands.call("pillar-spawn taint_callstone_dungeon", player, world, false, true); stack.shrink(1); return "PASS"; }; taintedcallstone.register(); var radiatingcallstone = VanillaFactory.createItem("radiating_callstone"); radiatingcallstone.maxStackSize = 1; radiatingcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } Commands.call("pillar-spawn uranium_bee_callstone", player, world, false, true); Commands.call("summon aoa3:nightfly ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:blue_matter\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:500f}", player, world, false, true); Commands.call("summon aoa3:nightfly ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:blue_matter\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:500f}", player, world, false, true); Commands.call("summon aoa3:nightfly ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:blue_matter\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:500f}", player, world, false, true); Commands.call("summon aoa3:nightfly ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:blue_matter\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:30.0}],Health:500f}", player, world, false, true); stack.shrink(1); return "PASS"; }; radiatingcallstone.register(); var demonologistcallstone = VanillaFactory.createItem("demonologist_callstone"); demonologistcallstone.maxStackSize = 1; demonologistcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 146) { player.sendChat("You gotta be in Haumea"); return "FAIL"; } Commands.call("pillar-spawn haumea_structure_callstone", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon aoa3:night_reaper ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon aoa3:night_reaper ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon aoa3:night_reaper ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon aoa3:night_reaper ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon aoa3:deinotherium ~ ~3 ~ {HandItems:[{Count:1,id:\"contenttweaker:baku_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:3000.0},{Name:generic.attackDamage, Base:300.0}],Health:3000f,CustomName:\"Baku\"}", player, world, false, true); // Commands.call("give @p contenttweaker:haumea_spinel", player, world, false, true); stack.shrink(1); return "PASS"; }; demonologistcallstone.register(); var armorercallstone = VanillaFactory.createItem("armorer_callstone"); armorercallstone.maxStackSize = 1; armorercallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 148) { player.sendChat("You gotta be in Osiris"); return "FAIL"; } Commands.call("pillar-spawn osiris_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:osiris_spinel", player, world, false, true); stack.shrink(1); return "PASS"; }; armorercallstone.register(); var undeadcallstone = VanillaFactory.createItem("undead_callstone"); undeadcallstone.maxStackSize = 1; undeadcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 53) { player.sendChat("You gotta be in The Dark Realm"); return "FAIL"; } Commands.call("pillar-spawn hard_mode_callstone", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:100.0}],Health:100f}", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:100.0}],Health:100f}", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:100.0}],Health:100f}", player, world, false, true); Commands.call("summon abyssalcraft:demoncow ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:100.0}],Health:100f}", player, world, false, true); Commands.call("summon mod_lavacow:parasite ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100.0},{Name:generic.attackDamage, Base:1.0}],Health:100f}", player, world, false, true); Commands.call("summon mod_lavacow:ithaqua ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon mod_lavacow:ithaqua ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon mod_lavacow:sludgelord ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon mod_lavacow:sludgelord ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon mod_lavacow:unburied ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); Commands.call("summon mod_lavacow:unburied ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:sentient_meatball\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, false, true); stack.shrink(1); return "PASS"; }; undeadcallstone.register(); var betweenlandscallstone0 = VanillaFactory.createItem("betweenlands_callstone_0"); betweenlandscallstone0.maxStackSize = 1; betweenlandscallstone0.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_ores", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone0.register(); var betweenlandscallstone1 = VanillaFactory.createItem("betweenlands_callstone_1"); betweenlandscallstone1.maxStackSize = 1; betweenlandscallstone1.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_spirit_tree", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone1.register(); var betweenlandscallstone2 = VanillaFactory.createItem("betweenlands_callstone_2"); betweenlandscallstone2.maxStackSize = 1; betweenlandscallstone2.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_chiromaw", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone2.register(); var betweenlandscallstone3 = VanillaFactory.createItem("betweenlands_callstone_3"); betweenlandscallstone3.maxStackSize = 1; betweenlandscallstone3.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_potions", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone3.register(); var betweenlandscallstone4 = VanillaFactory.createItem("betweenlands_callstone_4"); betweenlandscallstone4.maxStackSize = 1; betweenlandscallstone4.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_tar", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone4.register(); var betweenlandscallstone5 = VanillaFactory.createItem("betweenlands_callstone_5"); betweenlandscallstone5.maxStackSize = 1; betweenlandscallstone5.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_5", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone5.register(); var betweenlandscallstone6 = VanillaFactory.createItem("betweenlands_callstone_6"); betweenlandscallstone6.maxStackSize = 1; betweenlandscallstone6.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_6", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone6.register(); var betweenlandscallstone7 = VanillaFactory.createItem("betweenlands_callstone_7"); betweenlandscallstone7.maxStackSize = 1; betweenlandscallstone7.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_sludge", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone7.register(); var betweenlandscallstone8= VanillaFactory.createItem("betweenlands_callstone_8"); betweenlandscallstone8.maxStackSize = 1; betweenlandscallstone8.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in overworld"); return "FAIL"; } Commands.call("pillar-spawn betweenlands_callstone_final", player, world, false, true); stack.shrink(1); return "PASS"; }; betweenlandscallstone8.register(); var constructorsummoner = VanillaFactory.createItem("constructor_summoner"); constructorsummoner.maxStackSize = 1; constructorsummoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 426) { player.sendChat("You gotta be in Arcana"); return "FAIL"; } Commands.call("summon divinerpg:dungeon_constructor ~ ~1 ~ {HandItems:[{Count:1,id:\"divinerpg:soul_key\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:500.0},{Name:generic.attackDamage, Base:30.0}],Health:500f}", player, world, false, true); Commands.call("summon divinerpg:dungeon_constructor ~ ~1 ~ {HandItems:[{Count:1,id:\"divinerpg:sludge_key\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:500.0},{Name:generic.attackDamage, Base:30.0}],Health:500f}", player, world, false, true); Commands.call("summon divinerpg:dungeon_constructor ~ ~1 ~ {HandItems:[{Count:1,id:\"divinerpg:ancient_key\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:500.0},{Name:generic.attackDamage, Base:30.0}],Health:500f}", player, world, false, true); stack.shrink(1); return "PASS"; }; constructorsummoner.register(); var wargeneralsummoner = VanillaFactory.createItem("wargeneral_summoner"); wargeneralsummoner.maxStackSize = 1; wargeneralsummoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 426) { player.sendChat("You gotta be in Arcana"); return "FAIL"; } Commands.call("summon divinerpg:war_general ~ ~1 ~ ", player, world, false, true); stack.shrink(1); return "PASS"; }; wargeneralsummoner.register(); var lordsummoner = VanillaFactory.createItem("lord_summoner"); lordsummoner.maxStackSize = 1; lordsummoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 426) { player.sendChat("You gotta be in Arcana"); return "FAIL"; } Commands.call("summon divinerpg:lord_vatticus ~ ~1 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; lordsummoner.register(); var strangecharm = VanillaFactory.createItem("strange_charm"); strangecharm.maxStackSize = 1; strangecharm.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("summon abyssalcraft:depthsghoul ~ ~1 ~", player, world, false, true); Commands.call("summon abyssalcraft:depthsghoul ~ ~1 ~", player, world, false, true); Commands.call("summon abyssalcraft:depthsghoul ~ ~1 ~", player, world, false, true); Commands.call("summon abyssalcraft:depthsghoul ~ ~1 ~", player, world, false, true); Commands.call("summon abyssalcraft:depthsghoul ~ ~1 ~", player, world, false, true); Commands.call("summon abyssalcraft:depthsghoul ~ ~1 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; strangecharm.register(); var ptah_callstone= VanillaFactory.createItem("pharos_callstone"); ptah_callstone.maxStackSize = 1; ptah_callstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 149) { player.sendChat("You gotta be in ptah"); return "FAIL"; } Commands.call("pillar-spawn ptah_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:ptah_spinel", player, world, false, true); stack.shrink(1); return "PASS"; }; ptah_callstone.register(); var trinitycallstone= VanillaFactory.createItem("trinity_callstone"); trinitycallstone.maxStackSize = 1; trinitycallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 150) { player.sendChat("You gotta be in hator"); return "FAIL"; } Commands.call("pillar-spawn hator_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:hator_spinel", player, world, false, true); stack.shrink(1); return "PASS"; }; trinitycallstone.register(); var peacefuloathcallstone= VanillaFactory.createItem("peaceful_oath_callstone"); peacefuloathcallstone.maxStackSize = 1; peacefuloathcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 151) { player.sendChat("You gotta be in europa"); return "FAIL"; } Commands.call("pillar-spawn europa_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:europa_spinel", player, world, false, true); stack.shrink(1); return "PASS"; }; peacefuloathcallstone.register(); var gundevilcallstone= VanillaFactory.createItem("gun_devil_callstone"); gundevilcallstone.maxStackSize = 1; gundevilcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 160) { player.sendChat("You gotta be in falacer"); return "FAIL"; } Commands.call("pillar-spawn falacer_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:falacer_spinel", player, world, false, true); stack.shrink(1); return "PASS"; }; gundevilcallstone.register(); var unburiedcallstone= VanillaFactory.createItem("unburied_callstone"); unburiedcallstone.maxStackSize = 1; unburiedcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 152) { player.sendChat("You gotta be in oi"); return "FAIL"; } Commands.call("pillar-spawn oi_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:oi_spinel", player, world, false, true); Commands.call("summon iceandfire:dread_knight ~ ~8 ~ {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"techreborn:nuke\"}],HandDropChances:[1.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:8000.0},{Name:generic.attackDamage, Base:100.0}],Health:8000f,CustomName:\"Glimpse of the Meatball Man\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; unburiedcallstone.register(); var anemiccallstone= VanillaFactory.createItem("anemic_callstone"); anemiccallstone.maxStackSize = 1; anemiccallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != -11325) { player.sendChat("You gotta be in the deep dark"); return "FAIL"; } Commands.call("pillar-spawn orcus_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:orcus_spinel", player, world, false, true); Commands.call("summon thebetweenlands:blood_snail ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:eldrich_blood_slime\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:6000.0},{Name:generic.attackDamage, Base:100.0}],Health:6000f,CustomName:\"Gashuhn the Blood God\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; anemiccallstone.register(); var orbitalcallstone= VanillaFactory.createItem("orbital_callstone"); orbitalcallstone.maxStackSize = 1; orbitalcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } Commands.call("pillar-spawn sedna_structure_callstone", player, world, false, true); // Commands.call("give @p contenttweaker:sedna_spinel", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; orbitalcallstone.register(); var bubbellalliancecallstone= VanillaFactory.createItem("energy_chicken_callstone"); bubbellalliancecallstone.maxStackSize = 1; bubbellalliancecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 147) { player.sendChat("You gotta be in sedna"); return "FAIL"; } Commands.call("pillar-spawn midgame_puzzle_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; bubbellalliancecallstone.register(); var biomeritualcallstone= VanillaFactory.createItem("biome_ritual_callstone"); biomeritualcallstone.maxStackSize = 1; biomeritualcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 149) { player.sendChat("You gotta be in ptah"); return "FAIL"; } Commands.call("pillar-spawn biome_puzzle_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; biomeritualcallstone.register(); var hiddenpowercallstone= VanillaFactory.createItem("hidden_power_callstone"); hiddenpowercallstone.maxStackSize = 1; hiddenpowercallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 166) { player.sendChat("You gotta be in proxima"); return "FAIL"; } Commands.call("pillar-spawn creative_tank_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; hiddenpowercallstone.register(); var harbingercharm = VanillaFactory.createItem("harbinger_charm"); harbingercharm.maxStackSize = 1; harbingercharm.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); Commands.call("summon twilightforest:harbinger_cube ~ ~1 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; harbingercharm.register(); var thornycallstone= VanillaFactory.createItem("thorny_callstone"); thornycallstone.maxStackSize = 1; thornycallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 818) { player.sendChat("You gotta be in precasia"); return "FAIL"; } Commands.call("pillar-spawn bone_sword_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; thornycallstone.register(); var umberstonecallstone= VanillaFactory.createItem("umberstone_callstone"); umberstonecallstone.maxStackSize = 1; umberstonecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 66) { player.sendChat("You gotta be in Erebus"); return "FAIL"; } Commands.call("pillar-spawn erebus_roof_structure", player, world, false, true); stack.shrink(1); return "PASS"; }; umberstonecallstone.register(); var cleansingcallstone= VanillaFactory.createItem("cleansing_callstone"); cleansingcallstone.maxStackSize = 1; cleansingcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 50) { player.sendChat("You gotta be in the Abyssal Wastelands"); return "FAIL"; } Commands.call("pillar-spawn sanitizing_bee_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; cleansingcallstone.register(); var furnacecallstone= VanillaFactory.createItem("furnace_callstone"); furnacecallstone.maxStackSize = 1; furnacecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 623) { player.sendChat("You gotta be in the furnace dimension"); return "FAIL"; } Commands.call("pillar-spawn furnacedim_callstone_justfurnace", player, world, false, true); stack.shrink(1); return "PASS"; }; furnacecallstone.register(); var grandmagiciancallstone= VanillaFactory.createItem("grand_magician_callstone"); grandmagiciancallstone.maxStackSize = 1; grandmagiciancallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the overworld"); return "FAIL"; } Commands.call("pillar-spawn hardmode_grandcrystal", player, world, false, true); stack.shrink(1); return "PASS"; }; grandmagiciancallstone.register(); var rulersofterracallstone= VanillaFactory.createItem("rulers_of_terra_callstone"); rulersofterracallstone.maxStackSize = 1; rulersofterracallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 182) { player.sendChat("You gotta be in furatto"); return "FAIL"; } Commands.call("pillar-spawn hardmode_allthewands", player, world, false, true); stack.shrink(1); return "PASS"; }; rulersofterracallstone.register(); var nerocallstone= VanillaFactory.createItem("nero_callstone"); nerocallstone.maxStackSize = 1; nerocallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 170) { player.sendChat("You gotta be in nero"); return "FAIL"; } Commands.call("pillar-spawn water_fractal_boss_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; nerocallstone.register(); var deepknowledgecallstone= VanillaFactory.createItem("deep_knowledge_callstone"); deepknowledgecallstone.maxStackSize = 1; deepknowledgecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 809) { player.sendChat("You gotta be in gardencia"); return "FAIL"; } Commands.call("pillar-spawn gardencia_structure_callstonebee", player, world, false, true); stack.shrink(1); return "PASS"; }; deepknowledgecallstone.register(); var butterflyrepellent= VanillaFactory.createItem("butterfly_repellent"); butterflyrepellent.maxStackSize = 1; butterflyrepellent.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("cofh killall butterfly", player, world, false, true); Commands.call("cofh killall moth", player, world, false, true); return "PASS"; }; butterflyrepellent.register(); var greenlightcallstone= VanillaFactory.createItem("greenlight_callstone"); greenlightcallstone.maxStackSize = 1; greenlightcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 623) { player.sendChat("You gotta be in the furnace dimension"); return "FAIL"; } Commands.call("pillar-spawn furnacedim_callstone_greenlight", player, world, false, true); stack.shrink(1); return "PASS"; }; greenlightcallstone.register(); var callfullmoon= VanillaFactory.createItem("call_of_the_full_moon"); callfullmoon.maxStackSize = 16; callfullmoon.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon aoa3:dark_beast ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:dark_beast ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:dark_beast ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:irkling ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:irkling ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:irkling ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:night_watcher ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:night_watcher ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:night_watcher ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:scrubby ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:scrubby ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:scrubby ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:skellox ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:skellox ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:skellox ~ ~3 ~", player, world, false, true); player.sendChat("In the frozen land, new answers may be found!"); if(player.getDimension() == 425) { Commands.call("/summon iceandfire:lightningdragon ~ ~ ~ {AgeTicks:2040000, Attributes:[{Name:generic.maxHealth, Base:10000.0},{Name:generic.attackDamage, Base:100.0}],Health:10000f}", player, world, false, true); } stack.shrink(1); return "PASS"; }; callfullmoon.register(); var callbloodhunt= VanillaFactory.createItem("call_of_the_bloodhunt"); callbloodhunt.maxStackSize = 16; callbloodhunt.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon aoa3:anemia ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:anemia ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:anemia ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodmist ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodmist ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodmist ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:linger ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:linger ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:linger ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodsucker ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodsucker ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodsucker ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodsucker ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodsucker ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:bloodsucker ~ ~3 ~", player, world, false, true); player.sendChat("In deepest dark, new answers may be found!"); if(player.getDimension() == -11325) { Commands.call("/summon aoa3:nethengeic_beast ~ ~ ~", player, world, false, true); } stack.shrink(1); return "PASS"; }; callbloodhunt.register(); var marksoulscurry= VanillaFactory.createItem("mark_of_the_soul_scurry"); marksoulscurry.maxStackSize = 16; marksoulscurry.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon aoa3:ghostly_goblin ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_goblin ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_cyclops ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_cyclops ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_sasquatch ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_sasquatch ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_night_reaper ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_night_reaper ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_charger ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ghostly_charger ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; marksoulscurry.register(); var signalbeacon= VanillaFactory.createItem("signal_beacon"); signalbeacon.maxStackSize = 16; signalbeacon.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:modulo ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; signalbeacon.register(); var calldeathgames= VanillaFactory.createItem("call_of_the_death_games"); calldeathgames.maxStackSize = 16; calldeathgames.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set day", player, world, false, true); Commands.call("summon aoa3:death_hunter ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:death_hunter ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:death_hunter ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:reaper_twins ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:reaper_twins ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:reaper_twins ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:headless_destroyer ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:headless_destroyer ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:headless_destroyer ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:triclops ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:triclops ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:triclops ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; calldeathgames.register(); var creepyexplosive= VanillaFactory.createItem("creepy_explosive"); creepyexplosive.maxStackSize = 16; creepyexplosive.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set day", player, world, false, true); Commands.call("summon aoa3:host ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:host ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:host ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:host ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:host ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:host ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; creepyexplosive.register(); var embiggener= VanillaFactory.createItem("embiggener"); embiggener.maxStackSize = 16; embiggener.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // ommands.call("time set day", player, world, false, true); Commands.call("summon aoa3:sand_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:sand_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:sand_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:stone_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:stone_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:stone_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ice_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ice_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:ice_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:wood_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:wood_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:wood_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:leafy_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:leafy_giant ~ ~3 ~", player, world, false, true); Commands.call("summon aoa3:leafy_giant ~ ~3 ~", player, world, false, true); player.sendChat("Where islands fly, new answers may be found!"); if(player.getDimension() == 4) { Commands.call("/summon aoa3:king_charger ~ ~ ~", player, world, false, true); } stack.shrink(1); return "PASS"; }; embiggener.register(); var wroughtcallstone= VanillaFactory.createItem("wrought_summoner"); wroughtcallstone.maxStackSize = 1; wroughtcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 807) { player.sendChat("You gotta be in the deeplands"); return "FAIL"; } Commands.call("summon mowziesmobs:ferrous_wroughtnaut ~ ~3 ~ {Attributes:[{Name:generic.maxHealth, Base:200.0},{Name:generic.attackDamage, Base:100.0}],Health:200f}", player, world, false, true); stack.shrink(1); return "PASS"; }; wroughtcallstone.register(); var callofenigma= VanillaFactory.createItem("call_of_enigma"); callofenigma.maxStackSize = 16; callofenigma.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon mod_lavacow:ptera ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:ptera ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:ptera ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:ptera ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:ptera ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:mimicrab ~ ~ ~", player, world, false, true); Commands.call("summon mod_lavacow:mimicrab ~ ~ ~", player, world, false, true); Commands.call("summon mod_lavacow:ghostray ~ ~ ~", player, world, false, true); Commands.call("summon mod_lavacow:ghostray ~ ~ ~", player, world, false, true); stack.shrink(1); return "PASS"; }; callofenigma.register(); var witcherysummons= VanillaFactory.createItem("witchery_summons"); witcherysummons.maxStackSize = 16; witcherysummons.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon bewitchment:toad ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:toad ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:toad ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:lizard ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:lizard ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:lizard ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:snake ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:snake ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:snake ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:ghost ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:ghost ~ ~ ~", player, world, false, true); Commands.call("summon bewitchment:ghost ~ ~ ~", player, world, false, true); stack.shrink(1); return "PASS"; }; witcherysummons.register(); var funnypumpkin= VanillaFactory.createItem("funny_pumpkin"); funnypumpkin.maxStackSize = 16; funnypumpkin.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("summon divinerpg:jack_o_man ~ ~ ~", player, world, false, true); stack.shrink(1); return "PASS"; }; funnypumpkin.register(); var wormholefragment= VanillaFactory.createItem("wormhole_fragment"); wormholefragment.maxStackSize = 16; wormholefragment.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("summon aoa3:realmshifter ~ ~ ~", player, world, false, true); stack.shrink(1); return "PASS"; }; wormholefragment.register(); var akathartoscallstone= VanillaFactory.createItem("akathartos_callstone"); akathartoscallstone.maxStackSize = 1; akathartoscallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 172) { player.sendChat("You gotta be in akathartos"); return "FAIL"; } Commands.call("pillar-spawn akathartos_structure_crimsonemperor", player, world, false, true); stack.shrink(1); return "PASS"; }; akathartoscallstone.register(); var anomalydetectorstage1 = VanillaFactory.createItem("anomaly_detector_stage_1"); anomalydetectorstage1.maxStackSize = 1; anomalydetectorstage1.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } player.sendChat("Stand on top of the right structure, the Haven will guide you"); player.sendChat("Scanning blocks from the top going down"); // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing on top block var pos1 = player.position.asPosition3f(); pos1.y = pos1.y - 1; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlockState(blockPos1); if(blockState1 != ) { player.sendChat("Top block is wrong"); return "FAIL"; } player.sendChat("Top block is correct - emerald block"); // check if player is standing on first totem block var pos2 = player.position.asPosition3f(); pos2.y = pos2.y - 2; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlockState(blockPos2); if(blockState2 != ) { player.sendChat("Totem block 1 is wrong"); return "FAIL"; } player.sendChat("Totem block 1 is correct - obsidian"); // check if player is standing on second totem block var pos3 = player.position.asPosition3f(); pos3.y = pos3.y - 3; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlockState(blockPos3); if(blockState3 != ) { player.sendChat("Totem block 2 is wrong"); return "FAIL"; } player.sendChat("Totem block 2 is correct - obsidian"); // check if player is standing on third totem block var pos4 = player.position.asPosition3f(); pos4.y = pos4.y - 4; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlockState(blockPos4); if(blockState4 != ) { player.sendChat("Totem block 3 is wrong"); return "FAIL"; } player.sendChat("Totem block 3 is correct - obsidian"); // check if player is standing on fourth totem block var pos5 = player.position.asPosition3f(); pos5.y = pos5.y - 5; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlockState(blockPos5); if(blockState5 != ) { player.sendChat("Totem block 4 is wrong"); return "FAIL"; } player.sendChat("Totem block 4 is correct - obsidian"); // check if player is standing on first base block var posA = player.position.asPosition3f(); posA.y = posA.y - 5; posA.x = posA.x - 1; var blockPosA = posA.asBlockPos(); var blockStateA = world.getBlockState(blockPosA); if(blockStateA != ) { player.sendChat("Base block 1 is wrong"); return "FAIL"; } player.sendChat("Base block 1 is correct - iron block"); // check if player is standing on second base block var posB = player.position.asPosition3f(); posB.y = posB.y - 5; posB.x = posB.x + 1; var blockPosB = posB.asBlockPos(); var blockStateB = world.getBlockState(blockPosB); if(blockStateB != ) { player.sendChat("Base block 2 is wrong"); return "FAIL"; } player.sendChat("Base block 2 is correct - iron block"); // check if player is standing on second base block var posC = player.position.asPosition3f(); posC.y = posC.y - 5; posC.z = posC.z - 1; var blockPosC = posC.asBlockPos(); var blockStateC = world.getBlockState(blockPosC); if(blockStateC != ) { player.sendChat("Base block 3 is wrong"); return "FAIL"; } player.sendChat("Base block 3 is correct - iron block"); // check if player is standing on second base block var posD = player.position.asPosition3f(); posD.y = posD.y - 5; posD.z = posD.z + 1; var blockPosD = posD.asBlockPos(); var blockStateD = world.getBlockState(blockPosD); if(blockStateD != ) { player.sendChat("Base block 4 is wrong"); return "FAIL"; } player.sendChat("Base block 4 is correct - iron block"); Commands.call("give @p contenttweaker:anomaly_detector_stage_2", player, world, false, true); stack.shrink(1); return "PASS"; }; anomalydetectorstage1.register(); var anomalydetectorstage2 = VanillaFactory.createItem("anomaly_detector_stage_2"); anomalydetectorstage2.maxStackSize = 1; anomalydetectorstage2.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing on beacon var posChange = player.position.asPosition3f(); posChange.y = pos.y; var check_pos as crafttweaker.util.Position3f; check_pos = crafttweaker.util.Position3f.create(pos.x, pos.y, pos.z); if(world.getBiome(check_pos).name != "White Void") { player.sendChat("You have to be in your pocket dimension from dimensional doors"); player.sendChat("Use a quartz dimensional door"); return "FAIL"; } if(posChange.y < 140) { player.sendChat("You will have to go a bit higher"); return "FAIL"; } Commands.call("give @p contenttweaker:anomaly_detector_stage_3", player, world, false, true); stack.shrink(1); return "PASS"; }; anomalydetectorstage2.register(); var anomalydetectorstage3= VanillaFactory.createItem("anomaly_detector_stage_3"); anomalydetectorstage3.maxStackSize = 1; anomalydetectorstage3.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 421) { player.sendChat("You gotta be in wildwood"); return "FAIL"; } Commands.call("pillar-spawn wildwood_structure_betrayer", player, world, false, true); stack.shrink(1); return "PASS"; }; anomalydetectorstage3.register(); var apothecaryprisonkey= VanillaFactory.createItem("apothecary_prison_key"); apothecaryprisonkey.maxStackSize = 1; apothecaryprisonkey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 813) { player.sendChat("You gotta be in Iromine"); return "FAIL"; } Commands.call("pillar-spawn iromine_structure_bee", player, world, false, true); stack.shrink(1); return "PASS"; }; apothecaryprisonkey.register(); var voraceouswormcallstone= VanillaFactory.createItem("voraceous_worm_callstone"); voraceouswormcallstone.maxStackSize = 1; voraceouswormcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 152) { player.sendChat("You gotta be in Oi"); return "FAIL"; } Commands.call("pillar-spawn oi_structure_bigwormboss", player, world, false, true); stack.shrink(1); return "PASS"; }; voraceouswormcallstone.register(); var dreadqueendomcallstone= VanillaFactory.createItem("dreadful_prison_key"); dreadqueendomcallstone.maxStackSize = 1; dreadqueendomcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 425) { player.sendChat("You gotta be in Iceika"); return "FAIL"; } player.sendChat("Let this be your final warning"); Commands.call("pillar-spawn iceika_structure_dreadqueenboss", player, world, false, true); stack.shrink(1); return "PASS"; }; dreadqueendomcallstone.register(); var blockstatechecker = VanillaFactory.createItem("blockstatechecker"); blockstatechecker.maxStackSize = 1; blockstatechecker.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing on top block var pos1 = player.position.asPosition3f(); pos1.y = pos1.y - 1; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlockState(blockPos1); print(blockState1.commandString); return "PASS"; }; blockstatechecker.register(); var blocknamechecker = VanillaFactory.createItem("blocknamechecker"); blocknamechecker.maxStackSize = 1; blocknamechecker.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } var pos1 = player.position.asPosition3f(); pos1.y = pos1.y - 1; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlockState(blockPos1); var blockName1 = world.getBlock(blockPos1).definition.displayName as string; player.sendChat(blockName1); return "PASS"; }; blocknamechecker.register(); var wyvenmonumentfabrial = VanillaFactory.createItem("wyvern_monument_activation_fabrial"); wyvenmonumentfabrial.maxStackSize = 1; wyvenmonumentfabrial.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } player.sendChat("Stand on top of the marble structure found in LyndenWyrm"); player.sendChat("The Celestial Collector Crystals on the columns are missing, Lyndenwyrm will help you how to place them"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing in middle of monument var posA = player.position.asPosition3f(); posA.y = posA.y - 1; posA.x = posA.x - 0; var blockPosA = posA.asBlockPos(); var blockStateA = world.getBlockState(blockPosA); if(blockStateA != ) { player.sendChat("You are not standing on the Obsidian Block in the middle of the monument"); return "FAIL"; } var posB = player.position.asPosition3f(); posB.y = posB.y - 1; posB.x = posB.x - 1; var blockPosB = posB.asBlockPos(); var blockStateB = world.getBlockState(blockPosB); if(blockStateB != ) { player.sendChat("You are not standing on the Obsidian Block in the middle of the monument"); return "FAIL"; } var posC = player.position.asPosition3f(); posC.y = posC.y - 1; posC.x = posC.x + 1; var blockPosC = posC.asBlockPos(); var blockStateC = world.getBlockState(blockPosC); if(blockStateC != ) { player.sendChat("You are not standing on the Obsidian Block in the middle of the monument"); return "FAIL"; } var posD = player.position.asPosition3f(); posD.y = posD.y - 1; posD.z = posD.z + 1; var blockPosD = posD.asBlockPos(); var blockStateD = world.getBlockState(blockPosD); if(blockStateD != ) { player.sendChat("You are not standing on the Obsidian Block in the middle of the monument"); return "FAIL"; } var posE = player.position.asPosition3f(); posE.y = posE.y - 1; posE.z = posE.z - 1; var blockPosE = posE.asBlockPos(); var blockStateE = world.getBlockState(blockPosE); if(blockStateE != ) { player.sendChat("You are not standing on the Obsidian Block in the middle of the monument"); return "FAIL"; } player.sendChat("You are standing on the Obsidian Block in the middle of the monument"); player.sendChat("Now add the right Celestial Collector Crystals on top of the pillars"); player.sendChat("Checking Crystals"); player.sendChat("Nothing will show up if there are no Collector Crystals placed"); player.sendChat("=================================================="); // check crystals var pos1 = player.position.asPosition3f(); pos1.z = pos1.z - 3; pos1.y = pos1.y + 3; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlockState(blockPos1); var blockData1 = world.getBlock(blockPos1).data as IData; var starName1 = blockData1.memberGet("constellationName") as string; player.sendChat("North Constellation: " ~ starName1); if(starName1 != "astralsorcery.constellation.octans") { player.sendChat("North crystal is wrong"); return "FAIL"; } player.sendChat("North crystal is correct, Octans"); var pos2 = player.position.asPosition3f(); pos2.z = pos2.z + 3; pos2.y = pos2.y + 3; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlockState(blockPos2); var blockData2 = world.getBlock(blockPos2).data as IData; var starName2 = blockData2.memberGet("constellationName") as string; player.sendChat("South Constellation: " ~ starName2); if(starName2 != "astralsorcery.constellation.horologium") { player.sendChat("South crystal is wrong"); return "FAIL"; } player.sendChat("South crystal is correct, Horologium"); var pos3 = player.position.asPosition3f(); pos3.x = pos3.x + 3; pos3.y = pos3.y + 3; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlockState(blockPos3); var blockData3 = world.getBlock(blockPos3).data as IData; var starName3 = blockData3.memberGet("constellationName") as string; player.sendChat("East Constellation: " ~ starName3); if(starName3 != "astralsorcery.constellation.lucerna") { player.sendChat("East crystal is wrong"); return "FAIL"; } player.sendChat("East crystal is correct, Lucerna"); var pos4 = player.position.asPosition3f(); pos4.x = pos4.x - 3; pos4.y = pos4.y + 3; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlockState(blockPos4); var blockData4 = world.getBlock(blockPos4).data as IData; var starName4 = blockData4.memberGet("constellationName") as string; player.sendChat("West Constellation: " ~ starName4); if(starName4 != "astralsorcery.constellation.vicio") { player.sendChat("West crystal is wrong"); return "FAIL"; } player.sendChat("West crystal is correct, Vicio"); Commands.call("give @p contenttweaker:shard_of_a_fallen_spren", player, world, false, true); return "PASS"; }; wyvenmonumentfabrial.register(); var ancientwyverncallstone= VanillaFactory.createItem("ancient_wyvern_callstone"); ancientwyverncallstone.maxStackSize = 1; ancientwyverncallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 162) { player.sendChat("You gotta be in Lyndenwyrm"); return "FAIL"; } Commands.call("pillar-spawn lyndenwyrm_structure_ancientwyvern", player, world, false, true); stack.shrink(1); return "PASS"; }; ancientwyverncallstone.register(); var oblivioncandle = VanillaFactory.createItem("oblivion_candle"); oblivioncandle.maxStackSize = 1; oblivioncandle.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 814) { player.sendChat("You gotta be in L'Borean"); return "FAIL"; } player.sendChat("Stand in the candle circle in the depths of the ancient tower in L'Borean"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing in middle of monument var posA = player.position.asPosition3f(); posA.y = posA.y - 1; posA.x = posA.x - 0; var blockPosA = posA.asBlockPos(); var blockStateA = world.getBlockState(blockPosA); if(blockStateA != ) { player.sendChat("You are not standing on the Mossy Cobblestone in the middle of the monument"); return "FAIL"; } var posB = player.position.asPosition3f(); posB.y = posB.y - 1; posB.x = posB.x - 1; var blockPosB = posB.asBlockPos(); var blockStateB = world.getBlockState(blockPosB); if(blockStateB != ) { player.sendChat("You are not standing on the Mossy Cobblestone in the middle of the monument"); return "FAIL"; } var posC = player.position.asPosition3f(); posC.y = posC.y - 1; posC.x = posC.x + 1; var blockPosC = posC.asBlockPos(); var blockStateC = world.getBlockState(blockPosC); if(blockStateC != ) { player.sendChat("You are not standing on the Mossy Cobblestone in the middle of the monument"); return "FAIL"; } var posD = player.position.asPosition3f(); posD.y = posD.y - 1; posD.z = posD.z + 1; var blockPosD = posD.asBlockPos(); var blockStateD = world.getBlockState(blockPosD); if(blockStateD != ) { player.sendChat("You are not standing on the Mossy Cobblestone in the middle of the monument"); return "FAIL"; } var posE = player.position.asPosition3f(); posE.y = posE.y - 1; posE.z = posE.z - 1; var blockPosE = posE.asBlockPos(); var blockStateE = world.getBlockState(blockPosE); if(blockStateE != ) { player.sendChat("You are not standing on the Mossy Cobblestone in the middle of the monument"); return "FAIL"; } player.sendChat("You are standing on the Mossy Cobblestone in the middle of the monument"); player.sendChat("Checking Candles"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x + 3; pos1.z = pos1.z + 1; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x + 3; pos2.z = pos2.z - 1; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x - 3; pos3.z = pos3.z - 1; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x - 3; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x - 1; pos5.z = pos5.z + 3; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var pos6 = player.position.asPosition3f(); pos6.x = pos6.x + 1; pos6.z = pos6.z + 3; var blockPos6 = pos6.asBlockPos(); var blockState6 = world.getBlock(blockPos6).definition.displayName as string; if(blockState6 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var pos7 = player.position.asPosition3f(); pos7.x = pos7.x + 1; pos7.z = pos7.z - 3; var blockPos7 = pos7.asBlockPos(); var blockState7 = world.getBlock(blockPos7).definition.displayName as string; if(blockState7 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var pos8 = player.position.asPosition3f(); pos8.x = pos8.x - 1; pos8.z = pos8.z - 3; var blockPos8 = pos8.asBlockPos(); var blockState8 = world.getBlock(blockPos8).definition.displayName as string; if(blockState8 != "Magenta Tallow Candle") { player.sendChat("A Magenta Candle is incorrect or missing"); return "FAIL"; } var posW = player.position.asPosition3f(); posW.z = posW.z - 3; var blockPosW = posW.asBlockPos(); var blockStateW = world.getBlock(blockPosW).definition.displayName as string; if(blockStateW != "Orange Tallow Candle") { player.sendChat("An Orange Candle is incorrect or missing"); return "FAIL"; } var posX = player.position.asPosition3f(); posX.z = posX.z + 3; var blockPosX = posX.asBlockPos(); var blockStateX = world.getBlock(blockPosX).definition.displayName as string; if(blockStateX != "Orange Tallow Candle") { player.sendChat("An Orange Candle is incorrect or missing"); return "FAIL"; } var posY = player.position.asPosition3f(); posY.x = posY.x + 3; var blockPosY = posY.asBlockPos(); var blockStateY = world.getBlock(blockPosY).definition.displayName as string; if(blockStateY != "Orange Tallow Candle") { player.sendChat("An Orange Candle is incorrect or missing"); return "FAIL"; } var posZ = player.position.asPosition3f(); posZ.x = posZ.x - 3; var blockPosZ = posZ.asBlockPos(); var blockStateZ = world.getBlock(blockPosZ).definition.displayName as string; if(blockStateZ != "Orange Tallow Candle") { player.sendChat("An Orange Candle is incorrect or missing"); return "FAIL"; } var posL = player.position.asPosition3f(); posL.x = posL.x - 2; posL.z = posL.z - 2; var blockPosL = posL.asBlockPos(); var blockStateL = world.getBlock(blockPosL).definition.displayName as string; if(blockStateL != "Blue Tallow Candle") { player.sendChat("A Blue Candle 1 is incorrect or missing"); return "FAIL"; } var posM = player.position.asPosition3f(); posM.x = posM.x + 2; posM.z = posM.z - 2; var blockPosM = posM.asBlockPos(); var blockStateM = world.getBlock(blockPosM).definition.displayName as string; if(blockStateM != "Blue Tallow Candle") { player.sendChat("A Blue Candle 2 is incorrect or missing"); return "FAIL"; } var posN = player.position.asPosition3f(); posN.x = posN.x + 2; posN.z = posN.z + 2; var blockPosN = posN.asBlockPos(); var blockStateN = world.getBlock(blockPosN).definition.displayName as string; if(blockStateN != "Blue Tallow Candle") { player.sendChat("A Blue Candle 3 is incorrect or missing"); return "FAIL"; } var posO = player.position.asPosition3f(); posO.x = posO.x - 2; posO.z = posO.z + 2; var blockPosO = posO.asBlockPos(); var blockStateO = world.getBlock(blockPosO).definition.displayName as string; if(blockStateO != "Blue Tallow Candle") { player.sendChat("A Blue Candle 4 is incorrect or missing"); return "FAIL"; } player.sendChat("All Candles are correctly located"); Commands.call("give @p contenttweaker:oblivion_catalyzer", player, world, false, true); return "PASS"; }; oblivioncandle.register(); var oblivionairecallstone= VanillaFactory.createItem("oblivionaire_callstone"); oblivionairecallstone.maxStackSize = 1; oblivionairecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 50) { player.sendChat("You gotta be in the Abyssal Wasteland"); return "FAIL"; } Commands.call("pillar-spawn oblivionaire_structure_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; oblivionairecallstone.register(); var keyfleshdominion= VanillaFactory.createItem("key_of_flesh_dominion"); keyfleshdominion.maxStackSize = 1; keyfleshdominion.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 800) { player.sendChat("You gotta be in the Abyss"); return "FAIL"; } Commands.call("pillar-spawn abyss_structure_supershadow", player, world, false, true); stack.shrink(1); return "PASS"; }; keyfleshdominion.register(); var gravitationalcallstone= VanillaFactory.createItem("gravitational_callstone"); gravitationalcallstone.maxStackSize = 1; gravitationalcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 815) { player.sendChat("You gotta be in Lelyetia"); return "FAIL"; } Commands.call("pillar-spawn lelyetia_structure_supergraw", player, world, false, true); stack.shrink(1); return "PASS"; }; gravitationalcallstone.register(); var warlordcallstone= VanillaFactory.createItem("warlord_callstone"); warlordcallstone.maxStackSize = 1; warlordcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 814) { player.sendChat("You gotta be in L'Borean"); return "FAIL"; } Commands.call("pillar-spawn borean_structure_superdragons", player, world, false, true); stack.shrink(1); return "PASS"; }; warlordcallstone.register(); var hordedominationcallstone= VanillaFactory.createItem("horde_domination_callstone"); hordedominationcallstone.maxStackSize = 1; hordedominationcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the Overworld"); return "FAIL"; } var posO = player.position.asPosition3f(); if(posO.y != 1) { player.sendChat("Stand on the bedrock layer at the bottom of the world"); return "FAIL"; } Commands.call("pillar-spawn underoverworld_structure_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; hordedominationcallstone.register(); var fluixhistoriancallstone= VanillaFactory.createItem("fluix_historian_callstone"); fluixhistoriancallstone.maxStackSize = 1; fluixhistoriancallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the Overworld"); return "FAIL"; } Commands.call("pillar-spawn fluix_historian_structure", player, world, false, true); stack.shrink(1); return "PASS"; }; fluixhistoriancallstone.register(); var hungersummoner = VanillaFactory.createItem("hunger_summoner"); hungersummoner.maxStackSize = 1; hungersummoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 427) { player.sendChat("You gotta be in Vethea"); return "FAIL"; } Commands.call("summon divinerpg:the_hunger ~ ~1 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; hungersummoner.register(); var mysterymansummoner = VanillaFactory.createItem("mysteriousman_summoner"); mysterymansummoner.maxStackSize = 1; mysterymansummoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 427) { player.sendChat("You gotta be in Vethea"); return "FAIL"; } Commands.call("summon divinerpg:mysterious_man_layer_1 ~ ~1 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; mysterymansummoner.register(); var mysteryman2summoner = VanillaFactory.createItem("mysteriousman2_summoner"); mysteryman2summoner.maxStackSize = 1; mysteryman2summoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 427) { player.sendChat("You gotta be in Vethea"); return "FAIL"; } var pos = player.position.asPosition3f(); var posChange = player.position.asPosition3f(); posChange.y = pos.y; var check_pos as crafttweaker.util.Position3f; check_pos = crafttweaker.util.Position3f.create(pos.x, pos.y, pos.z); if(posChange.y < 110) { player.sendChat("You will have to go a bit higher"); return "FAIL"; } Commands.call("summon divinerpg:mysterious_man_layer_2 ~ ~1 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; mysteryman2summoner.register(); var mysteryman3summoner = VanillaFactory.createItem("mysteriousman3_summoner"); mysteryman3summoner.maxStackSize = 1; mysteryman3summoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 427) { player.sendChat("You gotta be in Vethea"); return "FAIL"; } var pos = player.position.asPosition3f(); var posChange = player.position.asPosition3f(); posChange.y = pos.y; var check_pos as crafttweaker.util.Position3f; check_pos = crafttweaker.util.Position3f.create(pos.x, pos.y, pos.z); if(posChange.y < 160) { player.sendChat("You will have to go a bit higher"); return "FAIL"; } Commands.call("summon divinerpg:mysterious_man_layer_3 ~ ~1 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; mysteryman3summoner.register(); var whitefirecallstone= VanillaFactory.createItem("whitefire_callstone"); whitefirecallstone.maxStackSize = 1; whitefirecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 623) { player.sendChat("You gotta be in the furnace dimension"); return "FAIL"; } Commands.call("pillar-spawn furnacedim_structure_whitefireboss", player, world, false, true); stack.shrink(1); return "PASS"; }; whitefirecallstone.register(); var undeadbotanistcallstone= VanillaFactory.createItem("undead_botanist_callstone"); undeadbotanistcallstone.maxStackSize = 1; undeadbotanistcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the overworld"); return "FAIL"; } Commands.call("pillar-spawn hardmode_undead_botanist", player, world, false, true); stack.shrink(1); return "PASS"; }; undeadbotanistcallstone.register(); var forbiddengardencallstone= VanillaFactory.createItem("forbidden_garden_callstone"); forbiddengardencallstone.maxStackSize = 1; forbiddengardencallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the overworld"); return "FAIL"; } Commands.call("pillar-spawn botanist_loot_chest", player, world, false, true); stack.shrink(1); return "PASS"; }; forbiddengardencallstone.register(); var energeticprisonkey= VanillaFactory.createItem("energetic_prison_key"); energeticprisonkey.maxStackSize = 1; energeticprisonkey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 174) { player.sendChat("You gotta be in Alkemia"); return "FAIL"; } Commands.call("pillar-spawn energy_bee_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; energeticprisonkey.register(); var draconianprisonkey = VanillaFactory.createItem("draconian_prison_key"); draconianprisonkey.maxStackSize = 1; draconianprisonkey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 162) { player.sendChat("You gotta be in Lyndenwyrm"); return "FAIL"; } var pos = player.position.asPosition3f(); var posChange = player.position.asPosition3f(); var check_pos as crafttweaker.util.Position3f; check_pos = crafttweaker.util.Position3f.create(pos.x, pos.y, pos.z); if(posChange.x != 1000) { if(posChange.x != 1000) { player.sendChat("Travel to coordinates x = 1000, z = 1000"); return "FAIL"; } } Commands.call("pillar-spawn lyndenwyrm_structure_chaosmonument", player, world, false, true); stack.shrink(1); return "PASS"; }; draconianprisonkey.register(); var chaoticsummoner = VanillaFactory.createItem("chaotic_summoner"); chaoticsummoner.maxStackSize = 1; chaoticsummoner.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 162) { player.sendChat("You gotta be in Lyndenwyrm"); return "FAIL"; } var pos = player.position.asPosition3f(); var posChange = player.position.asPosition3f(); var check_pos as crafttweaker.util.Position3f; check_pos = crafttweaker.util.Position3f.create(pos.x, pos.y, pos.z); if(posChange.x != 10000) { if(posChange.x != 10000) { player.sendChat("Travel to coordinates x = 10000, z = 10000"); return "FAIL"; } } var posA = player.position.asPosition3f(); posA.y = posA.y - 1; posA.x = posA.x - 0; var blockPosA = posA.asBlockPos(); var blockStateA = world.getBlockState(blockPosA); if(blockStateA != ) { player.sendChat("This is a suggestion, it's a good idea to float around y = 120, the bosses will fly around you."); player.sendChat("Stand on top of moss stone to start the fight."); return "FAIL"; } Commands.call("summon draconicevolution:chaosguardian ~ ~4 ~20 {CustomName:\"Guardian of Fear\",Tags:[\"guardianoffear\"]}", player, world, false, true); Commands.call("summon draconicevolution:chaosguardian ~-20 ~4 ~ {CustomName:\"Guardian of Helplessness\",Tags:[\"guardianofhelplessness\"]}", player, world, false, true); Commands.call("summon draconicevolution:chaosguardian ~20 ~4 ~ {CustomName:\"Guardian of Darkness\",Tags:[\"guardianofdarkness\"]}", player, world, false, true); Commands.call("summon draconicevolution:chaosguardian ~ ~4 ~-20 {CustomName:\"Guardian of Solitude\",Tags:[\"guardianofsolitude\"]}", player, world, false, true); stack.shrink(1); return "PASS"; }; chaoticsummoner.register(); var soulsuckingcallstone= VanillaFactory.createItem("soulsucking_callstone"); soulsuckingcallstone.maxStackSize = 1; soulsuckingcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 423) { player.sendChat("You gotta be in Skythern"); return "FAIL"; } Commands.call("pillar-spawn skythern_structure_soulbee", player, world, false, true); stack.shrink(1); return "PASS"; }; soulsuckingcallstone.register(); var crepuscularcallstone= VanillaFactory.createItem("crepuscular_callstone"); crepuscularcallstone.maxStackSize = 1; crepuscularcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 7) { player.sendChat("You gotta be in the Twilight Forest"); return "FAIL"; } Commands.call("pillar-spawn twilightforest_structure_isekaibee", player, world, false, true); stack.shrink(1); return "PASS"; }; crepuscularcallstone.register(); var zoicallstone= VanillaFactory.createItem("zoi_callstone"); zoicallstone.maxStackSize = 1; zoicallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 171) { player.sendChat("You gotta be in Zoi"); return "FAIL"; } Commands.call("pillar-spawn tech_meatball_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; zoicallstone.register(); var secretlurkercallstone= VanillaFactory.createItem("secret_lurker_callstone"); secretlurkercallstone.maxStackSize = 1; secretlurkercallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 164) { player.sendChat("You gotta be in Myrmex"); return "FAIL"; } Commands.call("pillar-spawn skip_vethea_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; secretlurkercallstone.register(); var eldritchcrabcallstone= VanillaFactory.createItem("eldritch_crab_callstone"); eldritchcrabcallstone.maxStackSize = 1; eldritchcrabcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 14676) { player.sendChat("You gotta be in the Emptiness"); return "FAIL"; } Commands.call("pillar-spawn eldritch_crab_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; eldritchcrabcallstone.register(); var taintedloopcallstone= VanillaFactory.createItem("tainted_loop_callstone"); taintedloopcallstone.maxStackSize = 1; taintedloopcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 183) { player.sendChat("You gotta be in Vibe"); return "FAIL"; } Commands.call("pillar-spawn hardmode_callstone_emcmeatball", player, world, false, true); stack.shrink(1); return "PASS"; }; taintedloopcallstone.register(); var pauramcallstone= VanillaFactory.createItem("pauram_callstone"); pauramcallstone.maxStackSize = 1; pauramcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 173) { player.sendChat("You gotta be in Pauram"); return "FAIL"; } Commands.call("pillar-spawn pauram_structure_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; pauramcallstone.register(); var firstrecursivelock = VanillaFactory.createItem("first_recursive_lock"); firstrecursivelock.maxStackSize = 1; firstrecursivelock.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } player.sendChat("Stand in the middle of the recursion prison key arena!"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.recursive_stone.name" && blockState1 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x - 1; pos2.y = pos2.y - 1; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.recursive_stone.name" && blockState2 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x + 1; pos3.y = pos3.y - 1; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.recursive_stone.name" && blockState3 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x; pos4.y = pos4.y - 1; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "tile.contenttweaker.recursive_stone.name" && blockState4 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x; pos5.y = pos5.y - 1; pos5.z = pos5.z - 1; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "tile.contenttweaker.recursive_stone.name" && blockState5 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } Commands.call("summon aoa3:elusive ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_abyss\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:shadowlord ~3 ~1 ~ {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_abyss\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:graw ~-3 ~1 ~ {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_lelyetia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:tyrosaur ~-3 ~1 ~-3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_precasia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:skeletron ~3 ~1 ~-3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_precasia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:baroness ~ ~1 ~-3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_barathos\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:50000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:hive_king ~-3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_barathos\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:creep ~-3 ~1 ~ {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_creeponia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:kror ~-3 ~1 ~ {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_deeplands\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); return "PASS"; }; firstrecursivelock.register(); var secondrecursivelock = VanillaFactory.createItem("second_recursive_lock"); secondrecursivelock.maxStackSize = 1; secondrecursivelock.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } player.sendChat("Stand in the middle of the recursion prison key arena!"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.recursive_stone.name" && blockState1 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x - 1; pos2.y = pos2.y - 1; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.recursive_stone.name" && blockState2 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x + 1; pos3.y = pos3.y - 1; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.recursive_stone.name" && blockState3 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x; pos4.y = pos4.y - 1; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "tile.contenttweaker.recursive_stone.name" && blockState4 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x; pos5.y = pos5.y - 1; pos5.z = pos5.z - 1; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "tile.contenttweaker.recursive_stone.name" && blockState5 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } Commands.call("summon aoa3:crystocore ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_crystevia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:vinocorne ~3 ~1 ~-3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_gardencia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:gyro ~-3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_celeve\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:silverfoot ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_iromine\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:mechbot ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_iromine\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:green_guardian ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_haven\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:yellow_guardian ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_haven\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:red_guardian ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_haven\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:blue_guardian ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_haven\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:rock_rider ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_haven\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:peppermint_snail ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_candyland\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:150000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:king_shroomus ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_mysterium\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:voxxulon ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_voxponds\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); return "PASS"; }; secondrecursivelock.register(); var thirdrecursivelock = VanillaFactory.createItem("third_recursive_lock"); thirdrecursivelock.maxStackSize = 1; thirdrecursivelock.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } player.sendChat("Stand in the middle of the recursion prison key arena!"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.recursive_stone.name" && blockState1 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x - 1; pos2.y = pos2.y - 1; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.recursive_stone.name" && blockState2 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x + 1; pos3.y = pos3.y - 1; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.recursive_stone.name" && blockState3 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x; pos4.y = pos4.y - 1; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "tile.contenttweaker.recursive_stone.name" && blockState4 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x; pos5.y = pos5.y - 1; pos5.z = pos5.z - 1; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "tile.contenttweaker.recursive_stone.name" && blockState5 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } Commands.call("summon aoa3:dracyon ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_borean\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:visualent ~1 ~1 ~1 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_lunalus\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:clunkhead ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_runandor\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon divinerpg:sunstorm ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_eden\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon divinerpg:termasect ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_wildwood\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon divinerpg:eternal_archer ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_apalachia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon divinerpg:experienced_cori ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_skythern\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); return "PASS"; }; thirdrecursivelock.register(); var fourthrecursivelock = VanillaFactory.createItem("fourth_recursive_lock"); fourthrecursivelock.maxStackSize = 1; fourthrecursivelock.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } player.sendChat("Stand in the middle of the recursion prison key arena!"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.recursive_stone.name" && blockState1 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x - 1; pos2.y = pos2.y - 1; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.recursive_stone.name" && blockState2 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x + 1; pos3.y = pos3.y - 1; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.recursive_stone.name" && blockState3 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x; pos4.y = pos4.y - 1; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "tile.contenttweaker.recursive_stone.name" && blockState4 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x; pos5.y = pos5.y - 1; pos5.z = pos5.z - 1; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "tile.contenttweaker.recursive_stone.name" && blockState5 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } Commands.call("summon aoa3:bane ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_greckon\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:kajaros ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_dustopia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:harkos ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_dustopia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:miskel ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_dustopia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:okazor ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_dustopia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:raxxan ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_dustopia\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:proshield ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_immortallis\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:flash ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_immortallis\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:klobber ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_immortallis\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:proshield ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_immortallis\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:coniferon ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_ancientcavern\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:goldorth ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_ancientcavern\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:penumbra ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_ancientcavern\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); Commands.call("summon aoa3:horon ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_ancientcavern\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); return "PASS"; }; fourthrecursivelock.register(); var fifthrecursivelock = VanillaFactory.createItem("fifth_recursive_lock"); fifthrecursivelock.maxStackSize = 1; fifthrecursivelock.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the end"); return "FAIL"; } player.sendChat("Stand in the middle of the recursion prison key arena!"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.recursive_stone.name" && blockState1 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x - 1; pos2.y = pos2.y - 1; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.recursive_stone.name" && blockState2 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x + 1; pos3.y = pos3.y - 1; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.recursive_stone.name" && blockState3 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x; pos4.y = pos4.y - 1; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "tile.contenttweaker.recursive_stone.name" && blockState4 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x; pos5.y = pos5.y - 1; pos5.z = pos5.z - 1; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "tile.contenttweaker.recursive_stone.name" && blockState5 != "Recursive Stone") { player.sendChat("Stand in the middle of the recursion prison key arena!"); return "FAIL"; } Commands.call("summon aoa3:xxeus ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_shyrelands\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:100000.0}],Health:200000f}", player, world, false, true); Commands.call("summon divinerpg:soul_fiend ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_mortum\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:100000.0}],Health:200000f}", player, world, false, true); Commands.call("summon divinerpg:densos ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_mortum\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:100000.0}],Health:200000f}", player, world, false, true); Commands.call("summon divinerpg:vamacheron ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_mortum\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:100000.0}],Health:200000f}", player, world, false, true); Commands.call("summon divinerpg:reyvor ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_mortum\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:100000.0}],Health:200000f}", player, world, false, true); Commands.call("summon divinerpg:karot ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_mortum\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:100000.0}],Health:200000f}", player, world, false, true); Commands.call("summon divinerpg:twilight_demon ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:warren_shard_mortum\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:100000.0}],Health:200000f}", player, world, false, true); return "PASS"; }; fifthrecursivelock.register(); var wootflusher= VanillaFactory.createItem("woot_flusher"); wootflusher.maxStackSize = 1; wootflusher.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } player.sendChat("Flush Started"); Commands.call("woot flush all", player, world, false, true); return "PASS"; }; wootflusher.register(); var infernalfurnacecallstone= VanillaFactory.createItem("infernal_furnace_callstone"); infernalfurnacecallstone.maxStackSize = 1; infernalfurnacecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 623) { player.sendChat("You gotta be in the furnace dimension"); return "FAIL"; } Commands.call("pillar-spawn furnacedim_structure_infernalfurnacefiend", player, world, false, true); stack.shrink(1); return "PASS"; }; infernalfurnacecallstone.register(); var monumentalmeatballcallstone= VanillaFactory.createItem("monumental_meatball_callstone"); monumentalmeatballcallstone.maxStackSize = 1; monumentalmeatballcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 624) { player.sendChat("You gotta be in Gallifrey"); return "FAIL"; } Commands.call("pillar-spawn monumental_meatball_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; monumentalmeatballcallstone.register(); var furnacesecretcallstone= VanillaFactory.createItem("furnace_secret_callstone"); furnacesecretcallstone.maxStackSize = 1; furnacesecretcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 624) { player.sendChat("You gotta be in Gallifrey"); return "FAIL"; } Commands.call("pillar-spawn furnace_guy_final", player, world, false, true); stack.shrink(1); return "PASS"; }; furnacesecretcallstone.register(); var claimofworthiness = VanillaFactory.createItem("summon_of_the_gatekeeper"); claimofworthiness.maxStackSize = 1; claimofworthiness.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != -11325) { player.sendChat("You gotta be in the Deep Dark"); return "FAIL"; } Commands.call("summon mod_lavacow:boneworm ~3 ~1 ~3 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_paper\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,CustomName:\"Gatekeeper of the Meatball Man\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; claimofworthiness.register(); // summon aoa3:ghostly_bugeye ~3 ~1 ~3 {HandItems:[{Count:1,id:"contenttweaker:pale_metal"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:5000.0},{Name:generic.attackDamage, Base:50.0}],Health:5000f,CustomName:"Ensnared Meatball Bug",ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]} var summonsoftheshyrewarden = VanillaFactory.createItem("summons_of_the_shyre_warden"); summonsoftheshyrewarden.maxStackSize = 1; summonsoftheshyrewarden.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // obtain position under player var pos = player.position.asPosition3f(); // check if player is standing on beacon var posChange = player.position.asPosition3f(); posChange.y = pos.y; var check_pos as crafttweaker.util.Position3f; check_pos = crafttweaker.util.Position3f.create(pos.x, pos.y, pos.z); if(world.getBiome(check_pos).name != "White Void") { player.sendChat("You have to be in your pocket dimension from dimensional doors"); player.sendChat("Use a quartz dimensional door"); return "FAIL"; } Commands.call("summon aoa3:shyre_knight ~ ~3 ~ {HandItems:[{Count:64,id:\"contenttweaker:stone_of_the_shyre_warden\"},{Count:64,id:\"contenttweaker:stone_of_the_shyre_warden\"}],HandDropChances:[1.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:1.0},{Name:generic.attackDamage, Base:10000.0}],Health:1f,CustomName:\"Warden of the Shyre Empire\",Invulnerable:1}", player, world, false, true); stack.shrink(1); return "PASS"; }; summonsoftheshyrewarden.register(); var hiddenerrorscallstone = VanillaFactory.createItem("hidden_errors_callstone"); hiddenerrorscallstone.maxStackSize = 1; hiddenerrorscallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 4) { player.sendChat("You gotta be in the Aether"); return "FAIL"; } Commands.call("pillar-spawn aether_hellfire_alternative", player, world, false, true); stack.shrink(1); return "PASS"; }; hiddenerrorscallstone.register(); var tarantulacallstone = VanillaFactory.createItem("tarantula_callstone"); tarantulacallstone.maxStackSize = 1; tarantulacallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 66) { player.sendChat("You gotta be in the Erebus"); return "FAIL"; } Commands.call("pillar-spawn erebus_callstone_tarantula", player, world, false, true); stack.shrink(1); return "PASS"; }; tarantulacallstone.register(); var antlioncallstone = VanillaFactory.createItem("antlion_callstone"); antlioncallstone.maxStackSize = 1; antlioncallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 66) { player.sendChat("You gotta be in the Erebus"); return "FAIL"; } Commands.call("pillar-spawn erebus_callstone_antlion", player, world, false, true); stack.shrink(1); return "PASS"; }; antlioncallstone.register(); var recursivepaperillager= VanillaFactory.createItem("recursive_paper_illager"); recursivepaperillager.maxStackSize = 16; recursivepaperillager.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon minecraft:evocation_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:evocation_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:evocation_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:evocation_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); Commands.call("summon minecraft:vindication_illager ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; recursivepaperillager.register(); var recursivepaperdunerider= VanillaFactory.createItem("recursive_paper_dunerider"); recursivepaperdunerider.maxStackSize = 16; recursivepaperdunerider.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("/summon iceandfire:deathworm ~ ~ ~ {Scale:2f,WormAge:2}", player, world, false, true); Commands.call("/summon iceandfire:deathworm ~ ~ ~ {Scale:2f,WormAge:2}", player, world, false, true); Commands.call("/summon iceandfire:deathworm ~ ~ ~ {Scale:2f,WormAge:2}", player, world, false, true); Commands.call("/summon iceandfire:deathworm ~ ~ ~ {Scale:2f,WormAge:2}", player, world, false, true); Commands.call("/summon iceandfire:deathworm ~ ~ ~ {Scale:3f,WormAge:2}", player, world, false, true); Commands.call("/summon iceandfire:deathworm ~ ~ ~ {Scale:3f,WormAge:2}", player, world, false, true); Commands.call("/summon iceandfire:deathworm ~ ~ ~ {Scale:5f,WormAge:2}", player, world, false, true); player.sendChat("Where fire blazes, new answers may be found!"); if(player.getDimension() == -1) { Commands.call("/summon iceandfire:if_hydra ~ ~ ~", player, world, false, true); } stack.shrink(1); return "PASS"; }; recursivepaperdunerider.register(); var recursivepaperabyssal= VanillaFactory.createItem("recursive_paper_abyssal"); recursivepaperabyssal.maxStackSize = 16; recursivepaperabyssal.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon thebetweenlands:dark_druid ~ ~3 ~", player, world, false, true); Commands.call("summon thebetweenlands:dark_druid ~ ~3 ~", player, world, false, true); Commands.call("summon thebetweenlands:dark_druid ~ ~3 ~", player, world, false, true); Commands.call("summon thebetweenlands:dark_druid ~ ~3 ~", player, world, false, true); Commands.call("summon thebetweenlands:dark_druid ~ ~3 ~", player, world, false, true); Commands.call("summon thebetweenlands:dark_druid ~ ~3 ~", player, world, false, true); Commands.call("summon abyssalcraft:shadowbeast ~ ~3 ~", player, world, false, true); Commands.call("summon abyssalcraft:shadowmonster ~ ~3 ~", player, world, false, true); Commands.call("summon abyssalcraft:shadowmonster ~ ~3 ~", player, world, false, true); Commands.call("summon abyssalcraft:shadowmonster ~ ~3 ~", player, world, false, true); Commands.call("summon abyssalcraft:shadowmonster ~ ~3 ~", player, world, false, true); Commands.call("summon abyssalcraft:shadowmonster ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; recursivepaperabyssal.register(); var recursivepaperbuggy= VanillaFactory.createItem("recursive_paper_buggy"); recursivepaperbuggy.maxStackSize = 16; recursivepaperbuggy.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon erebus:erebus.stag_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.stag_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.bombardier_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.bombardier_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.titan_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.titan_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.rhino_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.rhino_beetle ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.crushroom ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.crushroom ~ ~3 ~", player, world, false, true); Commands.call("summon erebus:erebus.praying_mantis ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; recursivepaperbuggy.register(); var recursivepaperfaithfulundead= VanillaFactory.createItem("recursive_paper_faithfulundead"); recursivepaperfaithfulundead.maxStackSize = 16; recursivepaperfaithfulundead.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } // Commands.call("time set night", player, world, false, true); Commands.call("summon mod_lavacow:zombiemushroom ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:ithaqua ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:undertaker ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:undeadswine ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:banshee ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:mummy ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:sludgelord ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:amberlord ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:cactyrant ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:zombiemushroom ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:ithaqua ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:undertaker ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:undeadswine ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:banshee ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:mummy ~ ~3 ~", player, world, false, true); Commands.call("summon mod_lavacow:sludgelord ~ ~3 ~", player, world, false, true); stack.shrink(1); return "PASS"; }; recursivepaperfaithfulundead.register(); var weaponsmithcallstone = VanillaFactory.createItem("weaponsmith_callstone"); weaponsmithcallstone.maxStackSize = 1; weaponsmithcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the End"); return "FAIL"; } Commands.call("pillar-spawn hardmode_callstone_arbiterweaponsmith", player, world, false, true); stack.shrink(1); return "PASS"; }; weaponsmithcallstone.register(); var forbiddenmeatballmanrites = VanillaFactory.createItem("forbidden_meatball_man_rites"); forbiddenmeatballmanrites.maxStackSize = 1; forbiddenmeatballmanrites.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the overworld"); return "FAIL"; } player.sendChat("Stand on top of the Withering Fabrial block"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.withering_fabrial.name" && blockState1 != "Withering Fabrial") { player.sendChat("Stand on top of the Withering Fabrial block"); return "FAIL"; } Commands.call("/summon minecraft:wither ~3 ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:star_of_betrayal\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Ward of Terra\",ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:50,permshields:50}},Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:100000.0}],Health:1000000f}", player, world, false, true); Commands.call("/summon minecraft:wither ~-3 ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:star_of_betrayal\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Ward of Terra\",ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:50,permshields:50}},Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:100000.0}],Health:1000000f}", player, world, false, true); Commands.call("/summon minecraft:wither ~ ~ ~3 {HandItems:[{Count:1,id:\"contenttweaker:star_of_betrayal\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Ward of Terra\",ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:50,permshields:50}},Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:100000.0}],Health:1000000f}", player, world, false, true); Commands.call("/summon minecraft:wither ~ ~ ~-3 {HandItems:[{Count:1,id:\"contenttweaker:star_of_betrayal\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Ward of Terra\",ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:50,permshields:50}},Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:100000.0}],Health:1000000f}", player, world, false, true); Commands.call("/summon minecraft:wither ~3 ~ ~3 {HandItems:[{Count:1,id:\"contenttweaker:star_of_betrayal\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Ward of Terra\",ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:50,permshields:50}},Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:100000.0}],Health:1000000f}", player, world, false, true); Commands.call("/summon minecraft:wither ~-3 ~ ~-3 {HandItems:[{Count:1,id:\"contenttweaker:star_of_betrayal\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Ward of Terra\",ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:50,permshields:50}},Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:100000.0}],Health:1000000f}", player, world, false, true); return "PASS"; }; forbiddenmeatballmanrites.register(); var requiemofthearbiter = VanillaFactory.createItem("requiem_of_the_arbiter"); requiemofthearbiter.maxStackSize = 1; requiemofthearbiter.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the End"); return "FAIL"; } Commands.call("pillar-spawn tombstone_of_the_arbiter", player, world, false, true); stack.shrink(1); return "PASS"; }; requiemofthearbiter.register(); var hymnofthetruetongue = VanillaFactory.createItem("hymn_of_the_true_tongue"); hymnofthetruetongue.maxStackSize = 1; hymnofthetruetongue.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != -26) { player.sendChat("Enter SPatial Storage from AE2"); return "FAIL"; } player.sendChat("Stand on top of a tier 1 beacon pyramid with 9 Hyperuranion Actualizing Fabrials"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos0 = player.position.asPosition3f(); pos0.x = pos0.x; pos0.y = pos0.y - 1; pos0.z = pos0.z; var blockPos0 = pos0.asBlockPos(); var blockState0 = world.getBlock(blockPos0).definition.displayName as string; if(blockState0 != "Beacon") { player.sendChat("Beacon is missing"); return "FAIL"; } var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 2; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState1 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x + 1; pos2.y = pos2.y - 2; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState2 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x - 1; pos3.y = pos3.y - 2; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState3 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x; pos4.y = pos4.y - 2; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState4 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x; pos5.y = pos5.y - 2; pos5.z = pos5.z - 1; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState5 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos6 = player.position.asPosition3f(); pos6.x = pos6.x + 1; pos6.y = pos6.y - 2; pos6.z = pos6.z + 1; var blockPos6 = pos6.asBlockPos(); var blockState6 = world.getBlock(blockPos6).definition.displayName as string; if(blockState6 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState6 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos7 = player.position.asPosition3f(); pos7.x = pos7.x + 1; pos7.y = pos7.y - 2; pos7.z = pos7.z - 1; var blockPos7 = pos7.asBlockPos(); var blockState7 = world.getBlock(blockPos7).definition.displayName as string; if(blockState7 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState7 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos8 = player.position.asPosition3f(); pos8.x = pos8.x - 1; pos8.y = pos8.y - 2; pos8.z = pos8.z + 1; var blockPos8 = pos8.asBlockPos(); var blockState8 = world.getBlock(blockPos8).definition.displayName as string; if(blockState8 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState8 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } var pos9 = player.position.asPosition3f(); pos9.x = pos9.x - 1; pos9.y = pos9.y - 2; pos9.z = pos9.z - 1; var blockPos9 = pos9.asBlockPos(); var blockState9 = world.getBlock(blockPos9).definition.displayName as string; if(blockState9 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState8 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing one beacon pyramid block"); return "FAIL"; } Commands.call("summon Item ~ ~ ~ {Item:{id:\"contenttweaker:runes_of_the_true_tongue\",Count:1b}}", player, world, false, true); stack.shrink(1); return "PASS"; }; hymnofthetruetongue.register(); var masterofthetruetonguecallstone = VanillaFactory.createItem("master_of_the_true_tongue_callstone"); masterofthetruetonguecallstone.maxStackSize = 1; masterofthetruetonguecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 1) { player.sendChat("You gotta be in the End"); return "FAIL"; } Commands.call("pillar-spawn master_eldunari_callstone_structure", player, world, false, true); stack.shrink(1); return "PASS"; }; masterofthetruetonguecallstone.register(); var gamblingaddictionprisonkey = VanillaFactory.createItem("gambling_addiction_prison_key"); gamblingaddictionprisonkey.maxStackSize = 1; gamblingaddictionprisonkey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != -1) { player.sendChat("You gotta be in the Nether"); return "FAIL"; } player.sendChat("This is a joke, gambling is bad, don't waste your money like that :)"); Commands.call("pillar-spawn hard_mode_callstone_gambling", player, world, false, true); stack.shrink(1); return "PASS"; }; gamblingaddictionprisonkey.register(); var luckyboxaetherbronze = VanillaFactory.createItem("lucky_box_aether_bronze"); luckyboxaetherbronze.maxStackSize = 1; luckyboxaetherbronze.itemRightClick = function(stack, world, player, hand) { Commands.call("pillar-spawn loot_box_aether_bronze", player, world, false, true); stack.shrink(1); return "PASS"; }; luckyboxaetherbronze.register(); var luckyboxaethersilver = VanillaFactory.createItem("lucky_box_aether_silver"); luckyboxaethersilver.maxStackSize = 1; luckyboxaethersilver.itemRightClick = function(stack, world, player, hand) { Commands.call("pillar-spawn loot_box_aether_silver", player, world, false, true); stack.shrink(1); return "PASS"; }; luckyboxaethersilver.register(); var luckyboxaethergold = VanillaFactory.createItem("lucky_box_aether_gold"); luckyboxaethergold.maxStackSize = 1; luckyboxaethergold.itemRightClick = function(stack, world, player, hand) { Commands.call("pillar-spawn loot_box_aether_gold", player, world, false, true); stack.shrink(1); return "PASS"; }; luckyboxaethergold.register(); var luckyboxtwilightbooks = VanillaFactory.createItem("lucky_box_twilight_books"); luckyboxtwilightbooks.maxStackSize = 1; luckyboxtwilightbooks.itemRightClick = function(stack, world, player, hand) { Commands.call("pillar-spawn loot_box_twilight_books", player, world, false, true); stack.shrink(1); return "PASS"; }; luckyboxtwilightbooks.register(); var luckyboxtwilightweapons = VanillaFactory.createItem("lucky_box_twilight_weapons"); luckyboxtwilightweapons.maxStackSize = 1; luckyboxtwilightweapons.itemRightClick = function(stack, world, player, hand) { Commands.call("pillar-spawn loot_box_twilight_weapons", player, world, false, true); stack.shrink(1); return "PASS"; }; luckyboxtwilightweapons.register(); var dreadcleansingcallstone = VanillaFactory.createItem("dread_cleansing_callstone"); dreadcleansingcallstone.maxStackSize = 1; dreadcleansingcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 19) { player.sendChat("You gotta be in the Bedrock Dimension"); return "FAIL"; } Commands.call("pillar-spawn arbiter_callstone_dreadcleanser", player, world, false, true); stack.shrink(1); return "PASS"; }; dreadcleansingcallstone.register(); var forclientsetgamerules = VanillaFactory.createItem("forclient_setgamerules"); forclientsetgamerules.maxStackSize = 1; forclientsetgamerules.itemRightClick = function(stack, world, player, hand) { Commands.call("gamerule commandBlockOutput false", player, world, false, true); Commands.call("gamerule showDeathMessages false", player, world, false, true); stack.shrink(1); return "PASS"; }; forclientsetgamerules.register(); var betrayedsoulcallstone = VanillaFactory.createItem("rites_of_liberation"); betrayedsoulcallstone.maxStackSize = 1; betrayedsoulcallstone.itemRightClick = function(stack, world, player, hand) { Commands.call("pillar-spawn armedzombieautomation_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; betrayedsoulcallstone.register(); var meatballtitancallstone = VanillaFactory.createItem("summons_of_the_meatball_titan"); meatballtitancallstone.maxStackSize = 1; meatballtitancallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 111) { player.sendChat("You gotta be in the Lost Cities"); return "FAIL"; } Commands.call("/summon giant ~ ~1 ~ {PersistenceRequired:1,HandItems:[{Count:1,id:\"redstonearsenal:tool.sword_flux\"},{}],ArmorItems:[{Count:1,id:\"redstonearsenal:armor.boots_flux\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"redstonearsenal:armor.legs_flux\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"redstonearsenal:armor.plate_flux\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:all_powerful_sentient_meatball\"}],CustomName:\"Meatball Titan\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f],ActiveEffects:[{Id:11,Amplifier:5,Duration:999999}],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f}", player, world, false, true); stack.shrink(1); return "PASS"; }; meatballtitancallstone.register(); //summon thaumcraft:cultistknight ~ ~1 ~ {PersistenceRequired:1,HandItems:[{Count:1,id:"contenttweaker:pale_metal"},{}],CustomName:"Meatball Subjugator",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f],ActiveEffects:[{Id:11,Amplifier:5,Duration:999999}],Attributes:[{Name:generic.maxHealth, Base:10000.0},{Name:generic.attackDamage, Base:100.0}],Health:10000f,ArmorItems:[{Count:1,id:"contenttweaker:sentient_meatball_feet",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:"contenttweaker:sentient_meatball_legs",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:"contenttweaker:sentient_meatball_chest",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:"contenttweaker:sentient_meatball"}]} var fleshworldcallstone = VanillaFactory.createItem("flesh_world_callstone"); fleshworldcallstone.maxStackSize = 1; fleshworldcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 111) { player.sendChat("You gotta be in the Lost Cities"); return "FAIL"; } var pos9 = player.position.asPosition3f(); pos9.y = pos9.y; if(pos9.y > 10) { player.sendChat("You have to be below y = 10"); return "FAIL"; } Commands.call("pillar-spawn flesh_world_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; fleshworldcallstone.register(); var faithfulundeadcallstone = VanillaFactory.createItem("summons_of_the_faithful_undead"); faithfulundeadcallstone.maxStackSize = 1; faithfulundeadcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 111) { player.sendChat("You gotta be in the Lost Cities"); return "FAIL"; } player.sendChat("Stand in the middle of the arena structure with Recursive Stone!"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.recursive_stone.name" && blockState1 != "Recursive Stone") { player.sendChat("Stand in the middle of the arena structure with Recursive Stone!"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x - 1; pos2.y = pos2.y - 1; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.recursive_stone.name" && blockState2 != "Recursive Stone") { player.sendChat("Stand in the middle of the arena structure with Recursive Stone!"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x + 1; pos3.y = pos3.y - 1; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.recursive_stone.name" && blockState3 != "Recursive Stone") { player.sendChat("Stand in the middle of the arena structure with Recursive Stone!"); return "FAIL"; } var pos4 = player.position.asPosition3f(); pos4.x = pos4.x; pos4.y = pos4.y - 1; pos4.z = pos4.z + 1; var blockPos4 = pos4.asBlockPos(); var blockState4 = world.getBlock(blockPos4).definition.displayName as string; if(blockState4 != "tile.contenttweaker.recursive_stone.name" && blockState4 != "Recursive Stone") { player.sendChat("Stand in the middle of the arena structure with Recursive Stone!"); return "FAIL"; } var pos5 = player.position.asPosition3f(); pos5.x = pos5.x; pos5.y = pos5.y - 1; pos5.z = pos5.z - 1; var blockPos5 = pos5.asBlockPos(); var blockState5 = world.getBlock(blockPos5).definition.displayName as string; if(blockState5 != "tile.contenttweaker.recursive_stone.name" && blockState5 != "Recursive Stone") { player.sendChat("Stand in the middle of the arena structure with Recursive Stone!"); return "FAIL"; } Commands.call("summon mod_lavacow:undertaker ~2 ~2 ~0 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon mod_lavacow:banshee ~-2 ~2 ~0 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon mod_lavacow:forsaken ~-2 ~2 ~2 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon mod_lavacow:zombiemushroom ~2 ~2 ~2 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon mod_lavacow:mummy ~0 ~2 ~-2 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon mod_lavacow:unburied ~2 ~2 ~-2 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon mod_lavacow:zombiefrozen ~0 ~2 ~2 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon mod_lavacow:ithaqua ~-2 ~2 ~-2 {HandItems:[{Count:1,id:\"contenttweaker:prophetic_meatball_flesh\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:grave_dust_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:grave_dust_head\"}],CustomName:\"Faithful Undead\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); return "PASS"; }; faithfulundeadcallstone.register(); var staffofthemeatballman = VanillaFactory.createItem("staff_of_the_lord_of_gluttony"); staffofthemeatballman.maxStackSize = 1; staffofthemeatballman.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("summon twilightforest:loyal_zombie ~-2 ~2 ~-2 {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon twilightforest:loyal_zombie ~-2 ~2 ~2 {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon twilightforest:loyal_zombie ~2 ~2 ~-2 {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon twilightforest:loyal_zombie ~2 ~2 ~2 {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon twilightforest:loyal_zombie ~-2 ~2 ~ {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon twilightforest:loyal_zombie ~2 ~2 ~ {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon twilightforest:loyal_zombie ~ ~2 ~-2 {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); Commands.call("summon twilightforest:loyal_zombie ~ ~2 ~2 {HandItems:[{Count:1,id:\"aoa3:primal_sword\"},{}],HandDropChances:[0.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:100000.0}],Health:100000f,ArmorItems:[{Count:1,id:\"contenttweaker:meatball_praetorian_feet\",tag:{ench:[{id:7,lvl:100}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_legs\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_chest\",tag:{ench:[{id:7,lvl:200}]}},{Count:1,id:\"contenttweaker:meatball_praetorian_head\"}],CustomName:\"Warden of the Lord of Gluttony\",ArmorDropChances:[0.0f,0.0f,0.0f,1.0f]}", player, world, false, true); return "PASS"; }; staffofthemeatballman.register(); var meatballmancallstone = VanillaFactory.createItem("meatball_man_callstone"); meatballmancallstone.maxStackSize = 1; meatballmancallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 111) { player.sendChat("You gotta be in the Lost Cities"); return "FAIL"; } player.sendChat("Stand on top of of the following blocks:"); player.sendChat("Hungering Machine Case (top)"); player.sendChat("Hyperuranion Actualizing Fabrial (middle)"); player.sendChat("Mythic Excavation reactor (bottom)"); player.sendChat("Checking Player Position"); player.sendChat("=================================================="); var pos1 = player.position.asPosition3f(); pos1.x = pos1.x; pos1.y = pos1.y - 1; pos1.z = pos1.z; var blockPos1 = pos1.asBlockPos(); var blockState1 = world.getBlock(blockPos1).definition.displayName as string; if(blockState1 != "tile.contenttweaker.hungering_machine_case.name" && blockState1 != "Hungering Machine Case") { player.sendChat("Missing Hungering Machine Case"); return "FAIL"; } var pos2 = player.position.asPosition3f(); pos2.x = pos2.x; pos2.y = pos2.y - 2; pos2.z = pos2.z; var blockPos2 = pos2.asBlockPos(); var blockState2 = world.getBlock(blockPos2).definition.displayName as string; if(blockState2 != "tile.contenttweaker.hyperuranon_actualizing_fabrial.name" && blockState2 != "Hyperuranion Actualizing Fabrial") { player.sendChat("Missing Hyperuranion Actualizing Fabrial"); return "FAIL"; } var pos3 = player.position.asPosition3f(); pos3.x = pos3.x; pos3.y = pos3.y - 3; pos3.z = pos3.z; var blockPos3 = pos3.asBlockPos(); var blockState3 = world.getBlock(blockPos3).definition.displayName as string; if(blockState3 != "tile.contenttweaker.mythic_excavation_reactor.name" && blockState3 != "Mythic Excavation Reactor") { player.sendChat("Missing Mythic Excavation Reactor"); return "FAIL"; } Commands.call("pillar-spawn meatball_man_final_boss", player, world, false, true); return "PASS"; }; meatballmancallstone.register(); var ancientdecrystallizer = VanillaFactory.createItem("ancient_decrystallizer"); ancientdecrystallizer.maxStackSize = 1; ancientdecrystallizer.glowing = true; ancientdecrystallizer.itemRightClick = function(stack, world, player, hand) { Commands.call("execute @s ~ ~ ~ detect ~ ~-1 ~ thaumcraft:crystal_aer 0 fill ~ ~-1 ~ ~ ~-1 ~ air 0 destroy", player, world, false, true); Commands.call("execute @s ~ ~ ~ detect ~ ~-1 ~ thaumcraft:crystal_ignis 0 fill ~ ~-1 ~ ~ ~-1 ~ air 0 destroy", player, world, false, true); Commands.call("execute @s ~ ~ ~ detect ~ ~-1 ~ thaumcraft:crystal_aqua 0 fill ~ ~-1 ~ ~ ~-1 ~ air 0 destroy", player, world, false, true); Commands.call("execute @s ~ ~ ~ detect ~ ~-1 ~ thaumcraft:crystal_terra 0 fill ~ ~-1 ~ ~ ~-1 ~ air 0 destroy", player, world, false, true); Commands.call("execute @s ~ ~ ~ detect ~ ~-1 ~ thaumcraft:crystal_ordo 0 fill ~ ~-1 ~ ~ ~-1 ~ air 0 destroy", player, world, false, true); Commands.call("execute @s ~ ~ ~ detect ~ ~-1 ~ thaumcraft:crystal_perditio 0 fill ~ ~-1 ~ ~ ~-1 ~ air 0 destroy", player, world, false, true); Commands.call("execute @s ~ ~ ~ detect ~ ~-1 ~ thaumcraft:crystal_vitium 0 fill ~ ~-1 ~ ~ ~-1 ~ air 0 destroy", player, world, false, true); return "Pass"; }; ancientdecrystallizer.register(); var ancientwyverntrinket = VanillaFactory.createItem("ancient_wyvern_trinket"); ancientwyverntrinket.maxStackSize = 1; ancientwyverntrinket.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 162) { player.sendChat("You gotta be in Lyndenwyrm"); return "FAIL"; } Commands.call("tp @p 1000 100 1000", player, world, false, true); stack.shrink(1); return "PASS"; }; ancientwyverntrinket.register(); var luckyboxadventarmor = VanillaFactory.createItem("lucky_box_advent_armor"); luckyboxadventarmor.maxStackSize = 1; luckyboxadventarmor.itemRightClick = function(stack, world, player, hand) { Commands.call("pillar-spawn loot_box_adventarmor", player, world, false, true); stack.shrink(1); return "PASS"; }; luckyboxadventarmor.register(); var guardiansofshadesmarcallstone = VanillaFactory.createItem("guardians_of_shadesmar_callstone"); guardiansofshadesmarcallstone.maxStackSize = 1; guardiansofshadesmarcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 190) { player.sendChat("You gotta be in Kashan"); return "FAIL"; } Commands.call("pillar-spawn kashan_structure_fourspren", player, world, false, true); stack.shrink(1); return "PASS"; }; guardiansofshadesmarcallstone.register(); var sprensummonerhope = VanillaFactory.createItem("spren_summoner_hope"); sprensummonerhope.maxStackSize = 1; sprensummonerhope.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 190) { player.sendChat("You gotta be in Kashan"); return "FAIL"; } Commands.call("summon twilightforest:raven ~ ~5 ~ {PersistenceRequired:1,Tags:[\"sprenhope\"],CustomName:\"Spren of Hope\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; sprensummonerhope.register(); var sprensummonerbalance = VanillaFactory.createItem("spren_summoner_balance"); sprensummonerbalance.maxStackSize = 1; sprensummonerbalance.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 190) { player.sendChat("You gotta be in Kashan"); return "FAIL"; } Commands.call("summon ebwizardry:spirit_wolf ~ ~5 ~ {PersistenceRequired:1,Tags:[\"sprenbalance\"],CustomName:\"Spren of Balance\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; sprensummonerbalance.register(); var sprensummonerglory = VanillaFactory.createItem("spren_summoner_glory"); sprensummonerglory.maxStackSize = 1; sprensummonerglory.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 190) { player.sendChat("You gotta be in Kashan"); return "FAIL"; } Commands.call("summon minecraft:horse ~ ~5 ~ {PersistenceRequired:1,Tags:[\"sprenglory\"],CustomName:\"Spren of Glory\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; sprensummonerglory.register(); var sprensummonerknowledge = VanillaFactory.createItem("spren_summoner_knowledge"); sprensummonerknowledge.maxStackSize = 1; sprensummonerknowledge.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 190) { player.sendChat("You gotta be in Kashan"); return "FAIL"; } Commands.call("summon aether_legacy:sheepuff ~ ~5 ~ {PersistenceRequired:1,Tags:[\"sprenknowledge\"],CustomName:\"Spren of Knowledge\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; sprensummonerknowledge.register(); var trinitascallstone = VanillaFactory.createItem("trinitas_callstone"); trinitascallstone.maxStackSize = 1; trinitascallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 191) { player.sendChat("You gotta be in Trinitas"); return "FAIL"; } Commands.call("pillar-spawn trinitas_structure_trinity", player, world, false, true); stack.shrink(1); return "PASS"; }; trinitascallstone.register(); var taintedprisonkey = VanillaFactory.createItem("tainted_prison_key"); taintedprisonkey.maxStackSize = 1; taintedprisonkey.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 192) { player.sendChat("You gotta be in Fuhai"); return "FAIL"; } Commands.call("pillar-spawn fuhai_structure_oldgod", player, world, false, true); stack.shrink(1); return "PASS"; }; taintedprisonkey.register(); var missionofdeathcallstone = VanillaFactory.createItem("mission_of_undeath_callstone"); missionofdeathcallstone.maxStackSize = 1; missionofdeathcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 193) { player.sendChat("You gotta be in Travixte"); return "FAIL"; } Commands.call("pillar-spawn travixte_structure_deathboss", player, world, false, true); stack.shrink(1); return "PASS"; }; missionofdeathcallstone.register(); var gundevilconfrontationcallstone = VanillaFactory.createItem("gun_devil_confrontation_callstone"); gundevilconfrontationcallstone.maxStackSize = 1; gundevilconfrontationcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 193) { player.sendChat("You gotta be in Travixte"); return "FAIL"; } Commands.call("pillar-spawn callstone_gun_devil", player, world, false, true); stack.shrink(1); return "PASS"; }; gundevilconfrontationcallstone.register(); var universalconstellationcallstone = VanillaFactory.createItem("universal_constellation_callstone"); universalconstellationcallstone.maxStackSize = 1; universalconstellationcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 192) { player.sendChat("You gotta be in Fuhai"); return "FAIL"; } Commands.call("pillar-spawn callstone_astral_bee", player, world, false, true); stack.shrink(1); return "PASS"; }; universalconstellationcallstone.register(); var ghostofannoyancecallstone = VanillaFactory.createItem("ghost_of_annoyance_callstone"); ghostofannoyancecallstone.maxStackSize = 1; ghostofannoyancecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 624) { player.sendChat("You gotta be in Gallifrey"); return "FAIL"; } Commands.call("summon aoa3:ghostly_bugeye ~3 ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_of_annoyance\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Annoying Buggy Ghost\",Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:100000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~3 ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_of_annoyance\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Annoying Buggy Ghost\",Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:100000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~3 ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_of_annoyance\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Annoying Buggy Ghost\",Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:100000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~3 ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_of_annoyance\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Annoying Buggy Ghost\",Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:100000.0}],Health:50000f}", player, world, false, true); Commands.call("pillar-spawn annoying_ghost_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; ghostofannoyancecallstone.register(); var strangestonecallstone = VanillaFactory.createItem("strange_stone_callstone"); strangestonecallstone.maxStackSize = 1; strangestonecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 624) { player.sendChat("You gotta be in Gallifrey"); return "FAIL"; } Commands.call("pillar-spawn callstone_strange_stone", player, world, false, true); stack.shrink(1); return "PASS"; }; strangestonecallstone.register(); var livelytreecallstone = VanillaFactory.createItem("lively_tree_callstone"); livelytreecallstone.maxStackSize = 1; livelytreecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the Overworld"); return "FAIL"; } Commands.call("pillar-spawn bee_treeoflife_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; livelytreecallstone.register(); var shyreridercallstone = VanillaFactory.createItem("shyre_rider_callstone"); shyreridercallstone.maxStackSize = 1; shyreridercallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 820) { player.sendChat("You gotta be in the Shyrelands"); return "FAIL"; } Commands.call("pillar-spawn nest_defiler_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; shyreridercallstone.register(); var blackfrostcallstone = VanillaFactory.createItem("blackfrost_callstone"); blackfrostcallstone.maxStackSize = 1; blackfrostcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 193) { player.sendChat("You gotta be in Travixte"); return "FAIL"; } Commands.call("pillar-spawn travixte_structure_blackfrost", player, world, false, true); stack.shrink(1); return "PASS"; }; blackfrostcallstone.register(); //summon thaumcraft:cultistknight ~ ~1 ~ {HandItems:[{Count:1,id:"aoa3:gods_greatblade"},{Count:1,id:"contenttweaker:cursed_cradle"}],HandDropChances:[0.0f,1.0f],CustomName:"Defiler of the Dragon Cradle",Attributes:[{Name:generic.maxHealth, Base:200000.0},{Name:generic.attackDamage, Base:10000.0}],Health:100000f,ArmorItems:[{Count:1,id:"aoa3:knight_boots"},{Count:1,id:"aoa3:knight_legs"},{Count:1,id:"aoa3:knight_chestplate"},{Count:1,id:"aoa3:knight_helmet"}]} var holysludgecallstone = VanillaFactory.createItem("holy_sludge_callstone"); holysludgecallstone.maxStackSize = 1; holysludgecallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 0) { player.sendChat("You gotta be in the Overworld"); return "FAIL"; } Commands.call("pillar-spawn holy_sludge_structure_callstone", player, world, false, true); stack.shrink(1); return "PASS"; }; holysludgecallstone.register(); var forsakenpriestscallstone = VanillaFactory.createItem("forsaken_priests_callstone"); forsakenpriestscallstone.maxStackSize = 1; forsakenpriestscallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 819) { player.sendChat("You gotta be in Runandor"); return "FAIL"; } Commands.call("pillar-spawn forsaken_priests_callstone_structure", player, world, false, true); stack.shrink(1); return "PASS"; }; forsakenpriestscallstone.register(); var summonstothearmyofdarkness = VanillaFactory.createItem("summons_to_the_army_of_darkness"); summonstothearmyofdarkness.maxStackSize = 1; summonstothearmyofdarkness.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 810) { player.sendChat("You gotta be in Greckon"); return "FAIL"; } Commands.call("summon aoa3:skull_creature ~5 ~6 ~5 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:skull_creature ~-5 ~6 ~5 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:skull_creature ~5 ~6 ~-5 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:skull_creature ~-5 ~6 ~-5 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:skull_creature ~5 ~6 ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:skull_creature ~ ~6 ~5 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:skull_creature ~ ~6 ~-5 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:skull_creature ~-5 ~6 ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~8 ~6 ~8 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~-8 ~6 ~8 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~8 ~6 ~-8 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~-8 ~6 ~-8 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~6 ~8 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~ ~6 ~-8 {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~8 ~6 ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:bone_creature ~-8 ~6 ~ {HandItems:[{Count:1,id:\"contenttweaker:nightmare_steel_shard\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~12 ~6 ~12 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~-12 ~6 ~12 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~12 ~6 ~-12 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~-12 ~6 ~-12 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~12 ~6 ~ {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~-12 ~6 ~ {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~ ~6 ~-12 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:wither_skeleton ~ ~6 ~12 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~15 ~6 ~15 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~15 ~6 ~-15 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~-15 ~6 ~15 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~-15 ~6 ~-15 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~15 ~6 ~ {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~ ~6 ~15 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~ ~6 ~-15 {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon minecraft:skeleton ~-15 ~6 ~ {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"contenttweaker:nightmare_steel_shard\"}],HandDropChances:[0.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:1000.0}],Health:50000f}", player, world, false, true); Commands.call("summon aoa3:grillface ~ ~6 ~ {HandItems:[{Count:1,id:\"contenttweaker:horn_of_the_dark_goat\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:300000.0},{Name:generic.attackDamage, Base:1000.0}],Health:300000f,CustomName:\"Shluhnaggah, the Dark Goat\"}", player, world, false, true); stack.shrink(1); return "PASS"; }; summonstothearmyofdarkness.register(); var arcaneterraformernoob = VanillaFactory.createItem("arcane_terraformer_noob"); arcaneterraformernoob.maxStackSize = 1; arcaneterraformernoob.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("/tellraw @a {\"text\":\"Click here to see a walkthrough on how to set up the biomes for this puzzle\",\"underlined\":true,\"color\":\"blue\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/watch?v=-_5BU87Gnjs\"}}", player, world, false, true); stack.shrink(1); return "PASS"; }; arcaneterraformernoob.register(); var summonsofthecursedwyvern = VanillaFactory.createItem("summons_of_the_cursed_wyvern"); summonsofthecursedwyvern.maxStackSize = 1; summonsofthecursedwyvern.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 162) { player.sendChat("You gotta be in Lyndenwyrm"); return "FAIL"; } Commands.call("/summon mowziesmobs:naga ~ ~10 ~ {HandItems:[{Count:1,id:\"contenttweaker:heart_of_the_cursed_wyvern\"},{}],HandDropChances:[1.0f,0.0f],CustomName:\"Amygg'alla, the Cursed Wyvern\",ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:200,permshields:200}},Attributes:[{Name:generic.maxHealth, Base:5000000.0},{Name:generic.attackDamage, Base:50000.0}],Health:5000000f}", player, world, false, true); stack.shrink(1); return "PASS"; }; summonsofthecursedwyvern.register(); var dyingconstellationcallstone = VanillaFactory.createItem("dying_constellation_callstone"); dyingconstellationcallstone.maxStackSize = 1; dyingconstellationcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 192) { player.sendChat("You gotta be in Fuhai"); return "FAIL"; } Commands.call("pillar-spawn dying_constellation_traders", player, world, false, true); stack.shrink(1); return "PASS"; }; dyingconstellationcallstone.register(); var hopefulreturncallstone = VanillaFactory.createItem("hopeful_return_callstone"); hopefulreturncallstone.maxStackSize = 1; hopefulreturncallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 426) { player.sendChat("You gotta be in Arcana (better on the roof)"); return "FAIL"; } Commands.call("pillar-spawn arcana_roof_hopeful_return", player, world, false, true); stack.shrink(1); return "PASS"; }; hopefulreturncallstone.register(); // summon bewitchment:demon ~ ~3 ~ {CustomName:"Alazoneia, Harbinger of Bloodshed",recipeList:{Recipes:[{buy:{id:"contenttweaker:marrow_of_alazoneia",Count:1},sell:{id:"contenttweaker:everbloody_flask",Count:1},rewardExp:0b,maxUses:9999999}]},HandItems:[{Count:1,id:"contenttweaker:marrow_of_alazoneia"},{}],HandDropChances:[1.0f,0.0f],ForgeCaps:{"twilightforest:cap_shield":{tempshields:30,permshields:30}},Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:300.0}],Health:50000f} var twilitwarrenshredder = VanillaFactory.createItem("twilit_warren_shredder"); twilitwarrenshredder.maxStackSize = 1; twilitwarrenshredder.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 426) { player.sendChat("Stand on the Bedrock roof of Arcana"); return "FAIL"; } var pos = player.position.asPosition3f(); var posChange = player.position.asPosition3f(); posChange.y = pos.y - 1; var blockPosBelowPlayer = posChange.asBlockPos(); var blockBelow = world.getBlockState(blockPosBelowPlayer); print(blockBelow.commandString); if(blockBelow != ) { player.sendChat("Stand on the Bedrock roof of Arcana"); return "FAIL"; } Commands.call("summon bewitchment:demon ~ ~3 ~10 {Invulnerable:1,PersistenceRequired:1,NoAI:1,CustomName:\"Reconciled Aesir\",recipeList:{Recipes:[{buy:{id:\"contenttweaker:soul_fragment_of_the_reconciled_aesir\",Count:64},sell:{id:\"contenttweaker:recursion_of_natural_law\",Count:1},rewardExp:0b,maxUses:9999999}]},ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, true, true); Commands.call("summon bewitchment:demon ~ ~3 ~-10 {Invulnerable:1,PersistenceRequired:1,NoAI:1,CustomName:\"Reconciled Aesir\",recipeList:{Recipes:[{buy:{id:\"contenttweaker:soul_fragment_of_the_reconciled_aesir\",Count:64},sell:{id:\"contenttweaker:recursion_of_natural_law\",Count:1},rewardExp:0b,maxUses:9999999}]},ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, true, true); Commands.call("summon bewitchment:demon ~10 ~3 ~ {Invulnerable:1,PersistenceRequired:1,NoAI:1,CustomName:\"Reconciled Aesir\",recipeList:{Recipes:[{buy:{id:\"contenttweaker:soul_fragment_of_the_reconciled_aesir\",Count:64},sell:{id:\"contenttweaker:recursion_of_natural_law\",Count:1},rewardExp:0b,maxUses:9999999}]},ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, true, true); Commands.call("summon bewitchment:demon ~-10 ~3 ~ {Invulnerable:1,PersistenceRequired:1,NoAI:1,CustomName:\"Reconciled Aesir\",recipeList:{Recipes:[{buy:{id:\"contenttweaker:soul_fragment_of_the_reconciled_aesir\",Count:64},sell:{id:\"contenttweaker:recursion_of_natural_law\",Count:1},rewardExp:0b,maxUses:9999999}]},ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, true, true); Commands.call("fill ~-7 ~-1 ~ ~7 ~-1 ~ contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~ ~-1 ~-7 ~ ~-1 ~7 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~1 ~-1 ~-5 ~-1 ~-1 ~5 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~5 ~-1 ~-1 ~-5 ~-1 ~1 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~4 ~-1 ~4 ~5 ~-1 ~5 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~-4 ~-1 ~4 ~-5 ~-1 ~5 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~4 ~-1 ~-4 ~5 ~-1 ~-5 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~-4 ~-1 ~-4 ~-5 ~-1 ~-5 contenttweaker:yggdrasil_wood 0 replace minecraft:bedrock", player, world, false, true); Commands.call("fill ~-2 ~ ~-2 ~2 ~-5 ~2 air", player, world, false, true); Commands.call("fill ~-2 ~-5 ~-2 ~2 ~-10 ~2 air", player, world, false, true); Commands.call("fill ~-2 ~-10 ~-2 ~2 ~-15 ~2 air", player, world, false, true); Commands.call("particle blockcrack ~ ~ ~ 1 1 1 0.1 1000", player, world, false, true); stack.shrink(1); return "PASS"; }; twilitwarrenshredder.register(); var hollowstagcallstone = VanillaFactory.createItem("hollow_stag_callstone"); hollowstagcallstone.maxStackSize = 1; hollowstagcallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 66) { player.sendChat("You gotta be in Erebus"); return "FAIL"; } Commands.call("/pillar-spawn erebus_structure_hollowstag", player, world, false, true); stack.shrink(1); return "PASS"; }; hollowstagcallstone.register(); var tearofarcanacallstone = VanillaFactory.createItem("tear_of_arcana_callstone"); tearofarcanacallstone.maxStackSize = 1; tearofarcanacallstone.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn arcanium_cluster_bee", player, world, false, true); stack.shrink(1); return "PASS"; }; tearofarcanacallstone.register(); var alchemicalsparkcallstonesingle = VanillaFactory.createItem("alchemical_spark_callstone_single"); alchemicalsparkcallstonesingle.maxStackSize = 1; alchemicalsparkcallstonesingle.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_single", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstonesingle.register(); var alchemicalsparkcallstonecompressed = VanillaFactory.createItem("alchemical_spark_callstone_compressed"); alchemicalsparkcallstonecompressed.maxStackSize = 1; alchemicalsparkcallstonecompressed.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_compressed", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstonecompressed.register(); var alchemicalsparkcallstonedouble = VanillaFactory.createItem("alchemical_spark_callstone_double"); alchemicalsparkcallstonedouble.maxStackSize = 1; alchemicalsparkcallstonedouble.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_double", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstonedouble.register(); var alchemicalsparkcallstonetriple = VanillaFactory.createItem("alchemical_spark_callstone_triple"); alchemicalsparkcallstonetriple.maxStackSize = 1; alchemicalsparkcallstonetriple.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_triple", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstonetriple.register(); var alchemicalsparkcallstonequadruple = VanillaFactory.createItem("alchemical_spark_callstone_quadruple"); alchemicalsparkcallstonequadruple.maxStackSize = 1; alchemicalsparkcallstonequadruple.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_quadruple", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstonequadruple.register(); var alchemicalsparkcallstonequintuple = VanillaFactory.createItem("alchemical_spark_callstone_quintuple"); alchemicalsparkcallstonequintuple.maxStackSize = 1; alchemicalsparkcallstonequintuple.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_quintuple", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstonequintuple.register(); var alchemicalsparkcallstonesextuple = VanillaFactory.createItem("alchemical_spark_callstone_sextuple"); alchemicalsparkcallstonesextuple.maxStackSize = 1; alchemicalsparkcallstonesextuple.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_sextuple", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstonesextuple.register(); var alchemicalsparkcallstoneseptuple = VanillaFactory.createItem("alchemical_spark_callstone_septuple"); alchemicalsparkcallstoneseptuple.maxStackSize = 1; alchemicalsparkcallstoneseptuple.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_septuple", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstoneseptuple.register(); var alchemicalsparkcallstoneoctuple = VanillaFactory.createItem("alchemical_spark_callstone_octuple"); alchemicalsparkcallstoneoctuple.maxStackSize = 1; alchemicalsparkcallstoneoctuple.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } Commands.call("pillar-spawn alchemicalore_callstone_octuple", player, world, false, true); stack.shrink(1); return "PASS"; }; alchemicalsparkcallstoneoctuple.register(); var riteofunhollowing = VanillaFactory.createItem("rite_of_unhollowing"); riteofunhollowing.maxStackSize = 1; riteofunhollowing.itemRightClick = function(stack, world, player, hand) { if(world.remote) { return "FAIL"; } if(player.getDimension() != 66) { player.sendChat("You gotta be in Erebus"); return "FAIL"; } Commands.call("summon aoa3:ghostly_bugeye ~5 ~2 ~5 {HandItems:[{Count:1,id:\"contenttweaker:spark_of_unhallowing\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:5000.0}],Health:500000f,CustomName:\"Will of the Hallowed\",ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~-5 ~2 ~5 {HandItems:[{Count:1,id:\"contenttweaker:spark_of_unhallowing\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:5000.0}],Health:500000f,CustomName:\"Will of the Hallowed\",ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~5 ~2 ~-5 {HandItems:[{Count:1,id:\"contenttweaker:spark_of_unhallowing\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:5000.0}],Health:500000f,CustomName:\"Will of the Hallowed\",ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, false, true); Commands.call("summon aoa3:ghostly_bugeye ~-5 ~2 ~-5 {HandItems:[{Count:1,id:\"contenttweaker:spark_of_unhallowing\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:5000.0}],Health:500000f,CustomName:\"Will of the Hallowed\",ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,ShowParticles:0b},{Id:24,Amplifier:0,Duration:999999,ShowParticles:0b}]}", player, world, false, true); stack.shrink(1); return "PASS"; }; riteofunhollowing.register();