public interface PlayerTeleportAlgorithm
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
teleport(org.bukkit.entity.Player player,
Island island)
Teleport a player to an island.
|
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
teleport(org.bukkit.entity.Player player,
Island island,
org.bukkit.World.Environment environment)
Teleport a player to an island in a specific environment.
|
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
teleport(org.bukkit.entity.Player player,
org.bukkit.Location location)
Teleport a player to another location.
|
java.util.concurrent.CompletableFuture<java.lang.Boolean> teleport(org.bukkit.entity.Player player, org.bukkit.Location location)
player
- The player to teleport.location
- The location to teleport the player to.java.util.concurrent.CompletableFuture<java.lang.Boolean> teleport(org.bukkit.entity.Player player, Island island)
player
- The player to teleport.island
- The island to teleport the player to.java.util.concurrent.CompletableFuture<java.lang.Boolean> teleport(org.bukkit.entity.Player player, Island island, org.bukkit.World.Environment environment)
player
- The player to teleport.island
- The island to teleport the player to.environment
- The environment to teleport the player to.