Minecraft Modding: Make entity teleport up when hit by a certain item -


i learning create minecraft mods. know how make entity teleport upwards when hit item. have made item.

override either item#onleftclickentity(itemstack, entityplayer, entity) or item#hitentity(itemstack, entitylivingbase, entitylivingbase). in method set target's y position whatever want.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -