DISCLAIMER: THIS SCRIPT IS NOT A MOD, BUT A SCRIPT THAT HELPS YOU MAKE MODS.
MPELIB v0.2 (ModPE Library v0.2)
Let me put on my commercial voice. Using GUIs can take up alot of time and effort. And the dreaded message "BlockLauncher has stopped." Can't it be easier?
mpelib has a GUI framework that makes sure your face doesn't peel off while writing code . Here is an example on how to show a simple GUI, with one TextView.
var theLayout = new mpelib.ui.layout();
var theText = new mpelib.ui.text();
theText.setText("Hello!");
theLayout.pack(theText);
var theGUI = new mpelib.ui.gui();
theGUI.setDimensions(300, 100);
theGUI.setLayout(theLayout); theGUI.show();
This creates a 300x100 window that looks like this ingame:
Don't actually use this mod daily, it prevents you from accessing your inventory.
SHORTCUTS
mpelib has a shortcut system to shorten code pieces.
Here is an example on how it works.
S.cm("Client message!");
DOWNLOADS
NOTE: mpelib is undergoing development. More features will be added.
You can download mpelib at the releases section over at GitHub. Download: http://goo.gl/jw1M7V
Speaking of GitHub, you can check out the repo here: http://goo.gl/rFRl6T
HOW DO I USE THIS LIBRARY?
Download the .zip over at the downloads section.
Extract the zip.
Paste all of the code to the bottom of your script.
DISCLAIMER
mpelib can crash BlockLauncher if used incorrectly.
Use at your own risk.
Button support.
More shortcuts.
Alert support.
Various dialog support.
...
I can totally see this helping beginners. If there are some things that you want to implement, but you don't know how to do it in the normal Android Development way, feel free to ask me. This includes ProgressBars, ImageViews and other things.
I can totally see this helping beginners. If there are some things that you want to implement, but you don't know how to do it in the normal Android Development way, feel free to ask me. This includes ProgressBars, ImageViews and other things.
I'll be sure to contact you if I'm having troubles.
Soon, I will implement buttons.
With click functionality.
mpelib has a GUI framework that makes sure your face doesn't peel off while writing code . Here is an example on how to show a simple GUI, with one TextView.
This creates a 300x100 window that looks like this ingame:
Don't actually use this mod daily, it prevents you from accessing your inventory.
Here is an example on how it works.
You can download mpelib at the releases section over at GitHub. Download: http://goo.gl/jw1M7V
Speaking of GitHub, you can check out the repo here: http://goo.gl/rFRl6T
More shortcuts.
Alert support.
Various dialog support.
...
"one does not simply hook Creeper::getMaxHealth"
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]
Why we call TBPM ?-Three boys play minecraft
Awesomeeee!
I am secretly a modder, who works only for himself, seldom publishes.
Thanks!
I'll be sure to contact you if I'm having troubles.
Soon, I will implement buttons.
With click functionality.
"one does not simply hook Creeper::getMaxHealth"
In a nutshell, it's supposed to make making ModPE Script GUIs easier.
"one does not simply hook Creeper::getMaxHealth"
Read the top post.
"one does not simply hook Creeper::getMaxHealth"