Hello, Im IsiahGMiner69 I am new to modding and recently I have started to develop my own mod. I am a begginer at it but I understand almost everything thanks to my JavaScript classes but I still dont understand how to make things like custom shovels, axes, hoes, picaxes, bows, etc... Please can someone help me understand what it takes to do that and how I will put it into a script and have that script fully function.
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
That stuffed up the formatting, put it into one code segment
Rollback Post to RevisionRollBack
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
thankyou. I thought it was tha i just was not sure. if you could send me a email containing a js file containing codes for pickaxe axe shovel etc. basically just a code for the t same thing above except for the other items. if you can ill send it to you
function modTick(){
if(Player.getCarriedItem()==500){
Block.setDestroyTime(1, 0.5);
//Destroy Times here
}if(Player.getCarriedItem()!=500){
Block.setDestroyTime(1, 2);
}
}
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
Don't copy the [font]s and [colors]s, the formatting stuffed up
Rollback Post to RevisionRollBack
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
ModPE.setItem(500, "pickaxe", 0, "Custom Pickaxe"); Item.setMaxDamage(500, 2); function destroyBlock(x, y, z, side){ if(getCarriedItem()==500 && getTile(x, y, z)==1){Level.destroyBlock(x, y, z, false); Level.dropItem(x, y, z, 0, 4, 1); } if(getCarriedItem==500){ if(Player.getCarriedItemData() < 2) Entity.setCarriedItem(getPlayerEnt(), 500, Player.getCarriedItemCount(), Player.getCarriedItemData()+1); else{ Level.playSoundEnt(getPlayerEnt(), "random.break", 100, 100); Player.clearInventorySlot(Player.getSelectedSlotId()); } } function modTick(){ if(Player.getCarriedItem()==500){ Block.setDestroyTime(1, 0.5); //Destroy Times here } }+1 if I helped!
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
see it worked but everything got instantly broken and everything i broke turned into cobble
[size=1em][font=monospace, serif][color=rgb(0, 0, 0)][/color][/font][/size][/color][/font][/size]
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11