The Meaning of Life, the Universe, and Everything.
Join Date:
4/23/2014
Posts:
42
Member Details
I fixed it and could someone tell me how to add spoilers I am using a unrooted nexus 7 tablet with android the mod made using a mod pe creator app
Oh and dzaima? How do you add those achievements?
The Meaning of Life, the Universe, and Everything.
Location:
Maryland
Join Date:
11/1/2013
Posts:
207
Location:
Probably in Unova
Minecraft:
SamurottKnight
Member Details
What you do with it(fake achievement) is copy the url with the [ img ] tags, go to signature in settings, then paste it in the box. Same as the forum signature I'm using now.
i believe there can be a space between the function and (. To my knowledge, javascript or almost all coding languages ignore the spaces. that's why they work when compressed. the spaces are only there to make it readable.
When I open the workbench it crashes the game!
Code:
/*MC Revamped DO NOT REDISTRUBUTE THIS CODE!*/ /*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() { } [size=medium][/size]Oh and dzaima? How do you add those achievements?
But how do you add the achievement so that others can see it?
Did you add the right script? It should look like this:
There has to be no space between the function and the ( .
I am assuming you did this by accident?
That is correct.
The object has to have a capitalised first letter. In this case the object is "Item" not "item".
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]
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]