mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
SPIGOT-3259: Clarify JavaDoc regarding totalExperience
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7c877e399d
commit
ea9e27bfea
1 changed files with 9 additions and 3 deletions
|
@ -798,16 +798,22 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
||||||
public void setLevel(int level);
|
public void setLevel(int level);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the players total experience points
|
* Gets the players total experience points.
|
||||||
|
* <br>
|
||||||
|
* This refers to the total amount of experience the player has collected
|
||||||
|
* over time and is only displayed as the player's "score" upon dying.
|
||||||
*
|
*
|
||||||
* @return Current total experience points
|
* @return Current total experience points
|
||||||
*/
|
*/
|
||||||
public int getTotalExperience();
|
public int getTotalExperience();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the players current experience level
|
* Sets the players current experience points.
|
||||||
|
* <br>
|
||||||
|
* This refers to the total amount of experience the player has collected
|
||||||
|
* over time and is only displayed as the player's "score" upon dying.
|
||||||
*
|
*
|
||||||
* @param exp New experience level
|
* @param exp New total experience points
|
||||||
*/
|
*/
|
||||||
public void setTotalExperience(int exp);
|
public void setTotalExperience(int exp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue