Database design, start callback-based implementation planning

This commit is contained in:
William committed 2022-05-21 02:53:58 +01:00
1 parent 0446db39c5
commit 8e7d5e74a0
17 files changed
+672 -92

No files matched your search

@@ -1,7 +1,9 @@
package net.william278.huskhomes.player;
import de.themoep.minedown.MineDown;
import net.william278.huskhomes.position.Location;
import net.william278.huskhomes.position.Position;
import net.william278.huskhomes.teleport.TeleportResult;
import org.jetbrains.annotations.NotNull;
import java.util.UUID;
@@ -48,6 +50,13 @@ public interface Player {
*/
void sendMessage(@NotNull MineDown mineDown);
/**
* Teleport a player to the specified {@link Location}
*
* @param location the {@link Location} to teleport the player to
*/
CompletableFuture<TeleportResult> teleport(Location location);
/**
* Returns the maximum number of homes this player can set
*