mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-04-13 09:41:09 +00:00
SPIGOT-7920: Expose enderpearls of Player
This commit is contained in:
parent
ef842b72bb
commit
205360171c
1 changed files with 12 additions and 0 deletions
|
@ -491,6 +491,18 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||||
*/
|
*/
|
||||||
public void setRespawnLocation(@Nullable Location location, boolean force);
|
public void setRespawnLocation(@Nullable Location location, boolean force);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the ender pearls currently associated with this entity.
|
||||||
|
* <p>
|
||||||
|
* 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<EnderPearl> getEnderPearls();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Play a note for the player at a location. <br>
|
* Play a note for the player at a location. <br>
|
||||||
* This <i>will</i> work with cake.
|
* This <i>will</i> work with cake.
|
||||||
|
|
Loading…
Add table
Reference in a new issue