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,8 +1,10 @@
package org.bukkit.entity;
import com.destroystokyo.paper.entity.RangedEntity; // Paper
import org.bukkit.inventory.InventoryHolder;
/**
* Illager entity.
*/
public interface Pillager extends Illager, InventoryHolder { }
public interface Pillager extends Illager, InventoryHolder, RangedEntity { } // Paper