mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
#965: Add DragonBattle#setPreviouslyKilled
This commit is contained in:
parent
28e3702f8a
commit
cc01b74579
1 changed files with 11 additions and 0 deletions
|
@ -56,6 +56,17 @@ public interface DragonBattle {
|
|||
*/
|
||||
public boolean hasBeenPreviouslyKilled();
|
||||
|
||||
/**
|
||||
* Sets whether the first dragon has been killed already.
|
||||
* <br>
|
||||
* If the dragon has not previously been killed, a portal will be generated
|
||||
* when it is finally killed.
|
||||
*
|
||||
* @param previouslyKilled true if the dragon has been killed before, false
|
||||
* otherwise
|
||||
*/
|
||||
public void setPreviouslyKilled(boolean previouslyKilled);
|
||||
|
||||
/**
|
||||
* Try to initiate a respawn sequence to summon the dragon as though a player has
|
||||
* placed 4 end crystals on the portal.
|
||||
|
|
Loading…
Add table
Reference in a new issue