I want to make a mod and I don't know what's the function(or however is that thing named :-P ) to create a crafting recipe. Also I think that I read somewhere that ModPE has a function that allows you to change the colour of a texture, is that true? And if yes what's the function? Also how can I make a crafting recipe give one item used in it's crafting(like the buckets in the cake recipe)?
I want to make a mod and I don't know what's the function(or however is that thing named :-P ) to create a crafting recipe. Also I think that I read somewhere that ModPE has a function that allows you to change the colour of a texture, is that true? And if yes what's the function? Also how can I make a crafting recipe give one item used in it's crafting(like the buckets in the cake recipe)?
My Signature
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYou can find all ModPE-functions here: BlockLauncher-->Settings-->Nerdy Stuff-->dump ModPE functions.
And here are some useful links:
https://github.com/Connor4898/ModPE-Docs/wiki
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/1987535-0-9-5-modpe-help-2-1-gui-render-types-item
https://github.com/Connor4898/ModPE-Scripts/wiki/Basic-JS-and-ModPE-Tutorials
https://github.com/Connor4898/ModPE-Scripts/wiki/ModPE-Script-Templates
Thanks! I know that you can find all ModPE functions there, but I can't read that wall of text. Also thanks for the pages you linked!
My Signature
The function is like this:
Item.addShapedRecipe(ItemId,Amount,Damage,[
"abc",
"abc", //basically draw the recipe in code
"abc"], [
"a",ItemId,Damage,"b",ItemId,Damage,"c",ItemId, Damage]; //your telling what the letters mean in blocks/items
Hope this helped
Still waiting for Pistons in mcpe, can't wait for it!
Working on a map called Escape, more info on my post about it: http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-maps/2578429-escape-a-mcpe-horror-adventure-map-250-demo