This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
0
Im have question again
is it possible to create trains with c++ addons and use trains to travel?
If you using google chrome to see web page you can translate it with google translate
Plz download the mod and upload for me
Me again :-) :-) :-) :-)
Is it possible to create custom signs in modpe like road sign or home sign?
Plz download the mod from link
And upload again in mediafire and put the link here for me
Plzzzzz
Me again :-) :-)
I want to download the super tp mod from here to look that and get help for astro material design :
http://cafe.naver.com/teamio/80
But download link need sign up and i can't sign up
Plz someone download this mod and upload for me
I write code to create a material button
But when i import the mod and go in game and tap the "menu" button my material design is not showed
My mod code:
var GUI; var menu; var exitUI; function dip2px(dips){ var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); return Math.ceil(dips * ctx.getResources().getDisplayMetrics().density); } function newLevel(){ var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); ctx.runOnUiThread(new java.lang.Runnable({ run: function(){ try{ var layout = new android.widget.LinearLayout(ctx); layout.setOrientation(1); var menuBtn = new android.widget.Button(ctx); menuBtn.setText('Menu'); menuBtn.setOnClickListener(new android.view.View.OnClickListener({ onClick: function(viewarg){ mainMenu(); exit(); } })); layout.addView(menuBtn); GUI = new android.widget.PopupWindow(layout, android.widget.RelativeLayout.LayoutParams.WRAP_CONTENT, android.widget.RelativeLayout.LayoutParams.WRAP_CONTENT); GUI.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.TRANSPARENT)); GUI.showAtLocation(ctx.getWindow().getDecorView(), android.view.Gravity.RIGHT | android.view.Gravity.BOTTOM, 10, 20); }catch(err){ print('An error occured: ' + err); } }})); } function mainMenu(){ var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); ctx.runOnUiThread(new java.lang.Runnable({ run: function(){ try{ var menuLayout = new android.widget.LinearLayout(ctx); var menuScroll = new android.widget.ScrollView(ctx); var menuLayout1 = new android.widget.LinearLayout(ctx); menuLayout.setOrientation(1); menuLayout1.setOrientation(1); menuScroll.addView(menuLayout); menuLayout1.addView(menuScroll); var button = new android.widget.Button(ctx); button.setText('Button'); button.setOnClickListener(new android.view.View.OnClickListener({ onClick: function(viewarg){ //Your Code Here... } })); menuLayout.addView(button); var b = new $Button(); b.setText("test"); b.setColor(android.graphics.Color.parseColor('#4fc3f7')); b.show();
//More buttons... menu = new android.widget.PopupWindow(menuLayout1, ctx.getWindowManager().getDefaultDisplay().getWidth()/2, ctx.getWindowManager().getDefaultDisplay().getHeight()/2); menu.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.BLACK)); menu.showAtLocation(ctx.getWindow().getDecorView(), android.view.Gravity.CENTER,0, 0); }catch(error){ print('An error occured: ' + error); } }})); } function exit(){ var ctxe = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); ctxe.runOnUiThread(new java.lang.Runnable({ run: function(){ try{ var xLayout = new android.widget.LinearLayout(ctxe); var xButton = new android.widget.Button(ctxe); xButton.setText('X'); xButton.setTextColor(android.graphics.Color.WHITE); xButton.setOnClickListener(new android.view.View.OnClickListener({ onClick: function(viewarg){ exitUI.dismiss(); menu.dismiss(); } })); xLayout.addView(xButton); exitUI = new android.widget.PopupWindow(xLayout, dip2px(40), dip2px(40)); exitUI.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.TRANSPARENT)); exitUI.showAtLocation(ctxe.getWindow().getDecorView(), android.view.Gravity.RIGHT | android.view.Gravity.TOP, 0, 0); }catch(exception){ print(exception); } }})); } function leaveGame(){ var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); ctx.runOnUiThread(new java.lang.Runnable({ run: function(){ if(GUI != null){ GUI.dismiss(); GUI = null; } if(menu != null){ menu.dismiss(); menu = null; } if(exitUI != null){ exitUI.dismiss(); exitUI = null; } }})); }
Me again :-)
Im find material design library for mcpe mods
in this blog
m.blog.naver.com/astr36
But i don't know how to use this library
Plz help me
Hello me again
How to create shader pack ?
Hey guys im back with questions
Is it possible to make a house waithout setTile in mod?
And how to use material design in my app?
And is it possible to make a 64*64 texture pack and put it in block launcher waithout crashing?
Ok but why dip and not pixel?
And how to stretch button image from texture pack use this?
(Sorry for copy function from exp-chest mod but I really need to tell my question)
(I creating a mod and I want include mcpe style gui in this mod)
Look to this function
function dp(pixels){
return android.util.TypedValue.applyDimension(android.util.TypedValue.COMPLEX_UNIT_DIP,2,ctx.getResources().getDisplayMetrics())*pixels*ExpChest.data.guiSize;
}
Expchest.data.guisize = 1
What is function work?
What is dp?
I want to use minecraft gui style in my mod
But i dont understand how to use
Because the functions is hard
(Crop function- set layout function- button function &....)
Plz give me a library to use the mcpe gui style in my mod
Hello guys
Me again with next question
I have look to Expchest mod source code to use minecraft gui in my mod
But the code is very long and i don't understand how to use
(Sorry for bad english)
Thanks but I don't know how to use this library in my mod
I"m have installed the mod
Error: java pointer = null
0
Im have question again
is it possible to create trains with c++ addons and use trains to travel?
0
If you using google chrome to see web page you can translate it with google translate
Plz download the mod and upload for me
0
Me again :-) :-) :-) :-)
Is it possible to create custom signs in modpe like road sign or home sign?
0
Plz download the mod from link
And upload again in mediafire and put the link here for me
Plzzzzz
0
Me again :-) :-)
I want to download the super tp mod from here to look that and get help for astro material design :
http://cafe.naver.com/teamio/80
But download link need sign up and i can't sign up
Plz someone download this mod and upload for me
0
I write code to create a material button
But when i import the mod and go in game and tap the "menu" button my material design is not showed
My mod code:
var GUI;
var menu;
var exitUI;
function dip2px(dips){
var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get();
return Math.ceil(dips * ctx.getResources().getDisplayMetrics().density);
}
function newLevel(){
var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get();
ctx.runOnUiThread(new java.lang.Runnable({ run: function(){
try{
var layout = new android.widget.LinearLayout(ctx);
layout.setOrientation(1);
var menuBtn = new android.widget.Button(ctx);
menuBtn.setText('Menu');
menuBtn.setOnClickListener(new android.view.View.OnClickListener({
onClick: function(viewarg){
mainMenu();
exit();
}
}));
layout.addView(menuBtn);
GUI = new android.widget.PopupWindow(layout, android.widget.RelativeLayout.LayoutParams.WRAP_CONTENT, android.widget.RelativeLayout.LayoutParams.WRAP_CONTENT);
GUI.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.TRANSPARENT));
GUI.showAtLocation(ctx.getWindow().getDecorView(), android.view.Gravity.RIGHT | android.view.Gravity.BOTTOM, 10, 20);
}catch(err){
print('An error occured: ' + err);
}
}}));
}
function mainMenu(){
var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get();
ctx.runOnUiThread(new java.lang.Runnable({ run: function(){
try{
var menuLayout = new android.widget.LinearLayout(ctx);
var menuScroll = new android.widget.ScrollView(ctx);
var menuLayout1 = new android.widget.LinearLayout(ctx);
menuLayout.setOrientation(1);
menuLayout1.setOrientation(1);
menuScroll.addView(menuLayout);
menuLayout1.addView(menuScroll);
var button = new android.widget.Button(ctx);
button.setText('Button');
button.setOnClickListener(new android.view.View.OnClickListener({
onClick: function(viewarg){
//Your Code Here...
}
}));
menuLayout.addView(button);
var b = new $Button();
b.setText("test");
b.setColor(android.graphics.Color.parseColor('#4fc3f7'));
b.show();
//More buttons...
menu = new android.widget.PopupWindow(menuLayout1, ctx.getWindowManager().getDefaultDisplay().getWidth()/2, ctx.getWindowManager().getDefaultDisplay().getHeight()/2);
menu.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.BLACK));
menu.showAtLocation(ctx.getWindow().getDecorView(), android.view.Gravity.CENTER,0, 0);
}catch(error){
print('An error occured: ' + error);
}
}}));
}
function exit(){
var ctxe = com.mojang.minecraftpe.MainActivity.currentMainActivity.get();
ctxe.runOnUiThread(new java.lang.Runnable({ run: function(){
try{
var xLayout = new android.widget.LinearLayout(ctxe);
var xButton = new android.widget.Button(ctxe);
xButton.setText('X');
xButton.setTextColor(android.graphics.Color.WHITE);
xButton.setOnClickListener(new android.view.View.OnClickListener({
onClick: function(viewarg){
exitUI.dismiss();
menu.dismiss();
}
}));
xLayout.addView(xButton);
exitUI = new android.widget.PopupWindow(xLayout, dip2px(40), dip2px(40));
exitUI.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.TRANSPARENT));
exitUI.showAtLocation(ctxe.getWindow().getDecorView(), android.view.Gravity.RIGHT | android.view.Gravity.TOP, 0, 0);
}catch(exception){
print(exception);
}
}}));
}
function leaveGame(){
var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get();
ctx.runOnUiThread(new java.lang.Runnable({ run: function(){
if(GUI != null){
GUI.dismiss();
GUI = null;
}
if(menu != null){
menu.dismiss();
menu = null;
}
if(exitUI != null){
exitUI.dismiss();
exitUI = null;
}
}}));
}
0
Me again :-)
Im find material design library for mcpe mods
in this blog
m.blog.naver.com/astr36
But i don't know how to use this library
Plz help me
0
Hello me again
How to create shader pack ?
0
Hey guys im back with questions
Is it possible to make a house waithout setTile in mod?
And how to use material design in my app?
And is it possible to make a 64*64 texture pack and put it in block launcher waithout crashing?
0
Ok but why dip and not pixel?
And how to stretch button image from texture pack use this?
(Sorry for copy function from exp-chest mod but I really need to tell my question)
(I creating a mod and I want include mcpe style gui in this mod)
0
Im have question again
Look to this function
function dp(pixels){
return android.util.TypedValue.applyDimension(android.util.TypedValue.COMPLEX_UNIT_DIP,2,ctx.getResources().getDisplayMetrics())*pixels*ExpChest.data.guiSize;
}
Expchest.data.guisize = 1
What is function work?
What is dp?
0
I want to use minecraft gui style in my mod
But i dont understand how to use
Because the functions is hard
(Crop function- set layout function- button function &....)
Plz give me a library to use the mcpe gui style in my mod
0
Hello guys
Me again with next question
I have look to Expchest mod source code to use minecraft gui in my mod
But the code is very long and i don't understand how to use
Plz help me
(Sorry for bad english)
0
Thanks but I don't know how to use this library in my mod
0
I"m have installed the mod
Error: java pointer = null