TextPlaceholderAPI icon indicating copy to clipboard operation
TextPlaceholderAPI copied to clipboard

<c:color> syntax does not work for color aliases.

Open ghost opened this issue 2 years ago • 2 comments

Hopefully the title suffices but here's an example below:

<pink>this is pink</pink> <c:pink>and this is...</c>
not pink
<red>this is red</red> <c:red>and this is...</c>
weird bug

image

Styled Chat: 2.2.3+1.20.1 Styled Nicknames: 1.2.1+1.20

ghost avatar Nov 09 '23 17:11 ghost

Technically it is intended as <c:X> tag takes only vanilla color values, and <X> color tags are made by hand as proxies

Patbox avatar Nov 09 '23 17:11 Patbox

the <c:[X]> aka the color:[X] tag is used as follows using the RGB Hash Codes: <c:#FFFFFF>put your text here</> Also, red and pink are existing color nodes, where "pink" isn't actually pink, but it is coded as an alias of <light_purple>

sakura-ryoko avatar Jan 19 '24 20:01 sakura-ryoko