Hello, I am new to the forums and saw lots of mods and scripts for mcpe. I was wondering if anyone could help me me make my own scripts for it using an android device. I heard that it is possible using ES File Explorer but I would like to know for sure and see if anyone could help me make my first mod.
I have a small mod that I made but it won't work for BlockLauncher, here is the code:
function useItem(x,y,z,itemId,blockId,side)
{var pX=getPlayerX();var pY=getPlayerY();var pZ=getPlayerZ();if(itemId==0)
{if(blockId==2)
{addItemInventory(279,1);{var if(getCarriedItem()==279)
{preventDefault();setVelY(victim,15.0);setVelX(victim,0.0);}}
I have a small mod that I made but it won't work for BlockLauncher, here is the code:
function useItem(x,y,z,itemId,blockId,side)
{var pX=getPlayerX();var pY=getPlayerY();var pZ=getPlayerZ();if(itemId==0)
{if(blockId==2)
{addItemInventory(279,1);{var if(getCarriedItem()==279)
{preventDefault();setVelY(victim,15.0);setVelX(victim,0.0);}}