SpongeAPI
SpongeAPI copied to clipboard
TextTemplate does not support multiple colors
trafficstars
public TextTemplate claimCreateSuccess = TextTemplate.of(TextColors.GREEN, TextTemplate.arg("type"), TextColors.AQUA, " created!", TextColors.LIGHT_PURPLE, "Use /trust to share it with friends.");
Here is a screenshot showing output of the above text template.

The issues I see are as follows
- You cannot use multiple colors as the last specified seems to win.
TextColors.GREENshould make argument green. I know you can set the arg color on the template itself but this shouldn't be required.- TextTemplate args should support passing colors with the argument.
Possibly related to https://github.com/SpongePowered/SpongeCommon/issues/1152
Hey! You seem to be running an unsupported version (API 7) of SpongeAPI. Support for API 7 ended in January 2022.
API-7 is now end-of-life. We will not be issuing any more API updates for version 7 of our API^1
As part of our legacy cleanup we are closing issues relating to API7/1.12.2^2
The Text API is now supplied by the Kyori Adventure library so this issue is no longer relevant to this repository.