The Meaning of Life, the Universe, and Everything.
Join Date:
7/21/2014
Posts:
66
Location:
An outerspace Utopia
Member Details
Hello. I have made a mod. It's called the SuperBoss Mod (I'm terrible at names, OK). Copy and paste the coding in the spoiler in a .js file. Then, install the mod on Blocklauncher. Then, have fun!
/*Super Boss Mod*/
//The Super Boss Mod
//By Charlie20003
//Do not claim as your own!
function useItem(x, y, z, itemId, blockId, side)
{
if (itemId==383)
{
ModPE.setItem (383, "spawn_egg", 0, "Spawn Super Boss");
Hello. I have made a mod. It's called the SuperBoss Mod (I'm terrible at names, OK). Copy and paste the coding in the spoiler in a .js file. Then, install the mod on Blocklauncher. Then, have fun!
/*Super Boss Mod*/
//The Super Boss Mod
//By Charlie20003
//Do not claim as your own!
function useItem(x, y, z, itemId, blockId, side)
{
if (itemId==383)
{
ModPE.setItem (383, "spawn_egg", 0, "Spawn Super Boss");
Level.setTime (14000);
skeleton=Level.spawnMob (x, y+1, z, 34, "mob/magmacube.png");
enderman=Level.spawnMob (x, y+1, z, 38, "mob/magmacube.png");
zombie=Level.spawnMob (x, y+1, z, 32, "mob/magmacube.png");
spider=Level.spawnMob (x, y+1, z, 35, "mob/magmacube.png");
Entity.setHealth(skeleton, 100);
Entity.setHealth(enderman, 100);
Entity.setHealth(zombie, 100);
Entity.setHealth(spider, 100);
Entity.rideAnimal (skeleton, enderman);
Entity.rideAnimal (enderman, zombie);
Entity.rideAnimal (zombie, spider);
Entity.setNameTag (skeleton, "Super Boss");
clientMessage (ChatColor.RED + "You are a fool for releasing me into this world, and you will be punished severely");
}
}
function attackHook(attacker, victim)
{
}
function modTick()
{
if (Entity.getMobSkin=="mob/magmacube.png")
{
Level.addParticle(particleType.lava, Entity.getX(), Entity.getY(), Entity.getZ(), 0, 0, 0, 2);
}
}
function procCmd(command)
{
var cmd = command.split(" ");
if(cmd[0] == "superboss")
{
clientMessage (ChatColor.RED + "The spawn egg has been given to you.");
addItemInventory (383, 1);
}
}
function newLevel()
{
clientMessage (ChatColor.RED + "The Super Boss Mod, by Charlie20003.")
clientMessage (ChatColor.RED + "Type /superboss to get the Super Boss spawn egg.")
}
function leaveGame()
{
}
Charlie Nice!
Not bad Charlie!
Thanks you guys! Sorry I couldn't make a download link (I'm not allowed to
)
Note: the modTick part doesn't work for some reason.