This commit is contained in:
gnembon committed 2020-11-24 19:39:06 -04:00
commit 7d727d9717
1 file changed
+4 -2
+4 -2
View File
@@ -4120,7 +4120,8 @@ that have functions listed above will be automatically bounded and unbounded whe
### `scoreboard()`, `scoreboard(objective)`, `scoreboard(objective, key)`, `scoreboard(objective, key, value)` ### `scoreboard()`, `scoreboard(objective)`, `scoreboard(objective, key)`, `scoreboard(objective, key, value)`
Displays or modifies individual scoreboard values. With no arguments, returns the list of current objectives. Displays or modifies individual scoreboard values. With no arguments, returns the list of current objectives.
With specified `objective`, lists all keys (players) associated with current objective. With specified `objective`, With specified `objective`, lists all keys (players) associated with current objective, or `null` if objective does not exist.
With specified `objective` and
`key`, returns current value of the objective for a given player (key). With additional `value` sets a new scoreboard `key`, returns current value of the objective for a given player (key). With additional `value` sets a new scoreboard
value, returning previous value associated with the `key`. value, returning previous value associated with the `key`.
@@ -4143,7 +4144,8 @@ for the objective.
### `scoreboard_display(place, objective)` ### `scoreboard_display(place, objective)`
sets display location for a specified `objective`. If `objective` is `null`, then display is cleared. sets display location for a specified `objective`. If `objective` is `null`, then display is cleared. If objective is invalid,
returns `null`.
# Auxiliary aspects # Auxiliary aspects
Collection of other methods that control smaller, yet still important aspects of the game Collection of other methods that control smaller, yet still important aspects of the game