This mod adds an enderpearl (snowball) into your game. It has no texture but you can optionaly do that. Just throw it like a snowball and it will teleport you to where it lands!
Please wait 5 seconds for the download link to support our mod team and so we can get money for a website:
At first I thought this was just a fun little joke, then I realized it's for PE, which doesn't have enderpearls already. Nice job then! I can't actually download PE mods, because I have an Apple device, but still, good job!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumNice Mod (the Mod can be written in 4 lines, but is good), but you could add that Endermans are dropping these:
var done=0;
function deathHook(entity){
if(Entity.getEntityTypeId(entity)==38 && done==0){
done=1;
prevent.default();
var x = Entity.getX(entity);
var y = Entity.getY(entity);
var z = Entity.getZ(entity);
Entity.setHealth(entity, 0); //I used the done-variable, because I now activate the deathHook() again, or?
var random = (int) Math.random()*2+1;
if(random==1)
Level.dropItem(x, y, z, 2.0, 332, 1, 0);
}else{
done=0;
}
}
You could also add that the Enderpearl steals two life by building this in your removedHook():
Player.setHealth(Entity.getHealth(Player.getEntity())-4);
Can I join your mod team as the following worker, insperation items and ideas.
This looks a whole lot like a mod I made...
http://www.minecraftforum.net/members/Ender_Pe
At first I thought this was just a fun little joke, then I realized it's for PE, which doesn't have enderpearls already. Nice job then! I can't actually download PE mods, because I have an Apple device, but still, good job!
asdf
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWhich mod Team? If you mean me, I'm only with myself Team.
He means mine.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOkay
You could prevent losing the Snowball by creating an independent Item, textureing it and setting a function to trow a rendered Entity.
Or set the Ender Pearl as 332:1 instead, then set a texture for (332,1,1) and run your player position statement.