mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-21 20:27:24 +01:00
#965: Add DragonBattle#setPreviouslyKilled
By: DaFeist <56165444+dafeist-github@users.noreply.github.com>
This commit is contained in:
parent
7b30278054
commit
e0cee662c2
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