I was thinking more like a ModPE.setTile(id, name, tileType (a string, like "standard", "transparent", "slab"), textureMappings).
TextureMappings would be an array holding the texture coordinates for each side. e.g.
[1,2,3,4,5,6]
alternatively, it can be an array of 16 arrays:
[[1,2,3,4,5,6], [1,1,2,2,3,3]] for blocks with different damage values.
Not sure if this is possible to make, but I will try.
Materials is an enum, I think; you don't need to construct it.
I was thinking more like a ModPE.setTile(id, name, tileType (a string, like "standard", "transparent", "slab"), textureMappings).
TextureMappings would be an array holding the texture coordinates for each side. e.g.
[1,2,3,4,5,6]
alternatively, it can be an array of 16 arrays:
[[1,2,3,4,5,6], [1,1,2,2,3,3]] for blocks with different damage values.
Not sure if this is possible to make, but I will try.
Materials is an enum, I think; you don't need to construct it.
Don't use strings; use final fields, or use model like below:
ModPE.setTile(id,name,model (e.g. 50 for torch), /* transparentType(e.g. 50 for torch, forgetTheId for glowstone), luminioius(0-15) */ , /*arrayOfTextureFilenames*/)
I added the // because the first three seems to be easier for BlockLauncher programmers, and most wanted by scripters. The last two ones are just like mixtures.
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:
This crashes when I try to start it up, on my Android Sophix Jellybean 8' tablet. Plz help me.
Does regular Minecraft PE work on your device? Also, can you get a LogCat from the device? You may need to connect your tablet to a computer to obtain the log.
Hi can you add way to compile the .js mod? I have idea to make archive with mod (.js) and textures and that archive compile to make it possible to decompile. What do you think about this idea?
I thought of ig necessary using android.graphics.Color and android.graphics.Canvas to hardcode textutrs pixel by pixel. Stupid to do so, though, cuz it is too time-consuming and not really useful.
But least please add a function at bl for setMobSkin not string filename but a canvas, drawable or bitmap? Useful for enderman mods.
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:
Also: A challenge!
Break the color chat feature.
Write a text sequence that crashes MCPE when you print it to client message or when printed to server chat log, and you'll receive a special badge of honour.
Also: A challenge!
Break the color chat feature.
Write a text sequence that crashes MCPE when you print it to client message or when printed to server chat log, and you'll receive a special badge of honour.
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:
Also: A challenge!
Break the color chat feature.
Write a text sequence that crashes MCPE when you print it to client message or when printed to server chat log, and you'll receive a special badge of honour.
It says error when i type the commmands it says "Refference Error: ColorChat is not defined"
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! ---------------->
Color chat finally!
ModPE is slowly conquering Poketmine PHP...
That's why 500 ise said on his website he is "an aspiring programmer"
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:
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! ---------------->
500ISE Do you think you could add Entity.getRenderType? That way using the death/attack hook more friendly with custom mobs.
Unless you are interacting with other scripts, it is not necessary as you can test if the mob is one of the mobs you changed its shape.Btw is it possible to have @Override?
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:
The latest pro version 1.5.2 won't start. All I get is a Message - Sorry! The application BlockLauncher Pro (process net.zhuowuizhang.mcpelauncher.pro) has stopped unexpectedly. Please try again. [Force close] [Report]. Please help. Thanks
The latest pro version 1.5.2 won't start. All I get is a Message - Sorry! The application BlockLauncher Pro (process net.zhuowuizhang.mcpelauncher.pro) has stopped unexpectedly. Please try again. [Force close] [Report]. Please help. Thanks
Are you on 0.7.6?
Quote from MCPE_modder_for_maps »
What is wrong about this? Even with the try block bl crashes.
// @author PEMapModder
var window=null;function newLevel(){try{
var context=com.mojang.minecraftpe.MainActivity.currentMainActivity.get();
var wrapContent=android.widget.ViewGroup.WRAP_CONTENT;
context.runOnUiThread(new java.lang.Runnable(){run:function(){
window=new android.widget.PopupWindow();
var show=new android.widget.Button(context);
show.setText("TMI");
show.setOnClickLustener(new android.view.View.OnClickListener(){
onClick:function(v){
toggleTmi();
}
});
var layout=new android.widget.RelativeLayout(context);
layout.addView(show,new android.view.ViewGroup.LayoutParams(wrapContent,wrapContent));
window.setContentView(layout);
window.setWidth(wrapContent);
window.setHeight(wrapContent);
window.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.TRANSPARENT)); window.showAtLocation(context.getWindow().getDecorView(),android.view.Gravity.RIGHT|android.view.Gravity.BOTTOM,0,0);
}});
}catch(e){print(e.toString());}}
function toogleTmi(){}
function leaveGame(){
if(window==null)return;
com.mojang.minecraftpe.MainActivity.currentMainActivity.get().runOnUiThread(new java.lang.Runnable({run:function(){
window.dismiss();
window=null;
}}));}
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.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTop left corner = 0, bottom-right = 255
I added the // because the first three seems to be easier for BlockLauncher programmers, and most wanted by scripters. The last two ones are just like mixtures.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumDoes regular Minecraft PE work on your device? Also, can you get a LogCat from the device? You may need to connect your tablet to a computer to obtain the log.
But least please add a function at bl for setMobSkin not string filename but a canvas, drawable or bitmap? Useful for enderman mods.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThe script used is https://raw.github.com/zhuowei/ModPEScripts/master/500ise_colorchat.js
http://tinyw.in/bl
Also: A challenge!
Break the color chat feature.
Write a text sequence that crashes MCPE when you print it to client message or when printed to server chat log, and you'll receive a special badge of honour.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIt says error when i type the commmands it says "Refference Error: ColorChat is not defined"
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! ---------------->
Oh....
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! ---------------->
That's why 500 ise said on his website he is "an aspiring programmer"
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumPocketMine plugins can choose to send color codes to BlockLauncher clients if they want.
Yes, but how PocketMine are going to detect Blocklauncher
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYou don't: the users would have to opt in by running a command on the server, I guess.
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
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! ---------------->
Unless you are interacting with other scripts, it is not necessary as you can test if the mob is one of the mobs you changed its shape.Btw is it possible to have @Override?
Are you on 0.7.6?