
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.
10 lines
130 B
Java
10 lines
130 B
Java
package org.bukkit.entity;
|
|
|
|
/**
|
|
* Represents a Fish.
|
|
*
|
|
* @author Cogito
|
|
*/
|
|
public interface Fish extends Entity {
|
|
}
|