RangedEntity API

Allows you to determine if an entity is capable of ranged attacks,
and to perform an attack.
This commit is contained in:
Aikar
2018-06-26 21:34:40 -04:00
parent 77334adf24
commit c8a0abe8fd
10 changed files with 58 additions and 9 deletions

View File

@@ -1,9 +1,11 @@
package org.bukkit.entity;
import com.destroystokyo.paper.entity.RangedEntity;
/**
* Represents a Witch
*/
public interface Witch extends Raider {
public interface Witch extends Raider, RangedEntity { // Paper
/**
* Gets whether the witch is drinking a potion