mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 02:22:12 +01:00
SPIGOT-5853: Add DragonBattle#generateEndPortal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
5037b91f7e
commit
ce2e0ba37a
1 changed files with 11 additions and 2 deletions
|
@ -33,11 +33,20 @@ public interface DragonBattle {
|
|||
*
|
||||
* This location will be at the center of the base (bottom) of the portal.
|
||||
*
|
||||
* @return the end portal location
|
||||
* @return the end portal location or null if not generated
|
||||
*/
|
||||
@NotNull
|
||||
@Nullable
|
||||
public Location getEndPortalLocation();
|
||||
|
||||
/**
|
||||
* Generate the end portal.
|
||||
*
|
||||
* @param withPortals whether or not end portal blocks should be generated
|
||||
*
|
||||
* @return true if generated, false if already present
|
||||
*/
|
||||
public boolean generateEndPortal(boolean withPortals);
|
||||
|
||||
/**
|
||||
* Check whether or not the first dragon has been killed already.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue