This is a simple mod that I make with ModPE script made it by treblr what the mod does is that gives you full diamond armor+set+food+arrows+bow plz read the instructions to help you:
1⃣When you hit grass (grass:has green thing on the top) with a stick you get 10 diamond blocks
2⃣When you hit dirt (dirt:no green thing on the top) with a stick you get diamond armor+set+food+arrows+bow
Here is the link you just have to copy and paste or put my Script code (it will be on the spoiler at the bottom)
here is the script:
//Mods made by minejulioGD
function useItem(x,y,z,itemId,blockId)
{
if(itemId==280&&blockId==2)
{
addItemInventory(57,20);
}
else if(blockId==3)
{
addItemInventory(276,1);
addItemInventory(277,1);
addItemInventory(278,1);
addItemInventory(279,1);
addItemInventory(310,1);
addItemInventory(311,1);
addItemInventory(312,1);
addItemInventory(313,1);
addItemInventory(320,64);
addItemInventory(261,1);
addItemInventory(262,10);
addItemInventory(57,10);
clientMessage("Full diamond armor an set on")
{
function attackHook(attacker, victim)
}
if(getCarriedItem()==270)
{
preventDefault();
setVelY(victim,2.0);
setVelX(victim,1.0);
My script code is : 1pcv7h (but will be updating it)
1⃣When you hit grass (grass:has green thing on the top) with a stick you get 10 diamond blocks
2⃣When you hit dirt (dirt:no green thing on the top) with a stick you get diamond armor+set+food+arrows+bow
Here is the link you just have to copy and paste or put my Script code (it will be on the spoiler at the bottom)
//Mods made by minejulioGD
function useItem(x,y,z,itemId,blockId)
{
if(itemId==280&&blockId==2)
{
addItemInventory(57,20);
}
else if(blockId==3)
{
addItemInventory(276,1);
addItemInventory(277,1);
addItemInventory(278,1);
addItemInventory(279,1);
addItemInventory(310,1);
addItemInventory(311,1);
addItemInventory(312,1);
addItemInventory(313,1);
addItemInventory(320,64);
addItemInventory(261,1);
addItemInventory(262,10);
addItemInventory(57,10);
clientMessage("Full diamond armor an set on")
{
function attackHook(attacker, victim)
}
if(getCarriedItem()==270)
{
preventDefault();
setVelY(victim,2.0);
setVelX(victim,1.0);
My script code is : 1pcv7h (but will be updating it)
I hope all you enjoy it