mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 00:52:22 -07:00
#965: Add DragonBattle#setPreviouslyKilled
By: DaFeist <56165444+dafeist-github@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user