able to set multiple lines in tab header and footer, example:
set loop-player's tab list header to "hello", "cool dude" and "yo"
set loop-player's tab list footer to "yes" and "%loop-player%"
currently this returns an error saying it can only be set to one text
I agree that should definitely be done.
Adding could be useful as well.
add “Hello %player%” to the player’s tab list footer
Maybe a way to edit a specific line from the tab header/footer?
set line 2 of player’s tab list header to “Hello!”
delete line 2 of player’s tab list footer
Adding could be useful as well.
add “Hello %player%” to the player’s tab list footer
Maybe a way to edit a specific line from the tab header/footer?
set line 2 of player’s tab list header to “Hello!”
delete line 2 of player’s tab list footer
line x of tab list header would definitely be a nice expression
Whereas lores actually are stored as multiple strings, the tablist header and footer use one string and are separated by newlines. My pull request, #2505, adds a newline literal which will allow for multiple lines on the tablist.
The line separator will definitely be helpful.
I think we can easily add something for setting multiple lines using a list, and I think it would be helpful, but as JRoy pointed out, the header/footers are actually a single line, so replacing/setting/adding each line separately from the effect might get a little tricky, and in my opinion isn't something we should be handling.
Yeah, this shouldn't work with text lists but line breaks. (no need to keep this issue open)
i guess when newline will be out this will be useless
Most helpful comment
I agree that should definitely be done.