Added option to only set footer, and clear both
This commit is contained in:
1 parent
a106f2611f
commit
eaa242c8eb
2 files changed
+21
-5
No files matched your search
@@ -277,9 +277,12 @@ Sends the player (or players if `players` is a list) a title of a specific type,
|
||||
Executing with those will set the times to the specified ones.
|
||||
Note that `actionbar` type doesn't support changing times (vanilla bug, see [MC-106167](https://bugs.mojang.com/browse/MC-106167)).
|
||||
|
||||
### `display_title(players, 'player_list', header, footer),`
|
||||
### `display_title(players, 'player_list')`
|
||||
### `display_title(players, 'player_list', footer)`
|
||||
### `display_title(players, 'player_list', header, footer)`
|
||||
|
||||
Changes the header and footer of the player list.
|
||||
When no `header` and `footer` is specified, they will be reset.
|
||||
Keep in mind this would interfere with carpet's loggers, so if you are using this, you need to keep them off.
|
||||
|
||||
### `logger(msg), logger(type, msg)`
|
||||
|
||||
Reference in new issue
Block a user