feat: target Minecraft 1.21 on Fabric, add API

Also adjusts how the HuskHomes API on Fabric is versioned. Now has the pattern: `net.william278.huskhomes:huskhomes-fabric:<version>+<mc_version>`

Closes #640
This commit is contained in:
William committed 2024-06-24 11:43:03 +01:00
1 parent 33d9868457
commit 1a258264f8
11 files changed
+258 -75

No files matched your search

@@ -71,6 +71,17 @@ public class BaseHuskHomesAPI {
this.plugin = plugin;
}
/**
* Get the name of this server.
*
* @return the server name
* @since 4.6.4
*/
@NotNull
public String getServer() {
return plugin.getServerName();
}
/**
* Returns saved {@link SavedUser} for the given player's account {@link UUID}, if they exist.
*