SPIGOT-3629: Greatly expand entity effect API

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2017-11-07 19:32:15 +11:00
parent 417599c2ab
commit 1eb289b1a3
3 changed files with 108 additions and 49 deletions

View File

@@ -311,6 +311,8 @@ public interface Entity extends Metadatable, CommandSender, Nameable {
* Performs the specified {@link EntityEffect} for this entity.
* <p>
* This will be viewable to all players near the entity.
* <p>
* If the effect is not applicable to this class of entity, it will not play.
*
* @param type Effect to play.
*/