Merge docs for 'Scoreboard for invalid objective shouldn't fail since objective names are not fixed and provided by players.'
This commit is contained in:
1 parent
550e53aec7
commit
7645312856
1 file changed
+4
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user