Files
2026-07-25 16:20:42 -05:00

2209 lines
100 KiB
Plaintext

#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 crafttweaker.util.Position3f;
import crafttweaker.block.IBlockState;
function getBlockMatchAtPosition(blockTargetID as string, playerPos as crafttweaker.util.Position3f, blockLocation as int [], world as crafttweaker.world.IWorld) as int{
// 1 if block matches, 0 if not
var match = 0 as int;
// get block position from relative to world coordinates
var checkPos as crafttweaker.util.Position3f;
checkPos = crafttweaker.util.Position3f.create(playerPos.x + blockLocation[0], playerPos.y + blockLocation[1], playerPos.z + blockLocation[2]);
// get block id at coordinates
val state = world.getBlock(checkPos);
val blockID = state.definition.id as string;
val blockMeta = state.meta;
val fullBlockID = blockMeta == 0 ? blockID : blockID + ":" + blockMeta;
// check if block id matches
if (fullBlockID == blockTargetID){
match = 1;
}
return match;
}
function getBlockStateMatchAtPosition(blockTargetState as IBlockState, playerPos as crafttweaker.util.Position3f, blockLocation as int [], world as crafttweaker.world.IWorld) as int{
// 1 if block matches, 0 if not
var match = 0 as int;
// get block position from relative to world coordinates
var checkPos as crafttweaker.util.Position3f;
checkPos = crafttweaker.util.Position3f.create(playerPos.x + blockLocation[0], playerPos.y + blockLocation[1], playerPos.z + blockLocation[2]);
// get block name at coordinates
var blockStateLoc = world.getBlockState(checkPos) as IBlockState;
print(blockStateLoc.commandString);
// check if block name matches
if (blockStateLoc == blockTargetState){
match = 1;
}
return match;
}
var calltomission = VanillaFactory.createItem("call_to_mission");
calltomission.maxStackSize = 1;
calltomission.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
// go through all blocks in the momument
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [0,0,0], world) == 0) {
player.sendChat("Missing Sooty Marble: [0,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [1,0,0], world) == 0) {
player.sendChat("Missing Sooty Marble: [1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [0,0,1], world) == 0) {
player.sendChat("Missing Sooty Marble: [0,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [1,0,1], world) == 0) {
player.sendChat("Missing Sooty Marble: [1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [-1,0,0], world) == 0) {
player.sendChat("Missing Sooty Marble: [-1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [0,0,-1], world) == 0) {
player.sendChat("Missing Sooty Marble: [0,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [-1,0,-1], world) == 0) {
player.sendChat("Missing Sooty Marble: [-1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [1,0,-1], world) == 0) {
player.sendChat("Missing Sooty Marble: [1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockblackmarble", playerPos, [-1,0,1], world) == 0) {
player.sendChat("Missing Sooty Marble: [-1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [0,0,2], world) == 0) {
player.sendChat("Missing Arcanium Block: [0,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [1,0,2], world) == 0) {
player.sendChat("Missing Arcanium Block: [1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [-1,0,2], world) == 0) {
player.sendChat("Missing Arcanium Block: [-1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [0,0,-2], world) == 0) {
player.sendChat("Missing Arcanium Block: [0,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [1,0,-2], world) == 0) {
player.sendChat("Missing Arcanium Block: [1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [-1,0,-2], world) == 0) {
player.sendChat("Missing Arcanium Block: [-1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [2,0,0], world) == 0) {
player.sendChat("Missing Arcanium Block: [2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [2,0,1], world) == 0) {
player.sendChat("Missing Arcanium Block: [2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [2,0,-1], world) == 0) {
player.sendChat("Missing Arcanium Block: [2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [-2,0,0], world) == 0) {
player.sendChat("Missing Arcanium Block: [-2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [-2,0,1], world) == 0) {
player.sendChat("Missing Arcanium Block: [-2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("divinerpg:arcanium_block", playerPos, [-2,0,-1], world) == 0) {
player.sendChat("Missing Arcanium Block: [-2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [0,0,3], world) == 0) {
player.sendChat("Missing Marble Bricks: [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [1,0,3], world) == 0) {
player.sendChat("Missing Marble Bricks: [1,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [-1,0,3], world) == 0) {
player.sendChat("Missing Marble Bricks: [-1,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [0,0,-3], world) == 0) {
player.sendChat("Missing Marble Bricks: [0,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [1,0,-3], world) == 0) {
player.sendChat("Missing Marble Bricks: [1,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [-1,0,-3], world) == 0) {
player.sendChat("Missing Marble Bricks: [-1,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [3,0,0], world) == 0) {
player.sendChat("Missing Marble Bricks: [3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [3,0,1], world) == 0) {
player.sendChat("Missing Marble Bricks: [3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [3,0,-1], world) == 0) {
player.sendChat("Missing Marble Bricks: [3,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [-3,0,0], world) == 0) {
player.sendChat("Missing Marble Bricks: [-3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [-3,0,1], world) == 0) {
player.sendChat("Missing Marble Bricks: [-3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [-3,0,-1], world) == 0) {
player.sendChat("Missing Marble Bricks: [-3,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [2,0,2], world) == 0) {
player.sendChat("Missing Marble Bricks: [2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [2,0,-2], world) == 0) {
player.sendChat("Missing Marble Bricks: [2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [-2,0,2], world) == 0) {
player.sendChat("Missing Marble Bricks: [-2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:1", playerPos, [-2,0,-2], world) == 0) {
player.sendChat("Missing Marble Bricks: [-2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [0,0,4], world) == 0) {
player.sendChat("Missing Runed Marble: [0,0,4]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [1,0,4], world) == 0) {
player.sendChat("Missing Runed Marble: [1,0,4]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-1,0,4], world) == 0) {
player.sendChat("Missing Runed Marble: [-1,0,4]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [0,0,-4], world) == 0) {
player.sendChat("Missing Runed Marble: [0,0,-4]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [1,0,-4], world) == 0) {
player.sendChat("Missing Runed Marble: [1,0,-4]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-1,0,-4], world) == 0) {
player.sendChat("Missing Runed Marble: [-1,0,-4]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-4,0,0], world) == 0) {
player.sendChat("Missing Runed Marble: [-4,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-4,0,1], world) == 0) {
player.sendChat("Missing Runed Marble: [-4,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-4,0,-1], world) == 0) {
player.sendChat("Missing Runed Marble: [-4,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [4,0,0], world) == 0) {
player.sendChat("Missing Runed Marble: [4,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [4,0,1], world) == 0) {
player.sendChat("Missing Runed Marble: [4,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [4,0,-1], world) == 0) {
player.sendChat("Missing Runed Marble: [4,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [3,0,2], world) == 0) {
player.sendChat("Missing Runed Marble: [3,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [3,0,-2], world) == 0) {
player.sendChat("Missing Runed Marble: [3,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-3,0,2], world) == 0) {
player.sendChat("Missing Runed Marble: [-3,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-3,0,-2], world) == 0) {
player.sendChat("Missing Runed Marble: [-3,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [2,0,3], world) == 0) {
player.sendChat("Missing Runed Marble: [2,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-2,0,3], world) == 0) {
player.sendChat("Missing Runed Marble: [-2,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [2,0,-3], world) == 0) {
player.sendChat("Missing Runed Marble: [2,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:6", playerPos, [-2,0,-3], world) == 0) {
player.sendChat("Missing Runed Marble: [-2,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [3,1,0], world) == 0) {
player.sendChat("Missing Marble Pillar: [3,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [-3,1,0], world) == 0) {
player.sendChat("Missing Marble Pillar: [-3,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [0,1,3], world) == 0) {
player.sendChat("Missing Marble Pillar: [0,1,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [0,1,-3], world) == 0) {
player.sendChat("Missing Marble Pillar: [0,1,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [2,1,2], world) == 0) {
player.sendChat("Missing Marble Pillar: [2,1,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [-2,1,2], world) == 0) {
player.sendChat("Missing Marble Pillar: [-2,1,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [2,1,-2], world) == 0) {
player.sendChat("Missing Marble Pillar: [2,1,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [-2,1,-2], world) == 0) {
player.sendChat("Missing Marble Pillar: [-2,1,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [3,2,0], world) == 0) {
player.sendChat("Missing Marble Pillar: [3,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [-3,2,0], world) == 0) {
player.sendChat("Missing Marble Pillar: [-3,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [0,2,3], world) == 0) {
player.sendChat("Missing Marble Pillar: [0,2,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [0,2,-3], world) == 0) {
player.sendChat("Missing Marble Pillar: [0,2,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [2,2,2], world) == 0) {
player.sendChat("Missing Marble Pillar: [2,2,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [-2,2,2], world) == 0) {
player.sendChat("Missing Marble Pillar: [-2,2,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [2,2,-2], world) == 0) {
player.sendChat("Missing Marble Pillar: [2,2,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("astralsorcery:blockmarble:2", playerPos, [-2,2,-2], world) == 0) {
player.sendChat("Missing Marble Pillar: [-2,2,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [3,3,0], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [3,3,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [-3,3,0], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [-3,3,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [0,3,3], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [0,3,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [0,3,-3], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [0,3,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [2,3,2], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [2,3,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [-2,3,2], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [-2,3,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [2,3,-2], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [2,3,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:cuendillar_seal", playerPos, [-2,3,-2], world) == 0) {
player.sendChat("Missing Cuendillar Seal: [-2,3,-2]");
return "FAIL";
}
Commands.call("cofh tpx @p 191", player, world, true, true);
return "PASS";
};
calltomission.register();
var summonsrealmshiftercherubim= VanillaFactory.createItem("summons_of_the_realmshifter_cherubim");
summonsrealmshiftercherubim.maxStackSize = 1;
summonsrealmshiftercherubim.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
if(player.getDimension() != 191) {
player.sendChat("You gotta be in Trinitas");
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);
if(blockState1 == <blockstate:minecraft:stained_hardened_clay:color=red>) {
Commands.call("summon aoa3:realmshifter ~ ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:stone_of_the_lover\"},{}], PersistenceRequired:1,Tags:[\"cherubimred\"],CustomName:\"Realmshifter Cherubim\"}", player, world, false, true);
return "PASS";
}
if(blockState1 == <blockstate:minecraft:stained_hardened_clay:color=green>) {
Commands.call("summon aoa3:realmshifter ~ ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:stone_of_the_loved\"},{}], PersistenceRequired:1,Tags:[\"cherubimgreen\"],CustomName:\"Realmshifter Cherubim\"}", player, world, false, true);
return "PASS";
}
if(blockState1 == <blockstate:minecraft:stained_hardened_clay:color=blue>) {
Commands.call("summon aoa3:realmshifter ~ ~ ~ {HandItems:[{Count:1,id:\"contenttweaker:stone_of_the_love\"},{}], PersistenceRequired:1,Tags:[\"cherubimblue\"],CustomName:\"Realmshifter Cherubim\"}", player, world, false, true);
return "PASS";
}
player.sendChat("Stand on any of the Tarracotta Blocks");
return "FAIL";
};
summonsrealmshiftercherubim.register();
var prayertrinitylove= VanillaFactory.createItem("prayer_to_the_trinity_of_love");
prayertrinitylove.maxStackSize = 1;
prayertrinitylove.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
if(player.getDimension() != 191) {
player.sendChat("You gotta be in Trinitas");
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
if (getBlockMatchAtPosition("contenttweaker:fractallite_stone_of_love", playerPos, [0,0,0], world) == 0) {
player.sendChat("Stand in the center of the Trinitas Callstone Structure");
return "FAIL";
}
player.sendChat("Use three True Tongue Oaths on the summoned mobs");
Commands.call("summon aoa3:realmshifter ~2 ~ ~ {Invulnerable:1, HandItems:[{Count:1,id:\"contenttweaker:recursion_of_the_lover\"},{}], PersistenceRequired:1,Tags:[\"cherubimblue\"],CustomName:\"The Lover\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~1 ~ ~2 {Invulnerable:1, HandItems:[{Count:1,id:\"contenttweaker:recursion_of_the_loved\"},{}], PersistenceRequired:1,Tags:[\"cherubimblue\"],CustomName:\"The Loved\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~-1 ~ ~2 {Invulnerable:1, HandItems:[{Count:1,id:\"contenttweaker:recursion_of_the_love\"},{}], PersistenceRequired:1,Tags:[\"cherubimblue\"],CustomName:\"The Love\"}", player, world, false, true);
stack.shrink(1);
return "PASS";
};
prayertrinitylove.register();
var keyofrestoredbalance= VanillaFactory.createItem("key_of_restored_balance");
keyofrestoredbalance.maxStackSize = 1;
keyofrestoredbalance.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";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
// go through all blocks in the momument
if (getBlockMatchAtPosition("avaritia:block_resource:1", playerPos, [0,0,0], world) == 0) {
player.sendChat("Missing Infinity Block: [0,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [1,0,0], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [-1,0,0], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [-1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [0,0,1], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [0,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [0,0,-1], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [0,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [1,0,1], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [1,0,-1], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [-1,0,1], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [-1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick1_appliedenergistics2_sky_stone_brick_0:7", playerPos, [-1,0,-1], world) == 0) {
player.sendChat("Missing Celtic Sky stone Brick: [-1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [2,0,0], world) == 0) {
player.sendChat("Missing Fluix Block: [2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [2,0,1], world) == 0) {
player.sendChat("Missing Fluix Block: [2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [2,0,-1], world) == 0) {
player.sendChat("Missing Fluix Block: [2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [-2,0,0], world) == 0) {
player.sendChat("Missing Fluix Block: [-2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [-2,0,1], world) == 0) {
player.sendChat("Missing Fluix Block: [-2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [-2,0,-1], world) == 0) {
player.sendChat("Missing Fluix Block: [-2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [0,0,2], world) == 0) {
player.sendChat("Missing Fluix Block: [0,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [1,0,2], world) == 0) {
player.sendChat("Missing Fluix Block: [1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [-1,0,2], world) == 0) {
player.sendChat("Missing Fluix Block: [-1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [0,0,-2], world) == 0) {
player.sendChat("Missing Fluix Block: [0,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [1,0,-2], world) == 0) {
player.sendChat("Missing Fluix Block: [1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("appliedenergistics2:fluix_block", playerPos, [-1,0,-2], world) == 0) {
player.sendChat("Missing Fluix Block: [-1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [0,0,3], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [1,0,3], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [1,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [-1,0,3], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [-1,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [0,0,-3], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [0,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [1,0,-3], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [1,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [-1,0,-3], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [-1,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [3,0,0], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [3,0,1], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [3,0,-1], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [3,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [-3,0,0], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [-3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [-3,0,1], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [-3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [-3,0,-1], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [-3,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [2,0,2], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [2,0,-2], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [-2,0,2], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [-2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:1", playerPos, [-2,0,-2], world) == 0) {
player.sendChat("Missing Tiles Sky stone Brick: [-2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [2,1,2], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [2,1,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [2,1,-2], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [2,1,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [-2,1,2], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [-2,1,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [-2,1,-2], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [-2,1,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [0,1,3], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [0,1,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [0,1,-3], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [0,1,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [3,1,0], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [3,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("unlimitedchiselworks:chisel_stonebrick2_appliedenergistics2_sky_stone_brick_0:2", playerPos, [-3,1,0], world) == 0) {
player.sendChat("Missing Pillar Sky stone Brick: [-3,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_the_arbiter_defender", playerPos, [2,2,2], world) == 0) {
player.sendChat("Missing Seal of the Arbiter: Defender: [2,2,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_the_arbiter_blacksmith", playerPos, [2,2,-2], world) == 0) {
player.sendChat("Missing Seal of the Arbiter: Blacksmith: [2,2,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_the_arbiter_historian", playerPos, [-2,2,2], world) == 0) {
player.sendChat("Missing Seal of the Arbiter: Historian: [-2,2,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_the_arbiter_theorist", playerPos, [-2,2,-2], world) == 0) {
player.sendChat("Missing Seal of the Arbiter: Theorist: [-2,2,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_the_arbiter_gemcutter", playerPos, [-3,2,0], world) == 0) {
player.sendChat("Missing Seal of the Arbiter: Gemcutter: [-3,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_the_arbiter_experimentalist", playerPos, [3,2,0], world) == 0) {
player.sendChat("Missing Seal of the Arbiter: Experimentalist: [3,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_the_arbiter_engineer", playerPos, [0,2,3], world) == 0) {
player.sendChat("Missing Seal of the Arbiter: Engineer: [0,2,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:seal_of_freedom", playerPos, [0,2,-3], world) == 0) {
player.sendChat("Missing Seal of Freedom: [0,2,-3]");
return "FAIL";
}
// summon villager ~ ~3 ~ {CustomName:"Deep Trader",Offers:{Recipes:[{buy:{id:"contenttweaker:contenttweaker_infused_dread_shard",Count:1},sell:{id:"divinerpg:eden_dust",Count:1},rewardExp:0b,maxUses:9999999}]},Profession:2,Career:1,CareerLevel:3}
Commands.call("summon villager ~ ~3 ~ {Invulnerable:1, CustomName:\"The Arbiter\",Offers:{Recipes:[{buy:{id:\"contenttweaker:token_of_forgiveness\",Count:1},sell:{id:\"contenttweaker:offer_of_restored_balance\",Count:1},rewardExp:0b,maxUses:9999999}]},Profession:2,Career:1,CareerLevel:3}", player, world, false, true);
stack.shrink(1);
return "PASS";
};
keyofrestoredbalance.register();
var calloftheberserker= VanillaFactory.createItem("call_of_the_berserker");
calloftheberserker.maxStackSize = 1;
calloftheberserker.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
if(player.getDimension() != 802) {
player.sendChat("You gotta be in Barathos");
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
// explanation to player
player.sendChat("Seek the Apostle Mycelium, and reach its center");
// go through all blocks in the momument
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [0,0,0], world) == 0) {
player.sendChat("You are not standing in the right place (0,0,0)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [1,0,0], world) == 0) {
player.sendChat("You are not standing in the right place (1,0,0)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [0,0,1], world) == 0) {
player.sendChat("You are not standing in the right place (0,0,1)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [-1,0,0], world) == 0) {
player.sendChat("You are not standing in the right place (-1,0,0)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [0,0,-1], world) == 0) {
player.sendChat("You are not standing in the right place (0,0,-1)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [1,0,1], world) == 0) {
player.sendChat("You are not standing in the right place (1,0,1)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [-1,0,1], world) == 0) {
player.sendChat("You are not standing in the right place (-1,0,1)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [-1,0,-1], world) == 0) {
player.sendChat("You are not standing in the right place (-1,0,-1)");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:apostle_mycelium", playerPos, [1,0,-1], world) == 0) {
player.sendChat("You are not standing in the right place (1,0,-1)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [6,2,0], world) == 0) {
player.sendChat("You are not standing in the right place (7,2,0)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [-6,2,0], world) == 0) {
player.sendChat("You are not standing in the right place (-7,2,0)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [0,2,6], world) == 0) {
player.sendChat("You are not standing in the right place (0,2,7)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [0,2,-6], world) == 0) {
player.sendChat("You are not standing in the right place (0,2,-7)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [5,2,5], world) == 0) {
player.sendChat("You are not standing in the right place (6,2,6)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [-5,2,5], world) == 0) {
player.sendChat("You are not standing in the right place (-6,2,6)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [5,2,-5], world) == 0) {
player.sendChat("You are not standing in the right place (6,2,-6)");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:candle_red", playerPos, [-5,2,-5], world) == 0) {
player.sendChat("You are not standing in the right place (-6,2,-6)");
return "FAIL";
}
Commands.call("/summon twilightforest:minoshroom ~ ~4 ~ {HandItems:[{Count:1,id:\"aoa3:rockbasher_sword\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:100000.0},{Name:generic.attackDamage, Base:10000.0}],Health:100000f,CustomName:\"Fungal Apostle\"}", player, world, false, true);
stack.shrink(1);
return "PASS";
};
calloftheberserker.register();
var brokenichoriumjewel= VanillaFactory.createItem("void_ichorium_jewel");
brokenichoriumjewel.maxStackSize = 1;
brokenichoriumjewel.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
if(player.getDimension() != 192) {
player.sendChat("You gotta be in Fuhai");
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
// explanation to player
player.sendChat("Stand in the center of the Void Ichorium Totem in Fuhai");
// go through all blocks in the momument
if (getBlockMatchAtPosition("contenttweaker:ichorium_void_stone", playerPos, [0,0,0], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [3,3,0], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [-3,3,0], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [0,3,3], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [0,3,-3], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [2,3,2], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [-2,3,2], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [2,3,-2], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumadditions:twilight_totem", playerPos, [-2,3,-2], world) == 0) {
player.sendChat("Structure is incomplete, or you are not standing in the center of the totem monument");
return "FAIL";
}
// summon villager ~ ~3 ~ {CustomName:"Deep Trader",Offers:{Recipes:[{buy:{id:"contenttweaker:contenttweaker_infused_dread_shard",Count:1},sell:{id:"divinerpg:eden_dust",Count:1},rewardExp:0b,maxUses:9999999}]},Profession:2,Career:1,CareerLevel:3}
Commands.call("summon aoa3:ghostly_night_reaper ~ ~3 ~ {CustomName:\"Vengeance of the Crimson Emperor\", HandItems:[{Count:1,id:\"contenttweaker:gem_of_pure_taint\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:50000.0},{Name:generic.attackDamage, Base:500000.0}],Health:50000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~5 ~3 ~5 {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~-5 ~3 ~5 {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~5 ~3 ~-5 {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~-5 ~3 ~-5 {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~0 ~3 ~6 {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~0 ~3 ~-6 {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~6 ~3 ~ {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
Commands.call("summon thaumcraft:taintacle ~-6 ~3 ~ {CustomName:\"Crimson Taintacle\",Attributes:[{Name:generic.maxHealth, Base:500000.0},{Name:generic.attackDamage, Base:500000.0}],Health:500000f}", player, world, false, true);
stack.shrink(1);
return "PASS";
};
brokenichoriumjewel.register();
var voidichoriumrift = VanillaFactory.createItem("void_ichorium_rift");
voidichoriumrift.maxStackSize = 1;
voidichoriumrift.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
// go through all blocks in the momument
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [0,0,0], world) == 0) {
player.sendChat("Missing Starfield Glass: [0,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [1,0,0], world) == 0) {
player.sendChat("Missing Starfield Glass: [1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [0,0,1], world) == 0) {
player.sendChat("Missing Starfield Glass: [0,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [1,0,1], world) == 0) {
player.sendChat("Missing Starfield Glass: [1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [-1,0,0], world) == 0) {
player.sendChat("Missing Starfield Glass: [-1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [0,0,-1], world) == 0) {
player.sendChat("Missing Starfield Glass: [0,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [-1,0,-1], world) == 0) {
player.sendChat("Missing Starfield Glass: [-1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [1,0,-1], world) == 0) {
player.sendChat("Missing Starfield Glass: [1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass", playerPos, [-1,0,1], world) == 0) {
player.sendChat("Missing Starfield Glass: [-1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [0,0,2], world) == 0) {
player.sendChat("Missing Void Metal Block: [0,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [1,0,2], world) == 0) {
player.sendChat("Missing Void Metal Block: [1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [-1,0,2], world) == 0) {
player.sendChat("Missing Void Metal Block: [-1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [0,0,-2], world) == 0) {
player.sendChat("Missing Void Metal Block: [0,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [1,0,-2], world) == 0) {
player.sendChat("Missing Void Metal Block: [1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [-1,0,-2], world) == 0) {
player.sendChat("Missing Void Metal Block: [-1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [2,0,0], world) == 0) {
player.sendChat("Missing Void Metal Block: [2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [2,0,1], world) == 0) {
player.sendChat("Missing Void Metal Block: [2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [2,0,-1], world) == 0) {
player.sendChat("Missing Void Metal Block: [2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [-2,0,0], world) == 0) {
player.sendChat("Missing Void Metal Block: [-2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [-2,0,1], world) == 0) {
player.sendChat("Missing Void Metal Block: [-2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:metal_void", playerPos, [-2,0,-1], world) == 0) {
player.sendChat("Missing Void Metal Block: [-2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [0,0,3], world) == 0) {
player.sendChat("Missing Arcane Stone: [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [1,0,3], world) == 0) {
player.sendChat("Missing Arcane Stone: [1,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [-1,0,3], world) == 0) {
player.sendChat("Missing Arcane Stone: [-1,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [0,0,-3], world) == 0) {
player.sendChat("Missing Arcane Stone: [0,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [1,0,-3], world) == 0) {
player.sendChat("Missing Arcane Stone: [1,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [-1,0,-3], world) == 0) {
player.sendChat("Missing Arcane Stone: [-1,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [3,0,0], world) == 0) {
player.sendChat("Missing Arcane Stone: [3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [3,0,1], world) == 0) {
player.sendChat("Missing Arcane Stone: [3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [3,0,-1], world) == 0) {
player.sendChat("Missing Arcane Stone: [3,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [-3,0,0], world) == 0) {
player.sendChat("Missing Arcane Stone: [-3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [-3,0,1], world) == 0) {
player.sendChat("Missing Arcane Stone: [-3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [-3,0,-1], world) == 0) {
player.sendChat("Missing Arcane Stone: [-3,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [2,0,2], world) == 0) {
player.sendChat("Missing Arcane Stone: [2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [2,0,-2], world) == 0) {
player.sendChat("Missing Arcane Stone: [2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [-2,0,2], world) == 0) {
player.sendChat("Missing Arcane Stone: [-2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumcraft:stone_arcane", playerPos, [-2,0,-2], world) == 0) {
player.sendChat("Missing Arcane Stone: [-2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [0,0,4], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [0,0,4]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [1,0,4], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [1,0,4]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-1,0,4], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-1,0,4]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [0,0,-4], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [0,0,-4]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [1,0,-4], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [1,0,-4]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-1,0,-4], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-1,0,-4]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-4,0,0], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-4,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-4,0,1], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-4,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-4,0,-1], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-4,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [4,0,0], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [4,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [4,0,1], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [4,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [4,0,-1], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [4,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [3,0,2], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [3,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [3,0,-2], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [3,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-3,0,2], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-3,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-3,0,-2], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-3,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [2,0,3], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [2,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-2,0,3], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-2,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [2,0,-3], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [2,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:7", playerPos, [-2,0,-3], world) == 0) {
player.sendChat("Missing Arcane Stone (Celtic): [-2,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [3,1,0], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [3,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [-3,1,0], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [-3,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [0,1,3], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [0,1,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [0,1,-3], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [0,1,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [2,1,2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [2,1,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [-2,1,2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [-2,1,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [2,1,-2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [2,1,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [-2,1,-2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [-2,1,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [3,2,0], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [3,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [-3,2,0], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [-3,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [0,2,3], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [0,2,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [0,2,-3], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [0,2,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [2,2,2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [2,2,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [-2,2,2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [-2,2,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [2,2,-2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [2,2,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("chisel:arcane_stone1:13", playerPos, [-2,2,-2], world) == 0) {
player.sendChat("Missing Arcane Stone (Pillar): [-2,2,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [3,3,0], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [3,3,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [-3,3,0], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [-3,3,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [0,3,3], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [0,3,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [0,3,-3], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [0,3,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [2,3,2], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [2,3,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [-2,3,2], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [-2,3,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [2,3,-2], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [2,3,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:void_ichorium_rift_cap", playerPos, [-2,3,-2], world) == 0) {
player.sendChat("Missing Void Ichorium Rift Cap: [-2,3,-2]");
return "FAIL";
}
Commands.call("cofh tpx @p 192", player, world, true, true);
return "PASS";
};
voidichoriumrift.register();
var summonstothemeatballman = VanillaFactory.createItem("summons_to_the_meatball_man");
summonstothemeatballman.maxStackSize = 1;
summonstothemeatballman.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
// go through all blocks in the momument
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball", playerPos, [0,0,0], world) == 0) {
player.sendChat("Missing Sentient Meatball: [0,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,0,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,0,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,0,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,0,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [-1,0,-1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [-1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [1,0,-1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [-1,0,1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [-1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [1,0,1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,0,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,0,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,0,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,0,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,0,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,0,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,0,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,0,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,0,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,0,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,0,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,0,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,1,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,1,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,1,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,1,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,1,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,1,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,1,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,2,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,2,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,2,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,2,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,2,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,2,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,2,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,3,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,3,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,3,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,3,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [2,3,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [2,3,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,3,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,3,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,3,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,3,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-2,3,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-2,3,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,3,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,3,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,3,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,3,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,3,2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,3,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,3,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,3,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,3,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,3,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,3,-2], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,3,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [-1,3,-1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [-1,3,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [1,3,-1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [1,3,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [-1,3,1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [-1,3,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:chaotic_sentient_meatball", playerPos, [1,3,1], world) == 0) {
player.sendChat("Missing Chaotic Sentient Meatball: [1,3,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,4,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,4,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [0,4,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [0,4,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,4,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,4,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,4,0], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,4,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,4,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,4,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,4,1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,4,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [1,4,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [1,4,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball_flesh", playerPos, [-1,4,-1], world) == 0) {
player.sendChat("Missing Sentient Meatball Flesh: [-1,4,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:sentient_meatball", playerPos, [0,5,0], world) == 0) {
player.sendChat("Missing Sentient Meatball: [0,5,0]");
return "FAIL";
}
Commands.call("cofh tpx @p 193", player, world, true, true);
return "PASS";
};
summonstothemeatballman.register();
var vowtodeath = VanillaFactory.createItem("vow_to_death");
vowtodeath.maxStackSize = 1;
vowtodeath.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
if(player.getDimension() != 193) {
player.sendChat("Stand in the center of the Shrine to Death from the Mission of Undeath Callstone");
return "FAIL";
}
if (getBlockMatchAtPosition("aoa3:ancient_tile_shrine", playerPos, [0,0,0], world) == 0) {
player.sendChat("Stand in the center of the Shrine to Death from the Mission of Undeath Callstone");
return "FAIL";
}
var matchNorth = getBlockMatchAtPosition("chisel:blockcobalt:3", playerPos, [0,0,-5], world) as int;
var matchSouth = getBlockMatchAtPosition("chisel:blockplatinum:3", playerPos, [0,0,5], world) as int;
var matchEast = getBlockMatchAtPosition("chisel:blockelectrum:3", playerPos, [5,0,0], world) as int;
var matchWest = getBlockMatchAtPosition("chisel:blockbronze:3", playerPos, [-5,0,0], world) as int;
var matchNNE = getBlockMatchAtPosition("xtones:zyth:10", playerPos, [1,0,-3], world) as int;
var matchNNW = getBlockMatchAtPosition("xtones:zyth:6", playerPos, [-1,0,-3], world) as int;
var matchSSE = getBlockMatchAtPosition("xtones:zome:4", playerPos, [1,0,3], world) as int;
var matchSSW = getBlockMatchAtPosition("xtones:zome:11", playerPos, [-1,0,3], world) as int;
var matchENE = getBlockMatchAtPosition("xtones:zone:1", playerPos, [3,0,-1], world) as int;
var matchESE = getBlockMatchAtPosition("xtones:zone:14", playerPos, [3,0,1], world) as int;
var matchWNW = getBlockMatchAtPosition("xtones:zech:2", playerPos, [-3,0,-1], world) as int;
var matchWSW = getBlockMatchAtPosition("xtones:zech:15", playerPos, [-3,0,1], world) as int;
if (matchNorth + matchSouth + matchEast + matchWest + matchNNE + matchNNW + matchSSE + matchSSW + matchENE + matchESE + matchWNW + matchWSW == 12) {
player.sendChat("Death accepts your Vow");
Commands.call("summon minecraft:horse ~ ~1 ~ {Variant:4,Tame:1, SaddleItem:{id:saddle,Count:1}, ArmorItem:{id:\"thermalfoundation:horse_armor_platinum\",Count:1}, CustomName:\"Steed of the Final Hour\",Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ActiveEffects:[{Id:12,Amplifier:255,Duration:999999}],Passengers:[{id:\"thaumcraft:cultistcleric\",Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,PersistenceRequired:1,HandItems:[{Count:1,id:\"avaritia:skullfire_sword\",tag:{ench:[{id:16,lvl:500},{id:101,lvl:50}]}},{Count:1,id:\"contenttweaker:respect_of_death\"}],HandDropChances:[0.0f,1.0f],ForgeCaps:{\"twilightforest:cap_shield\":{tempshields:1000,permshields:1000}},ArmorItems:[{Count:1,id:\"avaritia:infinity_boots\"},{Count:1,id:\"avaritia:infinity_pants\"},{Count:1,id:\"avaritia:infinity_chestplate\"},{Count:1,id:\"avaritia:infinity_helmet\"}],CustomName:\"Death, Lord of the Final Hour\",ActiveEffects:[{Id:10,Amplifier:255,Duration:999999}]}]}", player, world, true, true);
stack.shrink(1);
return "PASS";
}
player.sendChat("Dark Ethaxium Bricks? Those do not belong here! Lyssa-equipped individuals would know how to replace them!");
Commands.call("summon zombie ~ ~ ~-5 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"chisel:blockcobalt\",Damage:3b,tag:{display:{Name:N}}}]}", player, world, true, true);
Commands.call("summon zombie ~ ~ ~5 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"chisel:blockplatinum\",Damage:3b,tag:{display:{Name:S}}}]}", player, world, true, true);
Commands.call("summon zombie ~5 ~ ~ {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"chisel:blockelectrum\",Damage:3b,tag:{display:{Name:E}}}]}", player, world, true, true);
Commands.call("summon zombie ~-5 ~ ~ {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"chisel:blockbronze\",Damage:3b,tag:{display:{Name:W}}}]}", player, world, true, true);
Commands.call("summon zombie ~1 ~ ~-3 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zyth\",Damage:10b,tag:{display:{Name:NNE}}}]}", player, world, true, true);
Commands.call("summon zombie ~-1 ~ ~-3 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zyth\",Damage:6b,tag:{display:{Name:NNW}}}]}", player, world, true, true);
Commands.call("summon zombie ~1 ~ ~3 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zome\",Damage:4b,tag:{display:{Name:SSE}}}]}", player, world, true, true);
Commands.call("summon zombie ~-1 ~ ~3 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zome\",Damage:11b,tag:{display:{Name:SSW}}}]}", player, world, true, true);
Commands.call("summon zombie ~3 ~ ~-1 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zone\",Damage:1b,tag:{display:{Name:ENE}}}]}", player, world, true, true);
Commands.call("summon zombie ~3 ~ ~1 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zone\",Damage:14b,tag:{display:{Name:ESE}}}]}", player, world, true, true);
Commands.call("summon zombie ~-3 ~ ~-1 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zech\",Damage:2b,tag:{display:{Name:WNW}}}]}", player, world, true, true);
Commands.call("summon zombie ~-3 ~ ~1 {PersistenceRequired:1,ArmorItems:[{Count:1,id:\"contenttweaker:grave_dust_feet\"},{Count:1,id:\"contenttweaker:grave_dust_legs\"},{Count:1,id:\"contenttweaker:grave_dust_chest\"},{Count:1,id:\"xtones:zech\",Damage:15b,tag:{display:{Name:WSW}}}]}", player, world, true, true);
stack.shrink(1);
return "FAIL";
};
vowtodeath.register();
//summon minecraft:horse ~ ~1 ~ {Variant:4,Tame:1, SaddleItem:{id:saddle,Count:1}, ArmorItem:{id:"thermalfoundation:horse_armor_platinum",Count:1}, CustomName:"Steed of the Final Hour",Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,ActiveEffects:[{Id:12,Amplifier:255,Duration:999999}],Passengers:[{id:"thaumcraft:cultistcleric",Attributes:[{Name:generic.maxHealth, Base:1000000.0},{Name:generic.attackDamage, Base:1000000.0}],Health:1000000f,PersistenceRequired:1,HandItems:[{Count:1,id:"avaritia:skullfire_sword",tag:{ench:[{id:16,lvl:500},{id:101,lvl:50}]}},{Count:1,id:"contenttweaker:respect_of_death"}],HandDropChances:[0.0f,1.0f],ForgeCaps:{"twilightforest:cap_shield":{tempshields:1000,permshields:1000}},ArmorItems:[{Count:1,id:"avaritia:infinity_boots"},{Count:1,id:"avaritia:infinity_pants"},{Count:1,id:"avaritia:infinity_chestplate"},{Count:1,id:"avaritia:infinity_helmet"}],CustomName:"Death, Lord of the Final Hour",ActiveEffects:[{Id:10,Amplifier:255,Duration:999999}]}]}
var riteofbloodshed = VanillaFactory.createItem("rite_of_bloodshed");
riteofbloodshed.maxStackSize = 1;
riteofbloodshed.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
if(player.getDimension() != 817) {
player.sendChat("Stand in the center of the chalk circle in Mysterium");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [0,0,0], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [0,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [3,0,0], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [-3,0,0], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [-3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [0,0,3], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [0,0,-3], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [0,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [3,0,1], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [3,0,-1], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [-3,0,1], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [-3,0,-1], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [3,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [1,0,3], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [-1,0,3], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [1,0,-3], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("thaumicaugmentation:starfield_glass:1", playerPos, [-1,0,-3], world) == 0){
player.sendChat("Stand in the center of the chalk circle in Mysterium [0,0,3]");
return "FAIL";
}
Commands.call("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:90000.0},{Name:generic.attackDamage, Base:300.0}],Health:90000f}", player, world, true, true);
stack.shrink(1);
return "PASS";
};
riteofbloodshed.register();
//summon bewitchment:demoness ~ ~3 ~ {CustomName:"Baki, the Chained Flame",recipeList:{Recipes:[{buy:{id:"bewitchment:sigil_sentinel",Count:1},sell:{id:"contenttweaker:sigil_flame",Count:1},rewardExp:0b,maxUses:9999999}]},Attributes:[{Name:generic.maxHealth, Base:500.0},{Name:generic.attackDamage, Base:20.0}],Health:500f}
var trinity_fabrial = VanillaFactory.createItem("trinity_fabrial");
trinity_fabrial.maxStackSize = 1;
trinity_fabrial.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
if(player.getDimension() != 111) {
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs in the Lost Cities");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [0,0,0], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [0,0,1], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [0,0,-1], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [1,0,0], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [-1,0,0], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [1,0,1], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [-1,0,1], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [1,0,-1], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:gluttonous_sentient_meatball", playerPos, [-1,0,-1], world) == 0){
player.sendChat("Stand on a 3x3 square of gluttonous sentient meatballs");
return "FAIL";
}
Commands.call("fill ~-7 ~-1 ~ ~7 ~-1 ~ contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~ ~-1 ~-7 ~ ~-1 ~7 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~1 ~-1 ~-5 ~-1 ~-1 ~5 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~5 ~-1 ~-1 ~-5 ~-1 ~1 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~4 ~-1 ~4 ~5 ~-1 ~5 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~-4 ~-1 ~4 ~-5 ~-1 ~5 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~4 ~-1 ~-4 ~5 ~-1 ~-5 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~-4 ~-1 ~-4 ~-5 ~-1 ~-5 contenttweaker:sparkled_oak_planks 0", player, world, false, true);
Commands.call("fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 sparkled_oak_planks 0", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~5 ~2 ~ {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~-5 ~2 ~ {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~ ~2 ~5 {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~ ~2 ~-5 {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~3 ~2 ~3 {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~-3 ~2 ~3 {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~3 ~2 ~-3 {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon aoa3:realmshifter ~-3 ~2 ~-3 {Invulnerable:1,PersistenceRequired:1,CustomName:\"Reincarnated Human Soul\"}", player, world, false, true);
Commands.call("summon Item ~ ~4 ~ {Item:{id:\"contenttweaker:earthly_salvation\",Count:1b}}", player, world, false, true);
stack.shrink(1);
return "PASS";
};
trinity_fabrial.register();
var summonsofragnarok = VanillaFactory.createItem("summons_of_ragnarok");
summonsofragnarok.maxStackSize = 1;
summonsofragnarok.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
if(player.getDimension() != 426) {
player.sendChat("Fill the center 5x5 area left by the Warren Shredder in Arcana with Ragnarok Sigils");
return "FAIL";
}
player.sendChat("Fill the center 5x5 area left by the Warren Shredder in Arcana with Ragnarok Sigils");
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [0,0,0], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [0,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [1,0,0], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-1,0,0], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-1,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [0,0,1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [0,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [0,0,-1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [0,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [2,0,0], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-2,0,0], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-2,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [0,0,2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [0,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [0,0,-2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [0,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [1,0,1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-1,0,1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-1,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [1,0,-1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-1,0,-1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-1,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [2,0,2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-2,0,2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-2,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [2,0,-2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-2,0,-2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-2,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [1,0,2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-1,0,2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-1,0,2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [1,0,-2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-1,0,-2], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-1,0,-2]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [2,0,1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-2,0,1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-2,0,1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [2,0,-1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:ragnarok_sigil", playerPos, [-2,0,-1], world) == 0){
player.sendChat("Missing Ragnarok Sigil: [-2,0,-1]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [3,0,0], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [-3,0,0], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [-3,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [0,0,3], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [0,0,3]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [0,0,-3], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [0,0,-3]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [4,0,0], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [4,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [-4,0,0], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [-4,0,0]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [0,0,4], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [0,0,4]");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:yggdrasil_wood", playerPos, [0,0,-4], world) == 0){
player.sendChat("Missing Yggdrasil Wood: [0,0,-4]");
return "FAIL";
}
Commands.call("/summon divinerpg:rainbour ~10 ~3 ~ {CustomName:\"Nidhogg\",Invulnerable:1,PersistenceRequired:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:999999},{Id:24,Amplifier:0,Duration:999999}],Passengers:[{id:\"minecraft:villager\",CustomName:\"Ratatoskr\",Invulnerable:1,PersistenceRequired:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:999999},{Id:24,Amplifier:0,Duration:999999}],Offers:{Recipes:[{buy:{id:\"botania:infinitefruit\",Count:1},sell:{id:\"contenttweaker:breath_of_ragnarok\",Count:1},rewardExp:0b,maxUses:9999999}]}}]}", player, world, false, true);
stack.shrink(1);
return "PASS";
};
summonsofragnarok.register();
//summon villager ~ ~3 ~ {Invulnerable:1, CustomName:"Loki",Offers:{Recipes:[{buy:{id:"botania:lokiring",Count:1},sell:{id:"contenttweaker:gratitude_of_loki",Count:1},rewardExp:0b,maxUses:9999999}]},Profession:2,Career:1,CareerLevel:3,ActiveEffects:[{Id:14,Amplifier:0,Duration:999999},{Id:24,Amplifier:0,Duration:999999}]}
var summonsofthetwilithero = VanillaFactory.createItem("summons_of_the_twilit_hero");
summonsofthetwilithero.maxStackSize = 1;
summonsofthetwilithero.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
// counter for fails or successes
var matchGen = 0 as int;
// player position
var playerPos = player.position.asPosition3f();
playerPos.x = playerPos.x;
playerPos.y = playerPos.y - 1;
playerPos.z = playerPos.z;
if(player.getDimension() != 7) {
player.sendChat("Replace the top middle portal block in the Crepucular Callstone with a Twilit Freedom Fabrial, and stand on top of it");
return "FAIL";
}
if (getBlockMatchAtPosition("contenttweaker:twilit_freedom_fabrial", playerPos, [0,0,0], world) == 0){
player.sendChat("Replace the top middle portal block in the Crepucular Callstone with a Twilit Freedom Fabrial, and stand on top of it");
return "FAIL";
}
if (getBlockMatchAtPosition("twilightforest:auroralized_glass", playerPos, [0,-1,0], world) == 0){
player.sendChat("Replace the top middle portal block in the Crepucular Callstone with a Twilit Freedom Fabrial, and stand on top of it");
return "FAIL";
}
if (getBlockMatchAtPosition("twilightforest:auroralized_glass", playerPos, [0,-2,0], world) == 0){
player.sendChat("Replace the top middle portal block in the Crepucular Callstone with a Twilit Freedom Fabrial, and stand on top of it");
return "FAIL";
}
if (getBlockMatchAtPosition("twilightforest:auroralized_glass", playerPos, [0,-3,0], world) == 0){
player.sendChat("Replace the top middle portal block in the Crepucular Callstone with a Twilit Freedom Fabrial, and stand on top of it");
return "FAIL";
}
Commands.call("fill ~-5 ~-5 ~-5 ~5 ~1 ~5 contenttweaker:crepuscular_portal_block 0 replace twilightforest:auroralized_glass", player, world, false, true);
stack.shrink(1);
return "PASS";
};
summonsofthetwilithero.register();