Patbox / TextPlaceholderAPI

Placeholder API for Fabric
GNU Lesser General Public License v3.0
38 stars 17 forks source link

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

Open ghost opened 10 months ago

ghost commented 10 months ago

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

Patbox commented 10 months ago

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

sakura-ryoko commented 7 months ago

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