function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==0)//Hand
{
addItemInventory(280,1);
addItemInventory(281,1);
addItemInventory(287,1);
addItemInventory(289,1);
addItemInventory(336,1);
addItemInventory(340,1);
addItemInventory(341,1);
addItemInventory(352,1);
addItemInventory(337,1);
addItemInventory(339,1);
clientMessage("Basic items have been added to you inventory\nUse the stick to recieve lava\nUse the bowl to recieve water\nUse the string to recieve bedrock\nUse the gunpowder to recieve a burning furnace\nUse the clay brick to recieve glowing obsidian\nUse the book to restore your health\nUse the slimeball to be boosted to 25 hearts\nUse the bone to activate lag teleportation\nUse the clay to set your world to survival\nUse the paper to set your world to creative");
}
else if(itemId==280)//Stick
{
addItemInventory(10,64);
clientMessage("Lava has been added to your inventory");
}
else if(itemId==281)//Bowl
{
addItemInventory(8,64);
clientMessage("Water has been added to your inventory");
}
else if(itemId==287)//String
{
addItemInventory(7,64);
clientMessage("Bedrock has been added to your inventory");
}
else if(itemId==289)//Gunpowder
{
addItemInventory(62,1);
clientMessage("A burning furnace has been added to your inventory");
}
else if(itemId==336)//Clay Brick
{
addItemInventory(246,64);
clientMessage("Glowing obsidian have been added to your inventory");
}
else if(itemId==340)//Book
{
Player.setHealth(20);
clientMessage("The player's health has been restored");
}
else if(itemId==341)//Slimeball
{
Player.setHealth(50);
clientMessage("You now have 25 hearts");
}
else if(itemId==352)//Bone
{
setPosition(getPlayerEnt(),x,y+2,z);
}
else if(itemId==337)//Clay
{
Level.setGameType(0);
clientMessage("Your world has been set to survival");
}
else if(itemId==339)//Paper
{
Level.setGameType(1);
clientMessage("Your world has been set to creative");
}
}
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==0)//Hand
{
addItemInventory(280,1);
addItemInventory(281,1);
addItemInventory(287,1);
addItemInventory(289,1);
addItemInventory(336,1);
addItemInventory(340,1);
addItemInventory(341,1);
addItemInventory(352,1);
addItemInventory(337,1);
addItemInventory(339,1);
clientMessage("Basic items have been added to you inventory\nUse the stick to recieve lava\nUse the bowl to recieve water\nUse the string to recieve bedrock\nUse the gunpowder to recieve a burning furnace\nUse the clay brick to recieve glowing obsidian\nUse the book to restore your health\nUse the slimeball to be boosted to 25 hearts\nUse the bone to activate lag teleportation\nUse the clay to set your world to survival\nUse the paper to set your world to creative");
}
else if(itemId==280)//Stick
{
addItemInventory(10,64);
clientMessage("Lava has been added to your inventory");
}
else if(itemId==281)//Bowl
{
addItemInventory(8,64);
clientMessage("Water has been added to your inventory");
}
else if(itemId==287)//String
{
addItemInventory(7,64);
clientMessage("Bedrock has been added to your inventory");
}
else if(itemId==289)//Gunpowder
{
addItemInventory(62,1);
clientMessage("A burning furnace has been added to your inventory");
}
else if(itemId==336)//Clay Brick
{
addItemInventory(246,64);
clientMessage("Glowing obsidian have been added to your inventory");
}
else if(itemId==340)//Book
{
Player.setHealth(20);
clientMessage("The player's health has been restored");
}
else if(itemId==341)//Slimeball
{
Player.setHealth(50);
clientMessage("You now have 25 hearts");
}
else if(itemId==352)//Bone
{
setPosition(getPlayerEnt(),x,y+2,z);
}
else if(itemId==337)//Clay
{
Level.setGameType(0);
clientMessage("Your world has been set to survival");
}
else if(itemId==339)//Paper
{
Level.setGameType(1);
clientMessage("Your world has been set to creative");
}
}
Sadly, your script didn't work correctly. Blocklauncher always says there's an error. :/ please fix.
No need to thank me!
Also everyone, you CAN enter twice, if you want.
One more thing, we have nearly 40 replies in TWO DAYS! keep these replies coming at this rate, so the topic can become hot! thanks a lot to all of you have have participated so far!!
Ah you can enter twice yeah? I will! (Just for fun)
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
To post a comment, please login or register a new account.
function procCmd(cmd) { var c = cmd.split(" "); if(c[0] == "ctower") { function spawnTower(commanda, commandb, commandc) { one = Level.spawnMob(commanda,commandb,commandc,33); two = Level.spawnMob(commanda,commandb,commandc,33); three = Level.spawnMob(commanda,commandb,commandc,33); four = Level.spawnMob(commanda,commandb,commandc,33); five = Level.spawnMob(commanda,commandb,commandc,33); six = Level.spawnMob(commanda,commandb,commandc,33); seven = Level.spawnMob(commanda,commandb,commandc,33); eight = Level.spawnMob(commanda,commandb,commandc,33); nine = Level.spawnMob(commanda,commandb,commandc,33); ten = Level.spawnMob(commanda,commandb,commandc,33); } function ride() { rideAnimal(one, two); rideAnimal(two, three); rideAnimal(three, four); rideAnimal(four, five); rideAnimal(five, six); rideAnimal(six, seven); rideAnimal(seven, eight); rideAnimal(eight, nine); rideAnimal(nine,ten); } clientMessage("Spawned Creeper Tower"); var commandx = c[1]; var commandy = c[2]; var commandz = c[3]; x = getPlayerX(); y = getPlayerY(); z = getPlayerZ(); if(c[1] !== "player") { spawnTower(commandx,commandy,commandz); ride(); } if(c[1] == "player") { spawnTower(x,y + 2,z); ride(); } } }yaay. use /ctower player
or just /ctower to spawn a creeper tower. its a fun boss.
lines:46
Yaay f u n.
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
Awesome! I love this mod. You made the hall of fame! I will update the topic and give you your achievement soon!
//do not copy © diasoscar209mc
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==0)//Hand
{
addItemInventory(302,1);
addItemInventory(303,1);
addItemInventory(304,1);
addItemInventory(305,1);
addItemInventory(272,1);
clientMessage("kit has been added.");
}
else if(itemId==280)//Stick
{
addItemInventory(306,1);
addItemInventory(307,1);
addItemInventory(308,1);
addItemInventory(309,1);
addItemInventory(267,1);
clientMessage("kit has been added.");
}
else if(itemId==266)//gold ingit
{
addItemInventory(314,1);
addItemInventory(315,1);
addItemInventory(316,1);
addItemInventory(317,1);
addItemInventory(283,1);
clientMessage("kit has been added.");
}
else if(itemId==264)//diamond
{
addItemInventory(310,1);
addItemInventory(311,1);
addItemInventory(312,1);
addItemInventory(313,1);
addItemInventory(276,1);
clientMessage("kit has been added.");
}
else if(itemId==334)//leather
{
addItemInventory(298,1);
addItemInventory(299,1);
addItemInventory(300,1);
addItemInventory(301,1);
addItemInventory(268,1);
clientMessage("kit has been added.");
}
}
/*Spawns rainbow wool that says Hi and puts you on a wool platform. Not very useful, unless you want a rainbow wool farm.*/ function useItem(x,y,z, itemId, blockId, side){ if(itemId == 280){ if(blockId == 2){ setTile(x=35, y=80, z=144, 35, 14); setTile(x=35, y=81, z=144, 35, 1); setTile(x=35, y=82, z=144, 35, 4); setTile(x=35, y=83, z=144, 35, 5); setTile(x=35, y=84, z=144, 35, 11); setTile(x=35, y=85, z=144, 35, 3); setTile(x=35, y=86, z=144, 35, 6); setTile(x=35, y=87, z=144, 35, 2); setTile(x=35, y=84, z=145, 35, 11); setTile(x=35, y=80, z=146, 35, 14); setTile(x=35, y=81, z=146, 35, 1); setTile(x=35, y=82, z=146, 35, 4); setTile(x=35, y=83, z=146, 35, 5); setTile(x=35, y=84, z=146, 35, 11); setTile(x=35, y=85, z=146, 35, 3); setTile(x=35, y=86, z=146, 35, 6); setTile(x=35, y=87, z=146, 35, 2); setTile(x=35, y=80, z=148, 35, 14); setTile(x=35, y=81, z=148, 35, 1); setTile(x=35, y=82, z=148, 35, 4); setTile(x=35, y=83, z=148, 35, 5); setTile(x=35, y=84, z=148, 35, 11); setTile(x=35, y=85, z=148, 35, 3); setTile(x=35, y=87, z=148, 35, 2); setTile(x=31, y=82, z=147, 35); setTile(x=30, y=82, z=147, 35); setTile(x=32, y=82, z=147, 35); setTile(x=32, y=82, z=146, 35); setTile(x=32, y=82, z=148, 35); setTile(x=30, y=82, z=146, 35); setTile(x=30, y=82, z=148, 35); setTile(x=32, y=82, z=146, 35); setTile(x=32, y=82, z=148, 35); setTile(x=31, y=82, z=148, 35); setTile(x=31, y=82, z=146, 35); setPosition(getPlayerEnt(), x=31, y=85, z=148); } } };Can I haz cookie meow?
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==0)//Hand
{
addItemInventory(280,1);
addItemInventory(281,1);
addItemInventory(287,1);
addItemInventory(289,1);
addItemInventory(336,1);
addItemInventory(340,1);
addItemInventory(341,1);
addItemInventory(352,1);
addItemInventory(337,1);
addItemInventory(339,1);
clientMessage("Basic items have been added to you inventory\nUse the stick to recieve lava\nUse the bowl to recieve water\nUse the string to recieve bedrock\nUse the gunpowder to recieve a burning furnace\nUse the clay brick to recieve glowing obsidian\nUse the book to restore your health\nUse the slimeball to be boosted to 25 hearts\nUse the bone to activate lag teleportation\nUse the clay to set your world to survival\nUse the paper to set your world to creative");
}
else if(itemId==280)//Stick
{
addItemInventory(10,64);
clientMessage("Lava has been added to your inventory");
}
else if(itemId==281)//Bowl
{
addItemInventory(8,64);
clientMessage("Water has been added to your inventory");
}
else if(itemId==287)//String
{
addItemInventory(7,64);
clientMessage("Bedrock has been added to your inventory");
}
else if(itemId==289)//Gunpowder
{
addItemInventory(62,1);
clientMessage("A burning furnace has been added to your inventory");
}
else if(itemId==336)//Clay Brick
{
addItemInventory(246,64);
clientMessage("Glowing obsidian have been added to your inventory");
}
else if(itemId==340)//Book
{
Player.setHealth(20);
clientMessage("The player's health has been restored");
}
else if(itemId==341)//Slimeball
{
Player.setHealth(50);
clientMessage("You now have 25 hearts");
}
else if(itemId==352)//Bone
{
setPosition(getPlayerEnt(),x,y+2,z);
}
else if(itemId==337)//Clay
{
Level.setGameType(0);
clientMessage("Your world has been set to survival");
}
else if(itemId==339)//Paper
{
Level.setGameType(1);
clientMessage("Your world has been set to creative");
}
}
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Your mod didn't work in blocklauncher. I believe you don't have equal {}'s. please fix!
Sadly, your script didn't work correctly. Blocklauncher always says there's an error. :/ please fix.
You will be added to the hall of fame! and your cookie will be on it's way soon!
will have a mod soon
It's a secret to everybody...
And awesome!
Makes you jump much higher
Download: https://db.tt/UCJy1FeJ
Lines: 13
I love it! you made the hall of fame, and I'll PM your achievement.
Awesome! can't wait to see what you make!
Diamond Pickaxe= insta-mine
Diamond Sword=explosive
Hope you like
Download: http://www.mediafire.com/?g175q0136rordm4
Almost forgot,lines:13
Please fix.
You made the hall of fame! I'll update the topic in the morning, as it is late for me.
But I will PM You your achievement now.
No need to thank me!
Also everyone, you CAN enter twice, if you want.
One more thing, we have nearly 40 replies in TWO DAYS! keep these replies coming at this rate, so the topic can become hot! thanks a lot to all of you have have participated so far!!
if it is wrong somebody pm me
function useItem (x,y,z,itemId,blockId)
{
if(getCarriedItem()=="271")
{
Level.explode(x,y,z,"2");
}
}
{
if(getCarriedItem()=="275")
{
Level.explode(x,y,z,"2");
}
}
{
if(getCarriedItem()=="258")
{
Level.explode(x,y,z,"2");
}
}
{
if(getCarriedItem()=="286")
{
Level.explode(x,y,z,"2");
}
}
{
if(getCarriedItem()=="279")
{
Level.explode(x,y,z,"2");
}
}
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->