From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: granny Date: Fri, 26 Aug 2022 21:45:01 -0700 Subject: [PATCH] add Player#showCreditScreen diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index 1ff55fb1e32fe713cbfd7a39c2e80fc57d024284..f50c61a8c375af03f3f0f5469e376e3f9c19f03e 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -2387,6 +2387,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM */ public void showDemoScreen(); + /** + * Shows the credits to the player, this screen is normally only seen after + * going into the end portal for the first time. + *
+ * Servers can modify the text on this screen using a resource pack. + */ + public void showCreditScreen(); + /** * Gets whether the player has the "Allow Server Listings" setting enabled. *