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! ---------------->
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! ---------------->
GUYS, i have been having the same prob, i added 4 crafting recipe before now this one won't work
Block.defineBlock(172,"Devil's block",["reactor_core_stage_x",1],1,false, 0);
Block.setDestroyTime(172,3.0);
Block.setLightLevel(172,15)
Block.setShape(172,0,0,0,1,1,1)
Block.setExplosionResistance(172,20,000,000);
ModPE.addCraftRecipe(172, 1, 0, [247, 1, 0, 331, 8, 0]);
ModPE.setItemCategory(172,2,1);
No errors, just when i check the crafting table for the block, i can't find it anywhere.... can u guys fix it thx!
GUYS, i have been having the same prob, i added 4 crafting recipe before now this one won't work
Block.defineBlock(172,"Devil's block",["reactor_core_stage_x",1],1,false, 0);
Block.setDestroyTime(172,3.0);
Block.setLightLevel(172,15)
Block.setShape(172,0,0,0,1,1,1)
Block.setExplosionResistance(172,20,000,000);
ModPE.addCraftRecipe(172, 1, 0, [247, 1, 0, 331, 8, 0]);
ModPE.setItemCategory(172,2,1);
No errors, just when i check the crafting table for the block, i can't find it anywhere.... can u guys fix it thx!
I Tried This Code :
Block.defineBlock(180, "Poop Block",[["snow", 0], ["snow", 0],["snow", 0],["snow", 0],["snow", 0], ["snow", 0]],1); Block.setColor(180, [0x60391F]); Block.setDestroyTime(180,2); function newLevel(){ ModPE.addCraftRecipe(180, 1, 0, [3,0,3,0,3,0,3,0]); }But This Code Isn't Working :'(
Error"array lenght must be multiple of two"..
And I Also Tried
ModPE.addCraftRecipe(180, 1, 0, [3,9]);
But It Didn't Work ....
Gives you 1 420. Require 2 424 and 1 280.
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! ---------------->
Nope doesn't work
Error"array length must be a multiple of two"
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! ---------------->
Change this with the block.defineBlock. the 5 there represents the source block, so its now 5 or wood, now it will show up I the crafting table.
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
if i set the 5 to 1 will it still work ?
Didn't Work
Btw I Have 14 Blocks with id from 180 to 194 and i'm trying to add crafting recipe for all those blocks
Try that.
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Thank yoy soooooo much
Yes!! Source blocks ftw!!
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Block.defineBlock(172,"Devil's block",["reactor_core_stage_x",1],1,false, 0);
Block.setDestroyTime(172,3.0);
Block.setLightLevel(172,15)
Block.setShape(172,0,0,0,1,1,1)
Block.setExplosionResistance(172,20,000,000);
ModPE.addCraftRecipe(172, 1, 0, [247, 1, 0, 331, 8, 0]);
ModPE.setItemCategory(172,2,1);
No errors, just when i check the crafting table for the block, i can't find it anywhere.... can u guys fix it thx!
You can't define the amount of items... You want:
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]
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumModPE.addCraftRecipe(180, 1, 0, [3,9]);
Do it like this ^^
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
Wrong... ModPE.addCraftRecipe() changed. The array only takes [id, data]. YOU CANNOT DEFINE THE AMOUNT!!!!
Instead of:
You HAVE to do:
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]
Here: http://tinyw.in/bl
This will be outdated. This does not work. Install the latest beta and use the code that Noahz gave you. Simple as that.