FallenMoonNetwork / CanaryMod

Server administration mod and API for Minecraft beta multiplayer server
http://canarymod.net
GNU Lesser General Public License v3.0
20 stars 14 forks source link

add onThrowableThrown #21

Closed spenk closed 11 years ago

spenk commented 12 years ago

called when a trowable entity is thrown with params player and throwableEntity for throwable entity i want .getLocation(); and didhitPlayer(); or something

gregcarlin commented 11 years ago

This is a little old, but couldn't you just check onItemUse? And you wouldn't be able to tell if it hit a player until the "throwable" hit something, which you can detect with onProjectileHit.

gregcarlin commented 11 years ago

I'm going to close this, given that I'm pretty sure everything you want to do is possible and you haven't replied in over 2 weeks.