Question: About a week ago, someone posted a tutorial for adding food items via scripting (I feel like it was 500ise or byteandahalf or donald or someone else who has posted lots of tutorials). It showed how to add a cookie, and I think a blaze rod or something too. It was a simple and useful tutorial. Who posted it/where is it? I can't find it now. Thanks!
Ah! First question! Anyways I'm not sure who posted it or where but a way you could do it is finding the id ( http://www.minecraftinfo.com/IDList.htm ) and making sure its coded in cookies and balze rods are so you would make the following code
if(itemId==280);//A Stick
}
addItemInventory(369,1);//A Blaze Rod
addItemInventory(357,1);//A Cookie
}
Dude, Really you want us not to copy it this is like directly from TreeBL's list of functions! It was a complete mess!! All you did was copy paste! You didn't even add something like a if(itemId==280&&blockId==1); (Just an example) Come on bro! Anyways I've somewhat cleaned it up I don't think it works but it's clean. I didn't bother testing, but heres the code, and heres the Id if you want that instead: 11347
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==280);//A stick
}
print(hello world);
{
print(before using the mod install the tp on the fourms);
}
addItemInventory(355,1);
{
getData(x, y, z);
}
useItem(x,y,z,45,280);
{
clientMessage(TYPE /cl IN CHAT);
}
procCmd(cl);
{
bl_saveData(,value);
{
ModPE.setGuiBlocks(folder/texture.png)
}
Need help on a ModPE script or just need ideas? Well, you've come to the right place ask any question you wish about ModPE and your sure to be answered! Though I'm a not-so advanced modder your question will surely be answered by someone with a high experience in ModPE modding! If you are helped here it would be nice if you gave the topic and the answerer a 1+! Thanks for visiting and if you don't have a question try and help someone out!Here Are Some Helpful Links If Your Brand New To ModPE Modding:http://www.codecadem...vascript http://www.htmldog.c...ascript/ http://www.w3schools....com/js/ http://www.codeacademy.com/ <----- The one i am currently learning from really good! When You Earn Your Achievement You Are Expected To Go By The Honor System! Please Do Not Take One Without Earning It!Help 5 Users
Looks good! I know your not IOS but is there anyway you can get it out to all the jailbroken IOS users. (Same with BlockLauncher) I know i'm asking a lot but i really wish some of the AWESOME features of BlockLaucher and BlockOptionEditor were available to IOS!
Instant Invisible Bedrock!: Number Of Lines: 7
Ever needed a glass like block that was invincible?
Well wait no longer you can now get this glass like substance with the resistance of bedrock by simply hitting the blocks you need to change with a wooden stick!
How To Use:
Simply hit the block that you want to change with a stick!
Okay, I am about to go ALL kinds of noob but, what OS are you on? The reason I ask is because while you were recording you had taps on as though you were using Display Recorder from Cydia (Or the really old app store) and I'm not sure if there is one for Android. Then you had the layout of a Android device as well as a app thats not available to IOS users. Sorry if i seem really nooby which I'm not (Some Times )
0
And it should add it too your inventory!
0
1
http://www.htmldog.c...ascript/
http://www.w3schools....com/js/
http://www.codeacademy.com/ <----- The one i am currently learning from really good!
When You Earn Your Achievement You Are Expected To Go By The Honor System! Please Do Not Take One Without Earning It!Help 5 Users
0
0
0
0
0
0
0
0
0
Ever needed a glass like block that was invincible?
Well wait no longer you can now get this glass like substance with the resistance of bedrock by simply hitting the blocks you need to change with a wooden stick!
How To Use:
Simply hit the block that you want to change with a stick!
Id:
3272
0
0
0