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

@@ -6,7 +6,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Represents a Wither boss
*/
public interface Wither extends Monster, Boss {
public interface Wither extends Monster, Boss, com.destroystokyo.paper.entity.RangedEntity { // Paper
/**
* {@inheritDoc}