• 0

    posted a message on [0.8.1] Pocket Industrialization Mod (New ores and tools, pipes, oil, auto mining, auto crafting, engines and much more!)
    Alright, jetpack is now up and running, starting to create some explosives and weapons of destruction. Drop a comment telling what u want us to add, THX
    Posted in: MCPE: WIP Mods / Tools
  • 0

    posted a message on [0.8.1] jv110's Mod Request Thread! (Request a mod here!)
    Quote from TheblackSeEker

    Hi there, I need a mod that I really like it. Make a plasma cannon mod that if you touch a block, it would explode like a tnt but in this mod, you'll just tap a block and it will explode, I think this is pretty hard but I think it would be great. And make a range up to infinite range, I mean you can explode blocks in far range. Thanks...

    One of the features I am adding to Industrial PE, me and JV will work on it soon
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on Night Vision
    is there a way for that to happen without stopping mobs from spawning and able to switch it on and off?
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on Night Vision
    Any ideas of how to add nightvision without using a .mod file?
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on [PREVIEW] ENCHANTING MOD - By Byteandahalf
    O, LOL
    Posted in: MCPE: WIP Mods / Tools
  • 0

    posted a message on [PREVIEW] ENCHANTING MOD - By Byteandahalf
    hey beatz, why is ur enchantment mod topic locked by OP?
    Posted in: MCPE: WIP Mods / Tools
  • 0

    posted a message on GUI dismiss help
    Looks like is war =-P, I know a bit of Android dev since I mess around AIDE
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on GUI dismiss help
    JKing calm down, lol
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on GUI dismiss help
    Rivals at making the enchantment mod, LOL
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on GUI dismiss help
    Lol, battle between the rivals
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on GUI dismiss help
    oops, forgot to put that on the post, I have that, but it still doesn't work
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on GUI dismiss help
    I've been trying to get a GUI to pop up if the player is holding a custom item with the id of 504, and it would dismiss if the player is holding an other item, but everytime i switch to an item other then 504 an error pops up saying:
    Error:

    Error occurred in script: Industrialcraft.js
    org.mozilla.javascript.WrappedException: Wrapped android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. (Industrialcraft.js#116)
    at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(Unknown Source)
    at org.mozilla.javascript.NativeJavaMethod.call(Unknown Source)
    at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)
    at script.modTick(Industrialcraft.js:116)
    at org.mozilla.javascript.Interpreter.interpret(Unknown Source)
    at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
    at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)
    at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
    at net.zhuoweizhang.mcpelauncher.ScriptManager.callScriptMethod(ScriptManager.java:233)
    at net.zhuoweizhang.mcpelauncher.ScriptManager.tickCallback(ScriptManager.java:302)
    at dalvik.system.NativeStart.run(Native Method)
    Caused by: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
    at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4746)
    at android.view.ViewRootImpl.doDie(ViewRootImpl.java:4084)
    at android.view.ViewRootImpl.die(ViewRootImpl.java:4071)
    at android.view.WindowManagerGlobal.removeViewLocked(WindowManagerGlobal.java:336)
    at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:286)
    at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:84)
    at android.widget.PopupWindow.dismiss(PopupWindow.java:1270)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    ... 11 more


    Code:

    modTick(){
    if (getCarriedItem()==504)
    {
    Test();
    }
    if(getCarriedItem()!=504&&TestGUI!=null){
    TestGUI.dismiss();
    }
    }


    function Test()
    {

    var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); ctx.runOnUiThread(new java.lang.Runnable({ run: function() { try{
    TestGUI = new android.widget.PopupWindow();
    var Testuplayout = new android.widget.RelativeLayout(ctx);
    var TestUp = new android.widget.Button(ctx);
    TestUp.setText("△");
    TestUp.setTextSize(40);
    TestUp.setOnClickListener(new android.view.View.OnClickListener(
    { onClick: function(viewarg) {
    setVelY( getPlayerEnt() ,1);
    if(Player.getCarriedItemData() < 299){ Entity.setCarriedItem(getPlayerEnt(), 504, Player.getCarriedItemCount(), Player.getCarriedItemData() + 1);}
    else { //Otherwise
    Level.playSoundEnt(attacker, "random.break", 100, 100); //Play the break sound
    Player.clearInventorySlot(Player.getSelectedSlotId()); //Remove the tool from the player's inventory
    }

    } }));
    Testuplayout.addView(TestUp);
    TestGUI.setContentView(Testuplayout);
    TestGUI.setWidth(80);
    TestGUI.setHeight(80);
    TestGUI.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.TRANSPARENT));
    TestGUI.showAtLocation(ctx.getWindow().getDecorView(), android.view.Gravity.RIGHT | android.view.Gravity.TOP, 0, 90); }
    catch(err)
    { print("Error: "+err); } } })); }
    Plz leave a comment below if u know how to fix this so the gui dismisses when i switch to an other item, thx
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on Block Material Types
    I know, soo how do u get it to flow?
    Posted in: MCPE: Mod / Tool Help & Requests
  • 0

    posted a message on Block Material Types
    how r u suppose to get it to flow, can u find me a templet or tutorial, thx
    Posted in: MCPE: Mod / Tool Help & Requests
  • To post a comment, please .