#683: Add Player#showDemoScreen

By: coll1234567 <joshl5324@gmail.com>
This commit is contained in:
Bukkit/Spigot 2021-11-26 10:13:40 +11:00
parent 61af905f78
commit 0618087d5f

View File

@ -1308,6 +1308,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
*/
public void openBook(@NotNull ItemStack book);
/**
* Shows the demo screen to the player, this screen is normally only seen in
* the demo version of the game.
* <br>
* Servers can modify the text on this screen using a resource pack.
*/
public void showDemoScreen();
/**
* Gets whether the player has the "Allow Server Listings" setting enabled.
*