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
Post a Comment