This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
0
Quote from tyrone25»I would love to help you out in anyway. I am a huge lotr fan. The one thing I'm not sure is if I'm able to help u build in pocket edition.
0
0
0
I'm in the same boat as he is. But if you tell me how to help I'd love to.
0
I'm in the same boat. But if you tell me how to help I'd love to.
0
0
0
0
0
0
0
0
0
CarriedItemData() < 130) Entity.setCarriedItem(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:406)
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:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4532)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
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:390)
... 15 more
0
0