Package org.mockbukkit.mockbukkit.entity
Class DragonBattleMock
java.lang.Object
org.mockbukkit.mockbukkit.entity.DragonBattleMock
- All Implemented Interfaces:
DragonBattle
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.boss.DragonBattle
DragonBattle.RespawnPhase -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerateEndPortal(boolean withPortals) @NotNull BossBar@Nullable EnderDragon@Nullable Locationint@NotNull @Unmodifiable List<EnderCrystal> @NotNull @Unmodifiable List<EnderCrystal> booleanvoidbooleaninitiateRespawn(@Nullable Collection<EnderCrystal> enderCrystalCollection) voidvoidsetPreviouslyKilled(boolean previouslyKilled) booleansetRespawnPhase(DragonBattle.RespawnPhase respawnPhase) booleanvoidspawnNewGateway(@NotNull Position position)
-
Field Details
-
GATEWAY_COUNT
public static final int GATEWAY_COUNT- See Also:
-
gateways
public int gateways
-
-
Constructor Details
-
DragonBattleMock
-
-
Method Details
-
getEnderDragon
- Specified by:
getEnderDragonin interfaceDragonBattle
-
getBossBar
- Specified by:
getBossBarin interfaceDragonBattle
-
getEndPortalLocation
- Specified by:
getEndPortalLocationin interfaceDragonBattle
-
generateEndPortal
public boolean generateEndPortal(boolean withPortals) - Specified by:
generateEndPortalin interfaceDragonBattle
-
hasBeenPreviouslyKilled
public boolean hasBeenPreviouslyKilled()- Specified by:
hasBeenPreviouslyKilledin interfaceDragonBattle
-
setPreviouslyKilled
public void setPreviouslyKilled(boolean previouslyKilled) - Specified by:
setPreviouslyKilledin interfaceDragonBattle
-
initiateRespawn
public void initiateRespawn()- Specified by:
initiateRespawnin interfaceDragonBattle
-
initiateRespawn
- Specified by:
initiateRespawnin interfaceDragonBattle
-
getRespawnPhase
- Specified by:
getRespawnPhasein interfaceDragonBattle
-
setRespawnPhase
- Specified by:
setRespawnPhasein interfaceDragonBattle
-
resetCrystals
public void resetCrystals()- Specified by:
resetCrystalsin interfaceDragonBattle
-
getGatewayCount
public int getGatewayCount()- Specified by:
getGatewayCountin interfaceDragonBattle
-
spawnNewGateway
public boolean spawnNewGateway()- Specified by:
spawnNewGatewayin interfaceDragonBattle
-
spawnNewGateway
- Specified by:
spawnNewGatewayin interfaceDragonBattle
-
getRespawnCrystals
- Specified by:
getRespawnCrystalsin interfaceDragonBattle
-
getHealingCrystals
- Specified by:
getHealingCrystalsin interfaceDragonBattle
-