Hey guys i just made a script to where you can press a button to take a screenshot. You need the latest beta of blocklauncher. When you apply the script and load your world you will see a new button at the bottom left corner that says click. If you press it it will take a screenshot.
goldenquick also stole the code from MrArm. If you can't make a mod with originality please don't make a mod. If you have to steal code just to make a mod, please stop posting. (Except you 500ISE. You're awesome.)
Rollback Post to RevisionRollBack
Willing to work on Android apps or multi-platform games, see profile bio for information.
LINK:
https://www.dropbox.com/s/ak8wtiman7z5nr2/BUTTON.js?m
Click Banner to SUBSCRIBE!!! I'm in the Team Flame Clan!!! Click that little green arrow!! -------------->
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumvar simpleGUI = null; var heal = false; function newLevel(){ // run all the stuff at UI thread var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); ctx.runOnUiThread(new java.lang.Runnable({ run: function() { try{ simpleGUI = new android.widget.PopupWindow(); var layout = new android.widget.RelativeLayout(ctx); var button = new android.widget.Button(ctx); button.setText("Diamond!"); //button.setWidth(100); //button.setHeight(100); button.setOnClickListener(new android.view.View.OnClickListener({ onClick: function(viewarg) { heal = true; } })); layout.addView(button); simpleGUI.setContentView(layout); simpleGUI.setWidth(150); simpleGUI.setHeight(100); simpleGUI.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.RED)); simpleGUI.showAtLocation(ctx.getWindow().getDecorView(), android.view.Gravity.LEFT | android.view.Gravity.TOP, 0, 0); }catch(err){ print("Error: "+err); } } })); } function leaveGame(){ var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); ctx.runOnUiThread(new java.lang.Runnable({ run: function() { if(simpleGUI != null){ simpleGUI.dismiss(); } }})); } function modTick(){ if(heal){ heal = false; addItemInventory(264, 64); } }Edit: in response to the below comment: yes, my script is a butchered version of MrARM's heal script.
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath