mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
SPIGOT-7406: Improve documentation for getDragonBattle
By: Doc <nachito94@msn.com>
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user