var player = Level.spawnMob(x,y+1,z,3,"mob/char.png"
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! ---------------->
How do i get an entity without touching it, for example: if a chicken is on a gold block despawn it and replace with cow
You forgot to close bracket
I thought he would already know
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! ---------------->
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:
Actually this method is obsolete, and all top namespaces are gradually becoming extinct. Use Player.getEntity();
Also, in BlockLauncher's menu, please refer to NerdyStuff> Dump ModPE Methods next time
Actually this method is obsolete, and all top namespaces are gradually becoming extinct. Use Player.getEntity();
Also, in BlockLauncher's menu, please refer to NerdyStuff> Dump ModPE Methods next time
I know I was just too lazy to check the reference.Zhuowei said in ScriptManager.java not to use top namespaces for BlockLauncher-specific methods, but primitive methods like getPlayerEnt() and print() and setVelX(), which were present pre-modpe-0.3 methods, are acceptable in top namespaces.
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:
I know I was just too lazy to check the reference.
Zhuowei said in ScriptManager.java not to use top namespaces for BlockLauncher-specific methods, but primitive methods like getPlayerEnt() and print() and setVelX(), which were present pre-modpe-0.3 methods, are acceptable in top namespaces.
Doesn't matter, I don't recommend using them anyway. getPlayerEntity(); is a no-no in my book.
Just a notice to everyone: a javascript reader reads any piece of characters that are not followed by '(' or '.', not in '' or "", or not a keyword (i.e. not bolded in notepad++) as a local variable, a field, a constant or a class. There is not a var or field or const called Player, and you are not referring to class Player, so don't do that above getEntity(Player). (Of course sometimes we use if(entity instanceof Player) but it is a class.
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:
To post a comment, please login or register a new account.
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! ---------------->
So if I use Entety.setCarriedItem(3, 256); it'd work.
I thought he would already know
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! ---------------->
Actually this method is obsolete, and all top namespaces are gradually becoming extinct. Use Player.getEntity();
Also, in BlockLauncher's menu, please refer to NerdyStuff> Dump ModPE Methods next time
Back to modding! Follow me on Twitter @byteandahalf
I know I was just too lazy to check the reference.Zhuowei said in ScriptManager.java not to use top namespaces for BlockLauncher-specific methods, but primitive methods like getPlayerEnt() and print() and setVelX(), which were present pre-modpe-0.3 methods, are acceptable in top namespaces.
This will change the slot that you have selected(your current held item) To whatever item you replace id and data with.
Back to modding! Follow me on Twitter @byteandahalf