SPIGOT-7221: Add Enemy (Entity) interface

By: ShaneBee <shanebolenback@me.com>
This commit is contained in:
Bukkit/Spigot
2022-12-31 10:23:59 +11:00
parent 9048c2fc06
commit 5c925130eb
8 changed files with 13 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ package org.bukkit.entity;
/**
* Represents a Hoglin.
*/
public interface Hoglin extends Animals {
public interface Hoglin extends Animals, Enemy {
/**
* Gets whether the hoglin is immune to zombification.