mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-05 23:21:38 +01:00
#965: Add DragonBattle#setPreviouslyKilled
By: DaFeist <56165444+dafeist-github@users.noreply.github.com>
This commit is contained in:
parent
7b30278054
commit
e0cee662c2
@ -56,6 +56,17 @@ public interface DragonBattle {
|
|||||||
*/
|
*/
|
||||||
public boolean hasBeenPreviouslyKilled();
|
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
|
* Try to initiate a respawn sequence to summon the dragon as though a player has
|
||||||
* placed 4 end crystals on the portal.
|
* placed 4 end crystals on the portal.
|
||||||
|
Loading…
Reference in New Issue
Block a user