Package net.eternalclient.api.interfaces
Interface Identifiable
-
- All Known Implementing Classes:
Character
,Entity
,GameObject
,GroundItem
,Item
,NPC
,Player
public interface Identifiable
This interface provides methods for retrieving the ID, name, colored name, and type of an identifiable entity, as well as checking if it has a specific name or ID.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
containsName(java.lang.String... names)
java.lang.String
getColoredName()
int
getID()
java.lang.String
getName()
EntityType
getType()
default boolean
hasID(int... ids)
default boolean
hasName(java.lang.String... names)
-
-
-
Method Detail
-
getID
int getID()
-
getName
java.lang.String getName()
-
getColoredName
java.lang.String getColoredName()
-
getType
EntityType getType()
-
hasName
default boolean hasName(java.lang.String... names)
-
containsName
default boolean containsName(java.lang.String... names)
-
hasID
default boolean hasID(int... ids)
-
-