mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
SPIGOT-7406: Improve documentation for getDragonBattle
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
cae67d1aad
commit
76090cb83e
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.
|
||||
*
|
||||
* This will return null if the EnderDragon is not in the End dimension.
|
||||
* <br>
|
||||
* 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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue