Update to Minecraft 1.21

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2024-06-14 01:05:00 +10:00
parent 9c6bdb14e4
commit 5c69fd52f0
62 changed files with 550 additions and 610 deletions

View File

@@ -58,6 +58,7 @@ import org.bukkit.scoreboard.Criteria;
import org.bukkit.scoreboard.ScoreboardManager;
import org.bukkit.structure.StructureManager;
import org.bukkit.util.CachedServerIcon;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -1438,6 +1439,15 @@ public interface Server extends PluginMessageRecipient {
*/
void setMotd(@NotNull String motd);
/**
* Gets the server links which will be sent to clients
*
* @return the server's links
*/
@NotNull
@ApiStatus.Experimental
ServerLinks getServerLinks();
/**
* Gets the default message that is displayed when the server is stopped.
*