Ok, posted an update to fix the textures. Also, updated the screenshots! Go check them out!
Also, now putting up a texture pack for when the ModPE.overrrideTexture dosent work
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
(If it doesn't work, I don't know about it. I'm not a texture expert xD
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
Look, I do not know what's up with the textures, but I am finishing the smeltery, so if we can't fix the items.meta thing we can just post the smeltery version
Yeah, I guess so. Asking Darkserver about it.:/
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
It said this when i tried to import: var terrainAtlas = "http://dl.com/s/uqhibhc9zgrnciq/terrain-atlas.tga;
org.mozilla.javascript.EvaluatorException: unterminated string literal (Tinkers' Construct 0.6.0.js#17)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Unknown Source)
at org.mozilla.javascript.DefaultErrorReporter.error(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.TokenStream.getToken(Unknown Source)
at org.mozilla.javascript.Parser.peekToken(Unknown Source)
at org.mozilla.javascript.Parser.assignExpr(Unknown Source)
at org.mozilla.javascript.Parser.variables(Unknown Source)
at org.mozilla.javascript.Parser.statementHelper(Unknown Source)
at org.mozilla.javascript.Parser.statement(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Context.compileImpl(Unknown Source)
at org.mozilla.javascript.Context.compileReader(Unknown Source)
at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:151)
at java.lang.Thread.run(Thread.java:856)
Guys I think that you should ask help from a texture expert to fix this mod cuss I don't want that one of my favorite mod to get broken :))))) ����������������������������
Posting update today. Just watch the tread and use 0.5.8 until then.
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
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
Textures still doesn't work, but the texture pack works, but there are bugs with the texture pack, there are black lining on the blocks that arent full blocks
Found a Bug: The smelery active can be crafted with wood?! Lol you used the I'd of the wooden slabs. ��������������������������������������������☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺
yay the texture pack works :). will work on it(Black textures and stuff). Working on the crafting now
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
Tip: The Texture pack worked because I deleted the ModPE.overideTexture thing so that the items-opaque from the texture pack will not be overwritten you should make a js. For the texture pack so that doesn't have the ModPE.overrideTexture thing
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
Hi guys. So lately I have been working on an update to fix all the bugs with 0.6.0. I also heard people saying this mod is dead? (Btw, its not!) I have tested it, and now it is ready to run. Now, it runs correctly. Yes, I know I have said this 11 times before. You want proof?
Have some screenshots!!
The new Tool Forge texture that I created: The Copper ore: The Smeltery blocks: And some crafting recipes: And lastly, the ore bricks, because they look cool and #yolo:
Known bugs:
The Copper textures: I couldn't get the Copper textures working, so for now all the Copper tool textures look like the Stone ones xD. Also, the Copper ingot looks like a clay brick.
The Ore spawn:
The Furnace recipes: For some reason, there's a bug with Blocklauncher where whenever you make a furnace recipe it crashes the game. So, the recipes that would normally be in the Furnace
Eg: Smelting Grout to Seared brick, Copper Ore to Copper ingot
Are in the crafting table.
Bugs fixed:
Crash bugs
A bug where you could only craft the "Smeltery active" block
A bug where the textures didn't override
A bug where the Tool Forge was uncraftable
A bug when it screwed all textures
Things changed/tweaked
To get the blocks, craft them in the Stonectutter
Things added:
Grout(Craft it in the Stonecutter with 2 Gravel and 1 Clay(Item))
Seared brick(Item, craft it with 1 Grout block)
Seared brick(Block, craft it with 4 Seared brick(Item)
Smeltery controller(Craft it with 8 seared brick and a furnace) [NOTE:The Smeltery is not implemented yet, only the blocks]
Copper Ore(Craft it with 3 Iron ore)
Copper ingot(Craft it with 1 Copper Ore)
Copper sword blade(Craft it with 2 Copper ingots and a pattern)
Copper wide guard(Craft it with 2 Copper ingots and a pattern)
Copper tool rod(Craft it with 2 Copper ingots and a pattern)
Copper Broadsword(Craft it with 1 Copper tool rod, 1 Copper wide guard, and 1 Copper Sword blade)
New tools:
Copper Broadsword: Does 7 attack damage(1 better than a Diamond sword)
No sharpness or firey yet, coming soon!!
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
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
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
Also, now putting up a texture pack for when the ModPE.overrrideTexture dosent work
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
https://www.dropbox.com/s/kx7wtmxhmehpnr6/Tinkers constrruct.zip
(If it doesn't work, I don't know about it. I'm not a texture expert xD
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
Yeah, I guess so. Asking Darkserver about it.:/
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
org.mozilla.javascript.EvaluatorException: unterminated string literal (Tinkers' Construct 0.6.0.js#17)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Unknown Source)
at org.mozilla.javascript.DefaultErrorReporter.error(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.TokenStream.getToken(Unknown Source)
at org.mozilla.javascript.Parser.peekToken(Unknown Source)
at org.mozilla.javascript.Parser.assignExpr(Unknown Source)
at org.mozilla.javascript.Parser.variables(Unknown Source)
at org.mozilla.javascript.Parser.statementHelper(Unknown Source)
at org.mozilla.javascript.Parser.statement(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Context.compileImpl(Unknown Source)
at org.mozilla.javascript.Context.compileReader(Unknown Source)
at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:151)
at java.lang.Thread.run(Thread.java:856)
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
Found a Bug: The smelery active can be crafted with wood?! Lol you used the I'd of the wooden slabs. ��������������������������������������������☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
Have some screenshots!!
The new Tool Forge texture that I created:
The Copper ore:
The Smeltery blocks:
And some crafting recipes:
And lastly, the ore bricks, because they look cool and #yolo:
Known bugs:
The Copper textures: I couldn't get the Copper textures working, so for now all the Copper tool textures look like the Stone ones xD. Also, the Copper ingot looks like a clay brick.
The Ore spawn:
The Furnace recipes: For some reason, there's a bug with Blocklauncher where whenever you make a furnace recipe it crashes the game. So, the recipes that would normally be in the Furnace
Eg: Smelting Grout to Seared brick, Copper Ore to Copper ingot
Are in the crafting table.
Bugs fixed:
Crash bugs
A bug where you could only craft the "Smeltery active" block
A bug where the textures didn't override
A bug where the Tool Forge was uncraftable
A bug when it screwed all textures
Things changed/tweaked
To get the blocks, craft them in the Stonectutter
Things added:
Grout(Craft it in the Stonecutter with 2 Gravel and 1 Clay(Item))
Seared brick(Item, craft it with 1 Grout block)
Seared brick(Block, craft it with 4 Seared brick(Item)
Smeltery controller(Craft it with 8 seared brick and a furnace) [NOTE:The Smeltery is not implemented yet, only the blocks]
Copper Ore(Craft it with 3 Iron ore)
Copper ingot(Craft it with 1 Copper Ore)
Copper sword blade(Craft it with 2 Copper ingots and a pattern)
Copper wide guard(Craft it with 2 Copper ingots and a pattern)
Copper tool rod(Craft it with 2 Copper ingots and a pattern)
Copper Broadsword(Craft it with 1 Copper tool rod, 1 Copper wide guard, and 1 Copper Sword blade)
New tools:
Copper Broadsword: Does 7 attack damage(1 better than a Diamond sword)
No sharpness or firey yet, coming soon!!
So that's about it, hope you enjoy!!
Download:
https://www.dropbox....xkncfgnp/hat.js
Next update: Some GUI! Yay!!
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
1
2
/*Tinkers Construct Mod*/ /*made by NESbeat & Minecraftmuse3*/ var items_opaque = "http://dl.dropbox.com/s/zmno1aapomhmre1/items_opaque16.png"; ModPE.overrideTexture("images/items-opaque.png", items_opaque); var terrainAtlas = "http://dl.com/s/uqhibhc9zgrnciq/terrain-atlas.tga"; ModPE.overrideTexture("images/terrain-atlas_.tga", terrainAtlas); var itemsMeta = "http://dl.dropbox.com/s/c0dsxb3fvdeuw9g/items FIXED.meta"; ModPE.overrideTexture("images/items.meta",itemsMeta); function newLevel(){ clientMessage(ChatColor.GREEN + "Tinkers' Construct" + ChatColor.WHITE + " by" + ChatColor.RED + " Minecraftmuse3" + ChatColor.WHITE + " &" + ChatColor.BLUE + " NESbeat"); }
Block.defineBlock(200, "Smeltery", [["jukebox_side", 0], ["jukebox_side", 0], ["jukebox_side", 0], ["vine", 0], ["jukebox_s
Whaaatttttt?????? I did WAYYYY more than that... checking it out nowHers the code
That works!!
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
If u need a beta tester pm me
Edit= dam.
java.io.FileNotFoundException: /data/data/net.zhuoweizhang.mcpelauncher.pro/app_modscripts/*Tinkers Construct Mod*/ /*made by NESbeat & Minecraftmuse3*/ var items_opaque = "http:/dl.dropbox.com/s/zmno1aapomhmre1/items_opaque16.png"; ModPE.overrideTexture("images/items-opaque.png", items_opaque); var terrainAtlas = "http:/dl.com/s/uqhibhc9zgrnciq/terrain-atlas.tga"; ModPE.overrideTexture("images/terrain-atlas_.tga", terrainAtlas); var itemsMeta = "http:/dl.dropbox.com/s/c0dsxb3fvdeuw9g/items%20FIXED.meta"; ModPE.overrideTexture("images/items.meta",itemsMeta); function newLevel(){ clientMessage(ChatColor.GREEN + "Tinkers' Construct" + ChatColor.WHITE + " by" + ChatColor.RED + " Minecraftmuse3" + ChatColor.WHITE + " &" + ChatColor.BLUE + " NESbeat"); } Block.defineBlock(200, "Smeltery", [["jukebox_side", 0], ["jukebox_side", 0], ["jukebox_side", 0], ["vine", 0], ["jukebox_side", 0], ["jukebox_side", 0]], false, 3); Block.setDestroyTime(200, 1);Item.addCraftRecipe(200, 1, 0, [201, 8, 0, 61, 1, 0]); Block.defineBlock(201, "Seared brick", ["jukebox_side", 0], false, 4); Item.addCraftRecipe(201, 1, 0, [205, 4, 0]); Block.defineBlock(202, "Grout", ["redstone_lamp_off", 0], false, 4); Item.addCraftRecipe(202, 1, 0, [337, 1, 0, 13, 2, 0]); ModPE.setItem(205, "saddle", 0, "Seared brick"); Item.setCategory(205, 3); Item.addCraftRecipe(205, 4, 0, [202, 1, 0]); Block.defineBlock(203, "Copper ore", ["jukebox_top", 0], false, 4); Item.addCraftRecipe(203, 1, 0, [15, 3, 0]); Block.defineBlock(255, "Tool Forge", [["iron_blo f2f k",0],["emerald_block",3],["iron_block",0], ["iron_block",0], ["iron_block",0],["iron_block",0]], 4, false, 0); Block.setDestroyTime(255, 5); Item.addCraftRecipe(255, 1, 0, [496, 1, 0, 42, 1, 0]); Block.defineBlock(254, "Diamond Brick", ["redstone_block", 0], 4, false); Block.setDestroyTime(254, 5); Block.defineBlock(253, "Obsidian Brick", ["quartz_ore", 0], 4, false); Block.setDestroyTime(253, 10); Block.defineBlock(252, "Lapis Brick", ["emerald_ore", 0], 4, false); Block.setDestroyTime(252, 5); Block.defineBlock(251, "Iron Brick", ["mushroom_block_skin_stem", 0], 4, false); Block.setDestroyTime(251, 5); Block.defineBlock(250, "Frying Pan", [["cauldron_inner",0], ["cauldron_top",0], ["cauldron_inner",0], ["cauldron_inner",0],["cauldron_inner",0],["iron_block",0]], 4, true, 7); Block.setDestroyTime(250, 2); Block.setShape(250, 0, 0, 0, 1, 4/16, 1); Block.defineBlock(249, "Handle", [["cauldron_inner", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0],["cauldron_inner", 0], ["cauldron_inner", 0]], 4, true, 7); Block.setDestroyTime(249, 2); Block.setShape(249, 0, 0, 7/16, 1, 2/16, 9/16); /*Custom Items*/ModPE.setItem(471, "brick", 0, "Copper ingot"); Item.setCategory(471, 2); Item.addCraftRecipe(471, 1, 0, [203, 1, 0]); ModPE.setItem(460, "record_mall", 0, "Copper wide guard"); Item.addCraftRecipe(460, 1, 0, [471, 3, 0, 496, 1, 0]); Item.setCategory(460, 2); ModPE.setItem(459, "record_cat", 0, "Copper tool rod"); Item.setCategory(459, 2); Item.addCraftRecipe(459, 1, 0, [471, 2, 0, 496, 1, 0]); ModPE.setItem(458, "repeater", 0, "Copper sword blade"); Item.setCategory(458, 2); Item.addCraftRecipe(458, 1, 0, [471, 2, 0, 496, 1, 0]); ModPE.setItem(496, "record_11", 0, "Pattern"); Item.addCraftRecipe(496, 1, 0, [5, 2, 0, 280, 2, 0]); Item.setCategory(496, 4); ModPE.setItem(499, "repeater", 0, "Sword Blade"); Item.addCraftRecipe(499, 1, 0, [496, 1, 0, 4, 2, 0]); Item.setCategory(499, 2); ModPE.setItem(498, "rotten_flesh", 0, "Crossbar"); Item.addCraftRecipe(498, 1, 0, [496, 1, 0, 4, 1, 0]); Item.setCategory(498, 2); ModPE.setItem(497, "record_cat", 0, "Tool Rod"); Item.addCraftRecipe(497, 1, 0, [496, 1, 0, 4, 1, 0]); Item.setCategory(497, 2); ModPE.setItem(501, "blaze_rod", 0, "Blaze Rod"); Item.addCraftRecipe(501, 1, 0, [266, 2, 0]); Item.setCategory(501, 8); ModPE.setItem(502, "blaze_powder", 0, "Blaze Powder"); Item.addCraftRecipe(502, 3, 0, [501, 1, 0]); Item.setCategory(502, 8); ModPE.setItem(500, "ruby", 0, "Rapier"); Item.addCraftRecipe(500, 1, 0, [497, 1, 0, 498, 1, 0, 499, 1, 0]); Item.setCategory(500, 2); Item.setMaxDamage(500, 131); ModPE.setItem(503, "record_13", 0, "Rapier Sharpness I"); Item.addCraftRecipe(503, 1, 0, [500, 1, 0, 406, 1, 0]); Item.setCategory(503, 2); Item.setMaxDamage(503, 131); ModPE.setItem(505, "record_13", 0, "Rapier Sharpness II"); Item.addCraftRecipe(505, 1, 0, [503, 1, 0, 406, 35, 0]); Item.setCategory(505, 2); Item.setMaxDamage(505, 131); ModPE.setItem(506, "record_13", 0, "Rapier Sharpness III"); Item.addCraftRecipe(506, 1, 0, [505, 1, 0, 406, 36, 0]); Item.setCategory(506, 2); Item.setMaxDamage(506, 131); ModPE.setItem(504, "record_blocks", 0, "Rapier Fiery I"); Item.addCraftRecipe(504, 1, 0, [500, 1, 0, 502, 5, 0]); Item.setCategory(504, 2); Item.setMaxDamage(504, 131); ModPE.setItem(507, "record_blocks", 0, "Rapier Fiery II"); Item.addCraftRecipe(507, 1, 0, [504, 1, 0, 502, 5, 0]); Item.setCategory(507, 2); Item.setMaxDamage(507, 131); ModPE.setItem(508, "record_blocks", 0, "Rapier Fiery III"); Item.addCraftRecipe(508, 1, 0, [507, 1, 0, 502, 5, 0]); Item.setCategory(508, 2); Item.setMaxDamage(508, 131); ModPE.setItem(509, "record_far", 0, "Pan"); Item.addCraftRecipe(509, 1, 0, [496, 1, 0, 4, 2, 0]); Item.setCategory(509, 2); ModPE.setItem(510, "record_chirp", 0, "Frying Pan"); Item.addCraftRecipe(510, 1, 0, [497, 1, 0, 509, 1, 0]); Item.setCategory(510, 2); Item.setMaxDamage(510, 131); ModPE.setItem(511, "record_mall", 0, "Wide Guard"); Item.addCraftRecipe(511, 1, 0, [496, 1, 0, 4, 2, 0]); Item.setCategory(511, 2); ModPE.setItem(495, "record_mellohi", 0, "Broadsword"); Item.addCraftRecipe(495, 1, 0, [497, 1, 0, 511, 1, 0, 499, 1, 0]); Item.setCategory(495, 2); Item.setMaxDamage(495, 131); ModPE.setItem(494, "record_stal", 0, "Broadsword Sharpness I"); Item.addCraftRecipe(494, 1, 0, [495, 1, 0, 406, 1, 0]); Item.setCategory(494, 2); Item.setMaxDamage(494, 131); ModPE.setItem(493, "record_stal", 0, "Broadsword Sharpness II"); Item.addCraftRecipe(493, 1, 0, [494, 1, 0, 406, 35, 0]); Item.setCategory(493, 2); Item.setMaxDamage(493, 131); ModPE.setItem(492, "record_stal", 0, "Broadsword Sharpness III"); Item.addCraftRecipe(492, 1, 0, [493, 1, 0, 406, 36, 0]); Item.setCategory(492, 2); Item.setMaxDamage(492, 131); ModPE.setItem(491, "record_wait", 0, "Knife Blade"); Item.addCraftRecipe(491, 1, 0, [496, 1, 0, 4, 1, 0]); Item.setCategory(491, 2); ModPE.setItem(490, "record_strad", 0, "Dagger"); Item.addCraftRecipe(490, 1, 0, [497, 1, 0, 498, 1, 0, 491, 1, 0]); Item.setCategory(490, 2); Item.setMaxDamage(490, 131); ModPE.setItem(489, "record_ward", 0, "Dagger Sharpness I"); Item.addCraftRecipe(489, 1, 0, [490, 1, 0, 406, 1, 0]); Item.setCategory(489, 2); Item.setMaxDamage(489, 131); ModPE.setItem(488, "record_ward", 0, "Dagger Sharpness II"); Item.addCraftRecipe(488, 1, 0, [489, 1, 0, 406, 35, 0]); Item.setCategory(488, 2); Item.setMaxDamage(488, 131); ModPE.setItem(487, "record_ward", 0, "Dagger Sharpness III"); Item.addCraftRecipe(487, 1, 0, [488, 1, 0, 406, 36, 0]); Item.setCategory(487, 2); Item.setMaxDamage(487, 131); ModPE.setItem(486, "skull_skeleton", 0, "Axe Head"); Item.addCraftRecipe(486, 1, 0, [496, 1, 0, 4, 4, 0]); Item.setCategory(486, 2); ModPE.setItem(485, "skull_steve", 0, "Shovel Head"); Item.addCraftRecipe(485, 1, 0, [496, 1, 0, 4, 2, 0]); Item.setCategory(485, 2); ModPE.setItem(484, "skull_creeper", 0, "Mattock"); Item.addCraftRecipe(484, 1, 0, [497, 1, 0, 485, 1, 0, 486, 1, 0]); Item.setCategory(484, 2); Item.setMaxDamage(484, 131); ModPE.setItem(483, "skull_zombie", 0, "Chisel Head"); Item.addCraftRecipe(483, 1, 0, [496, 1, 0, 4, 1, 0]); Item.setCategory(483, 2); ModPE.setItem(482, "skull_wither", 0, "Chisel"); Item.addCraftRecipe(482, 1, 0, [497, 1, 0, 483, 1, 0]); Item.setCategory(482, 2); Item.setMaxDamage(482, 131); function attackHook(a,v){ /*Rapier*/if(Player.getCarriedItem()==500){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 500, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 1); } if(Player.getCarriedItem()==503){ if(Player.getCarriedItemData()<131){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 503, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 2); } } if(Player.getCarriedItem()==505) { if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 505, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 3); } if(Player.getCarriedItem()==506){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 506, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 4); } if(Player.getCarriedItem()==504){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 504, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 1); Entity.setFireTicks(v, 1); } if(Player.getCarriedItem()==507){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 507, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 1); Entity.setFireTicks(v, 2); } if(Player.getCarriedItem()==508){ if(Player.getCarriedItemData() < 130) Entity.setCa
rriedItem(a, 508, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 1); Entity.setFireTicks(v, 3); } /*Frying Pan*/ if(Player.getCarriedItem()==510) { if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 510, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 2); Level.playSoundEnt(v, "random.break", 0.25, 1); setVelX(v, 2 * Math.cos((getYaw()+90)*(Math.PI/180))); setVelY(v, 1); setVelZ(v, 2 * Math.sin((getYaw()+90)*(Math.PI/180))); } /*Broadsword*/ if(Player.getCarriedItem()==495){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 495, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 4); } if(Player.getCarriedItem()==494){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 494, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 5); } if(Player.getCarriedItem()==493){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 493, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 6); } if(Player.getCarriedItem()==492){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 492, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 7); } /*Dagger*/if(Player.getCarriedItem()== 490){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 490, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v)); } if(Player.getCarriedItem()== 489){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 489, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 1); } if(Player.getCarriedItem()== 488){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 488, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 2); } if(Player.getCarriedItem()== 487){ if(Player.getCarriedItemData() < 130) Entity.setCarriedItem(a, 487, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1); else { Level.playSoundEnt(a, "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } Entity.setHealth(v,Entity.getHealth(v) - 3); } } function useItem(x, y, z, itemId, blockId, side, itemDamage, blockDamage){ /*Mattock*/ if(itemId == 484){ if(blockId == 2){ setTile(x, y, z, 60); } if(blockId==3){ setTile(x, y, z, 60); } } /*Chisel*/ if(itemId == 482){ if(blockId == 1){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 98); } if(blockId == 98){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 98, 3); } if(blockId == 24){ if(blockDamage == 0){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 24, 2); } if(blockDamage == 2){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 24, 1); } } if(blockId == 57){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 254); } if(blockId == 254){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 57); } if(blockId == 49){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 253); } if(blockId == 253){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 49); } if(blockId == 22){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 252); } if(blockId == 252){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 22); } if(blockId == 42){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 251); } if(blockId == 251){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 42); } if(blockId == 155){ if(blockDamage == 0){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 155, 2); } if(blockDamage == 2){ Level.destroyBlock(x, y, z, false); setTile(x, y, z, 155, 1); } } } if(itemId == 510){ Level.setTile(x, y+1, z, 250); Level.setTile(x+1, y+1, z, 249); Player.clearInventorySlot(Player.getSelectedSlotId()); Level.playSound(x, y, z,"random.break", 0.25, 100); } if(blockId == 250){ if(itemId == 319){ Player.addItemInventory(319, -1, 0); Level.dropItem(x, y, z, 0, 320, 1); } if(itemId == 363){ Player.addItemInventory(363, -1, 0); Level.dropItem(x, y, z, 0, 364, 1); } if(itemId == 365){ Player.addItemInventory(365, -1, 0); Level.dropItem(x, y, z, 0, 366, 1); } if(itemId == 392){ Player.addItemInventory(392, -1, 0); Level.dropItem(x, y, z, 0, 393, 1); } } } function modTick(){ /*Mattock*/ if(Player.getCarriedItem() == 484) { Block.setDestroyTime(17, 0.50); Block.setDestroyTime(2, 0.20); Block.setDestroyTime(3, 0.20); Block.setDestroyTime(60, 0.20); Block.setDestroyTime(85, 0.50); Block.setDestroyTime(107, 0.50); Block.setDestroyTime(5, 0.50); Block.setDestroyTime(58, 0.70); Block.setDestroyTime(158, 0.50); Block.setDestroyTime(53, 0.50); Block.setDestroyTime(134, 0.50); Block.setDestroyTime(135, 0.50); Block.setDestroyTime(136, 0.50); Block.setDestroyTime(54, 0.70); } if(Player.getCarriedItem() !== 484) { Block.setDestroyTime(17, 2); Block.setDestroyTime(2, 0.75); Block.setDestroyTime(3, 0.75); Block.setDestroyTime(60, 0.75); Block.setDestroyTime(85, 2); Block.setDestroyTime(107, 2); Block.setDestroyTime(5, 2); Block.setDestroyTime(58, 2.5); Block.setDestroyTime(158, 2); Block.setDestroyTime(53, 2); Block.setDestroyTime(134, 2); Block.setDestroyTime(135, 2); Block.setDestroyTime(136, 2); Block.setDestroyTime(54, 2.5); } } function destroyBlock(x, y, z, side){ if(Level.getTile(x, y, z) == 250){ Level.destroyBlock(x, y, z, false); Level.destroyBlock(x+1, y, z, false); Level.dropItem(x, y, z, 0, 510, 1); } if(Level.getTile(x, y, z) == 249){ Level.destroyBlock(x, y, z, false); Level.destroyBlock(x-1, y, z, false); Level.dropItem(x, y, z, 0, 510, 1); } if(Level.getTile(x, y, z) == 180){ Level.destroyBlock(x, y, z, false); Level.dropItem(x, y, z, 0, 180, 1); } }
.js: open failed: ENAMETOOLONG (File name too long)
at libcore.io.IoBridge.open(IoBridge.java:409)
at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
at java.io.PrintWriter.<init>(PrintWriter.java:127)
at net.zhuoweizhang.mcpelauncher.ui.ManageScriptsActivity.importFromClipboard(ManageScriptsActivity.java:587)
at net.zhuoweizhang.mcpelauncher.ui.ManageScriptsActivity.access$800(ManageScriptsActivity.java:59)
at net.zhuoweizhang.mcpelauncher.ui.ManageScriptsActivity$8.onClick(ManageScriptsActivity.java:484)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: open failed: ENAMETOOLONG (File name too long)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:393)
... 15 more