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 a5cbf0f41f..18bc9c1c90 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -491,6 +491,18 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM */ public void setRespawnLocation(@Nullable Location location, boolean force); + /** + * Gets the ender pearls currently associated with this entity. + *

+ * The returned list will not be directly linked to the entity's current + * pearls, and no guarantees are made as to its mutability. + * + * @return collection of entities corresponding to current pearls. + */ + @NotNull + @ApiStatus.Experimental + public Collection getEnderPearls(); + /** * Play a note for the player at a location.
* This will work with cake.