Interface DragonTransportService
public interface DragonTransportService
Dragon-bus spawning, flight/passenger queries, endpoint chunks, and glider deployment.
Every method that touches entities, worlds, or endpoint chunk state must be called on the
Bukkit main thread. That includes getFlight(UUID) and getFlights(), which read
live chunk load and plugin-ticket state for each route endpoint.
- Since:
- 1.6.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleandeployGlider(@NotNull org.bukkit.entity.Player player) int@NotNull Optional<org.bukkit.entity.EnderDragon> @NotNull Optional<DragonFlight> @NotNull Collection<DragonFlight> getPassengers(@NotNull UUID dragonId) booleanhasArrived(@NotNull UUID dragonId) booleanboolean@NotNull UUIDspawn(@NotNull Collection<? extends org.bukkit.entity.Player> passengers, @NotNull org.bukkit.Location start, @NotNull org.bukkit.Location destination) booleanintstopAll()
-
Method Details
-
spawn
@NotNull @NotNull UUID spawn(@NotNull @NotNull Collection<? extends org.bukkit.entity.Player> passengers, @NotNull @NotNull org.bukkit.Location start, @NotNull @NotNull org.bukkit.Location destination) -
stop
-
stopAll
int stopAll() -
getActiveCount
int getActiveCount() -
getActiveIds
-
isActive
-
getFlight
-
getFlights
-
getDragon
-
getPassengers
-
hasArrived
-
isMatrixGlidersAvailable
boolean isMatrixGlidersAvailable() -
deployGlider
boolean deployGlider(@NotNull @NotNull org.bukkit.entity.Player player)
-