Change Item.addCraftRecipe to ModPE.addCraftRecipe
Nop it is Item.addCraftRecipe
Rollback Post to RevisionRollBack
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
To post a comment, please login or register a new account.
Plz HELP! BTW this mod is WIP!
Code:
/*MC Revamped*/ /*DO NOT COPY THIS!*/ /*Made by drag0nrider27*/ ModPE.setItem (500, "emerald", 0, "Emerald"); Item.addFurnaceRecipe (196, 500, 0); Item.addFurnaceRecipe (197, 406, 0); Item.addCraftRecipe (190, 1, 0, [331, 9, 0]); function useItem(x, y, z, itemId, blockId, side) { } function attackHook(attacker, victim) { } function modTick() { } function procCmd(command) { var cmd = command.split(" "); if(cmd[0] == "help") { clientMessage(ChatColor.DARK_GRAY + "Showing Help Page 1/1"); clientMessage(ChatColor.DARK_BLUE + "/info"); clientMessage(ChatColor.DARK_BLUE + "/stuffs"); clientMessage(ChatColor.DARK_BLUE + "/MC_Revamped"); } if(cmd[0] == "info") { clientMessage(ChatColor.GOLD + "Item ID's : " + ChatColor.DARK_PURPLE + "500, 190, 195, 196, 197, 198, 199, 200,"); clientMessage(ChatColor.DARK_PURPLE + "201, 202, 203"); clientMessage(ChatColor.YELLOW + "sorry Item.addCraftRecipe " + ChatColor.RED + "CRASHES " + ChatColor.YELLOW + "the game!" + ChatColor.AQUA + " FIXED!"); } if(cmd[0] == "stuffs") { clientMessage(ChatColor.LIGHT_PURPLE + "Password?"); } if(cmd[0] == "MC_Revamped") { clientMessage(ChatColor.AQUA + "All Items Have Been Added To Your Inventory!"); Player.addItemInventory(500, 64, 0); Player.addItemInventory(190, 64, 0); Player.addItemInventory(195, 64, 0); Player.addItemInventory(196, 64, 0); Player.addItemInventory(197, 64, 0); Player.addItemInventory(198, 64, 0); Player.addItemInventory(199, 64, 0); Player.addItemInventory(200, 64, 0); Player.addItemInventory(201, 64, 0); Player.addItemInventory(202, 64, 0); Player.addItemInventory(203, 64, 0); } } function newLevel() { clientMessage(ChatColor.BLUE + "Welcome to" + ChatColor.GREEN + " MC Revamped!"); clientMessage(ChatColor.AQUA + "By: drag0nrider27" + ChatColor.RED + " Version 1.3"); Block.defineBlock(190, "Redstone Block", [["redstone_block", 0], ["redstone_block" , 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0]], 6, true, 0); Block.setDestroyTime(190, 2.0); Block.defineBlock(195, "Emerald Block", [["emerald_block", 0], ["emerald_block" , 0], ["emerald_block", 0], ["emerald_block", 0], ["emerald_block", 0], ["emerald_block", 0]], 6, true, 0); Block.setDestroyTime(195, 2.0); Block.defineBlock(196, "Emerald Ore", [["emerald_ore", 0], ["emerald_ore" , 0], ["emerald_ore", 0], ["emerald_ore", 0], ["emerald_ore", 0], ["emerald_ore", 0]], 6, true, 0); Block.setDestroyTime(196, 2.0); Block.defineBlock(197, "Quartz Ore", [["quartz_ore", 0], ["quartz_ore" , 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0]], 6, true, 0); Block.setDestroyTime(197, 2.0); Block.defineBlock(198, "Topiary Grass", [["grass", 3], ["grass" , 3], ["grass", 3], ["grass", 3], ["grass", 3], ["grass", 3]], 6, true, 0); Block.setDestroyTime(198, 0.5); Block.defineBlock(199, "Harvester S", [["piston_bottom" , 0], ["furnace" , 1], ["stonecutter", 2], ["stonecutter", 2], ["stonecutter", 2], ["stonecutter", 2]], 6, true, 0); Block.setDestroyTime(199, 3.0); Block.defineBlock(200, "Mycelium", [["dirt" , 0], ["mycelium_top" , 0], ["mycelium_side", 0], ["mycelium_side", 0], ["mycelium_side", 0], ["mycelium_side", 0]], 6, true, 0); Block.setDestroyTime(200, 1.0); Block.defineBlock(201, "Redstone Lamp", [["redstone_lamp_on" , 0], ["redstone_lamp_on" , 0], ["redstone_lamp_on" , 0], ["redstone_lamp_on" , 0], ["redstone_lamp_on" , 0], ["redstone_lamp_on" , 0]], 6, true, 0); Block.setDestroyTime(201, 0.3); Block.setLightLevel(201, 10); Block.defineBlock(202, "Enchanting Table", [["enchanting_table_bottom" , 0], ["enchanting_table_top" , 0], ["enchanting_table_side" , 0], ["enchanting_table_side" , 0], ["enchanting_table_side" , 0], ["enchanting_table_side" , 0]], 6, true, 0); Block.setDestroyTime(202, 4.5); Block.setLightLevel(202, 2); Block.defineBlock(203, "Soul Sand", [["soul_sand" , 0], ["soul_sand" , 0], ["soul_sand" , 0], ["soul_sand" , 0], ["soul_sand" , 0], ["soul_sand" , 0]], 6, true, 0); Block.setDestroyTime(203, 1.5); } function leaveGame() { }Yes I know but the mod is wip I have ideas for it in the future
Nop it is Item.addCraftRecipe
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11