Class EndBoss
java.lang.Object
com.welcome234.pluginsystem.entity.Entity
com.welcome234.pluginsystem.entity.EndBoss
Represents an End Boss
-
Method Details
-
getTarget
Gets the Player that this End Boss is currently targeting- Returns:
- Player instance, or null if they are not targeting anything
- Throws:
IllegalStateException- if entity is not loaded or alive
-