The Meaning of Life, the Universe, and Everything.
Location:
ocala
Join Date:
7/28/2013
Posts:
55
Member Details
This script mod is from treebl edited by me so basically it makes the cube shown in the preview of mod pe with a diamond and it gives u 64 diamond blocks with a stick.
Enjoy
Ps.i am a beginner I'm not good at making post can someone teach me
Works fine here - Nexus 7 (2012), BlockLauncher 1.2.7 Beta 6.
Also, maybe wrap your code in code tags to get a nice effect:
[code][code]print("I LIKE TRAINS");[/code][/code]
Turns into:
[code]print("I LIKE TRAINS");[/code]
Yeah and thanks I will do that next time u can add to ur repo
https://raw.github.com/zhuowei/ModPEScripts/master/djkid4lyfe_diamonds.js
Currently, I don't have a proper download page up, so if someone wants to download from the repo, they can:
- Long-press on the above link
- Select "copy"
- Go to BlockLauncher, select Launcher Options then Manage ModScripts
- Tap Import, then Web Address, and paste in the address, then finally click OK to import
Enjoy
Ps.i am a beginner I'm not good at making post can someone teach me
Ps.this works now pls test for me
function buildCube(x,y,z,dim)
{
for(var i=0;i<dim;i++)
{
for(var a=0;a<dim;a++)
{
setTile(x+i,y,z+a,56);//diamond
setTile(x+i,y+dim-1,z+a,56);
}
}
for(var i=0;i<dim;i++)
{
for(var a=0;a<dim;a++)
{
setTile(x,y+i,z+a,57);
setTile(x+dim-1,y+i,z+a,246);
}
}
sayHayGurl("y0 philDawggg");
}
function sayHayGurl(msg)
{
print("HAY: "+msg);
}
function useItem(x,y,z,itemId,blockId)//hook
{
if(itemId==352)//Bone
{
setTile(x,y,z,89);//Glowstone
}
else if(itemId==264)
{
buildCube(x,y,z,10);
}
else if(itemId==280)//If your item is a stick
{
addItemInventory(57,64);//Add 5 Dirt blocks to your inventory.
print("Hello World");
}
}
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCan I add this into my mod repo and provide a download from there?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWorks fine here - Nexus 7 (2012), BlockLauncher 1.2.7 Beta 6.
Also, maybe wrap your code in code tags to get a nice effect:
[code][code]print("I LIKE TRAINS");[/code][/code]
Turns into:
[code]print("I LIKE TRAINS");[/code]
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumhttps://raw.github.com/zhuowei/ModPEScripts/master/djkid4lyfe_diamonds.js
Currently, I don't have a proper download page up, so if someone wants to download from the repo, they can:
- Long-press on the above link
- Select "copy"
- Go to BlockLauncher, select Launcher Options then Manage ModScripts
- Tap Import, then Web Address, and paste in the address, then finally click OK to import
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumNew members have this restriction: after a while you should be able to post freely.