Implementation of the EntityDamage*Events.

A new event EntityDamageByProjectileEvent was created. EntityDamageByProjectileEvent
adds the ability to get the projectile entity (such as an egg) and also set if
the projectile 'bounces'. New interfaces were created to facilitate all kinds
of projectile entities. Changes were made to facilitate the new event, and
enable other events, for plugins and event listeners.

By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-01-13 00:15:31 +11:00
parent b105f07fa7
commit 40364131cb
7 changed files with 75 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ import org.bukkit.World;
*/
public interface Entity {
/**
* Gets the entitys current position
* Gets the entity's current position
*
* @return Location containing the position of this entity
*/