diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index 7f1d1d9aef..347b4a784b 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -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. + *
+ * 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. *