i have a new mod I want to create but idk how to do it i got the jump (thanks to dark diamond miner)
I want the mod to do:
when i land i get no damage
insta kill everything when i land
no destroy block
super punch (knock backs mobs)
MOD (so far) https://www.dropbox.com/s/w9szxb8vbpjgi1t/HULKMOD.js?m=
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! ---------------->
To post a comment, please login or register a new account.
I want the mod to do:
when i land i get no damage
insta kill everything when i land
no destroy block
super punch (knock backs mobs)
MOD (so far)
https://www.dropbox.com/s/w9szxb8vbpjgi1t/HULKMOD.js?m=
var health = null; var tile; //What ever Hook if(jumped == true){ //A variable that lets you know if you jumped or not. health = Entity.getHealth(getPlayerEnt()); ModPE.saveData("save", health); } tile = getTile(x, y-2, z); if(getTile(x, y-2, z) == tile && jumped == true) { ModPE.readData("save"); Entity.setHealth(getPlayerEnt(), health); jumped = false; } }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! ---------------->
//Whatever hook tile = null; tile = getTile(x, y-2, z); if(getTile(x, y-2, z) == tile && jumped == true); //This code is just stupid XD I cant think if other ways to do this. { kill = true; Entity.remove(10); Entity.remove(11); Entity.remove(12); Entity.remove(13); Entity.remove(32); Entity.remove(33); Entity.remove(34); Entity.remove(35); Entity.remove(36); } }And... Finally:function lookdir (pitch, yaw) { diry = -(Math.sin (pitch / 90)); dirx = -(Math.sin (yaw / 180 * 3.141592)); dirz = (Math.cos (yaw / 180 * 3.141592)); if (diry > 0) { dirx -= (dirx / (0.9999999999999466 / diry)); dirz -= (dirz / (0.9999999999999466 / diry)); } else { dirx -= (dirx / (0.9999999999999466 / (-1 * diry))); dirz -= (dirz / (0.9999999999999466 / (-1 * diry))); } } function knockback (strenght, entity) { lookdir (getPitch (), getYaw ()); setVelX (entity, dirx * strenght); setVelZ (entity, dirz * strenght); } function attackHook(attacker, victim){ if(getCarriedItem() == 0) { knockback(5, victim); } }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! ---------------->