Why not make the Player and Entity classes an object?
So getting a Player over a wifi server and editing there inventory would be possible (for custom maps and such)
And entities can finally have a good method for custom drops.
var player1 = new Player();
player1.getPlayer("name"); //Or player1.getPlayerAtPosition(x, y, z);
player1.addItemInventory(280, 1);
var ent = new Entity();
ent.setMobDrop(266, 0, 1);
ent.spawn();
Why not make the Player and Entity classes an object?
So getting a Player over a wifi server and editing there inventory would be possible (for custom maps and such)
And entities can finally have a good method for custom drops.
var player1 = new Player();
player1.getPlayer("name"); //Or player1.getPlayerAtPosition(x, y, z);
player1.addItemInventory(280, 1);
var ent = new Entity();
ent.setMobDrop(266, 0, 1);
ent.spawn();
Something like that.
THAT WOULD BE AWESOME!!! How did I not think of that!? However, I think the current entity function should stay, otherwise entityAddedHook() wouldn't work well, because you would have to define every mob.Also with this, ModPE scripts could actually be used on local wifi multiplayer, WITHOUT having to be the host.
2 scenarios:
1. ModPE has a massive evolution
2. ModPE stays the same.
Now I will let the community have their choice and we will see what 500ISE says.
If this ModPE evolution happens.. I have to learn objects Time to learn objects!
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
If this ModPE evolution happens.. I have to learn objects Time to learn objects!
What? JavaScript is an object-oriented language, and you don't know objects and classes?
Anyway simply an object is something like this:
var object=new ObjectName();
var objectProperty0=object.property0;
var objectFunctionResult0=object.function0();
This is probably all you need to know.
Rollback Post to RevisionRollBack
I can be found on Freenode IRC channels #pocketmine, #ModPEScripts, #LegendOfMCPE, #pmplugins or #BeaconMine.
I am a PocketMine-MP plugin developer. I hate it when people think that I love stupid admin positions. Being an admin is nothing compared to being a plugin developer.
I am also a main developer of BlockServer, a work-in-progress MCPE server software. You are welcome to download it, but it so far onlly spawns you in the upther (above the world). You can chat, though.
I do not own this server but I just love to put this banner here:
var aPieceOfString = new java.lang.String("some texts"); // java.lang.String is the full name with package
var stringLength = aPieceOfString.length();
An array is also an object:
var arrayObject = new Array("element 0", "element 1");
var arrayLength = arrayObject.length;
arrayObject.push("a new element added/pushed to the array"); // a function in Array is push().
I can be found on Freenode IRC channels #pocketmine, #ModPEScripts, #LegendOfMCPE, #pmplugins or #BeaconMine.
I am a PocketMine-MP plugin developer. I hate it when people think that I love stupid admin positions. Being an admin is nothing compared to being a plugin developer.
I am also a main developer of BlockServer, a work-in-progress MCPE server software. You are welcome to download it, but it so far onlly spawns you in the upther (above the world). You can chat, though.
I do not own this server but I just love to put this banner here:
Yeah and make something that lets open external servers without portforward! (For free)
You must port forward if you want someone from another ip to connect to a device inside your IP.
Rollback Post to RevisionRollBack
I can be found on Freenode IRC channels #pocketmine, #ModPEScripts, #LegendOfMCPE, #pmplugins or #BeaconMine.
I am a PocketMine-MP plugin developer. I hate it when people think that I love stupid admin positions. Being an admin is nothing compared to being a plugin developer.
I am also a main developer of BlockServer, a work-in-progress MCPE server software. You are welcome to download it, but it so far onlly spawns you in the upther (above the world). You can chat, though.
I do not own this server but I just love to put this banner here:
var aPieceOfString = new java.lang.String("some texts"); // java.lang.String is the full name with package
var stringLength = aPieceOfString.length();
An array is also an object:
var arrayObject = new Array("element 0", "element 1");
var arrayLength = arrayObject.length;
arrayObject.push("a new element added/pushed to the array"); // a function in Array is push().
I know this. But I don't know the advanced stuff.
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Not just nerdy stuff that crashes, the texture pack screen when I select "Demo", and maybe some other stuff that I haven't bothered t test.
Do you know prototypes?
Yes I do know Prototypes.
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
I can be found on Freenode IRC channels #pocketmine, #ModPEScripts, #LegendOfMCPE, #pmplugins or #BeaconMine.
I am a PocketMine-MP plugin developer. I hate it when people think that I love stupid admin positions. Being an admin is nothing compared to being a plugin developer.
I am also a main developer of BlockServer, a work-in-progress MCPE server software. You are welcome to download it, but it so far onlly spawns you in the upther (above the world). You can chat, though.
I do not own this server but I just love to put this banner here:
Hey guys ,I can't get the new version working, after updating the app to the most recent version, it just keeps when ever I open it... how can I fix it?
Yeah I just tried it. Sorry. I guess we just have to wait for the new BlockLauncher beta. :/
So getting a Player over a wifi server and editing there inventory would be possible (for custom maps and such)
And entities can finally have a good method for custom drops.
var player1 = new Player(); player1.getPlayer("name"); //Or player1.getPlayerAtPosition(x, y, z); player1.addItemInventory(280, 1); var ent = new Entity(); ent.setMobDrop(266, 0, 1); ent.spawn();Something like that.
THAT WOULD BE AWESOME!!! How did I not think of that!? However, I think the current entity function should stay, otherwise entityAddedHook() wouldn't work well, because you would have to define every mob.Also with this, ModPE scripts could actually be used on local wifi multiplayer, WITHOUT having to be the host.
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]
2 scenarios:
1. ModPE has a massive evolution
2. ModPE stays the same.
Now I will let the community have their choice and we will see what 500ISE says.
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]
If this ModPE evolution happens.. I have to learn objects
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
What? JavaScript is an object-oriented language, and you don't know objects and classes?
Anyway simply an object is something like this:
This is probably all you need to know.
var aPieceOfString = new java.lang.String("some texts"); // java.lang.String is the full name with package var stringLength = aPieceOfString.length();An array is also an object:
var arrayObject = new Array("element 0", "element 1"); var arrayLength = arrayObject.length; arrayObject.push("a new element added/pushed to the array"); // a function in Array is push().-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWhy a Java string? Strings in JavaScript are objects as well.
Andrew Boyarshin has kindly contributed an awesome new settings screen for BlockLauncher: here's a beta with his changes. https://www.dropbox.com/s/ugc60xo0drmkqoi/MCPELauncherApp-release.apk
Please test this, especially if you have a Gingerbread/Honeycomb device.
If you do change ModPE to objects, I am sure there are some people who would want "new Projectile()"
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]
-
View User Profile
-
View Posts
-
Send Message
Curse Premiummy fault - I didn't compile the APK properly.
You must port forward if you want someone from another ip to connect to a device inside your IP.
I know this. But I don't know the advanced stuff.
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Yes I do know Prototypes.
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
I think 500 said:
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
You mean defining types?
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!