Commits
DaFeist authored and md_5 committed cc01b745798
49 49 | */ |
50 50 | public boolean generateEndPortal(boolean withPortals); |
51 51 | |
52 52 | /** |
53 53 | * Check whether the first dragon has been killed already. |
54 54 | * |
55 55 | * @return true if killed before, false otherwise |
56 56 | */ |
57 57 | public boolean hasBeenPreviouslyKilled(); |
58 58 | |
59 + | /** |
60 + | * Sets whether the first dragon has been killed already. |
61 + | * <br> |
62 + | * If the dragon has not previously been killed, a portal will be generated |
63 + | * when it is finally killed. |
64 + | * |
65 + | * @param previouslyKilled true if the dragon has been killed before, false |
66 + | * otherwise |
67 + | */ |
68 + | public void setPreviouslyKilled(boolean previouslyKilled); |
69 + | |
59 70 | /** |
60 71 | * Try to initiate a respawn sequence to summon the dragon as though a player has |
61 72 | * placed 4 end crystals on the portal. |
62 73 | */ |
63 74 | public void initiateRespawn(); |
64 75 | |
65 76 | /** |
66 77 | * Try to initiate a respawn sequence to summon the dragon. |
67 78 | * |
68 79 | * @param enderCrystals the {@link EnderCrystal EnderCrystals} to use in the |