mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-04-13 09:41:09 +00:00
SPIGOT-7406: Improve documentation for getDragonBattle
This commit is contained in:
parent
01aa02eb53
commit
dbd1761dba
1 changed files with 6 additions and 2 deletions
|
@ -84,8 +84,12 @@ public interface EnderDragon extends ComplexLivingEntity, Boss, Mob, Enemy {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the {@link DragonBattle} associated with this EnderDragon.
|
* Get the {@link DragonBattle} associated with this EnderDragon.
|
||||||
*
|
* <br>
|
||||||
* This will return null if the EnderDragon is not in the End dimension.
|
* This will return null for the following reasons:
|
||||||
|
* <ul>
|
||||||
|
* <li>The EnderDragon is not in the End dimension</li>
|
||||||
|
* <li>The EnderDragon was summoned by command/API</li>
|
||||||
|
* </ul>
|
||||||
*
|
*
|
||||||
* @return the dragon battle
|
* @return the dragon battle
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue