Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour with transparency #987

Open
kezz opened this issue Oct 17, 2023 · 1 comment
Open

Colour with transparency #987

kezz opened this issue Oct 17, 2023 · 1 comment

Comments

@kezz
Copy link
Member

kezz commented Oct 17, 2023

With the new text display entities comes an obvious good use case to stick components everywhere to make stuff pretty. However, I can't use adventure in the entire creation of a display entity because we do not have a colour object/interface/etc. that has transparency.

@zml2008
Copy link
Member

zml2008 commented Dec 8, 2023

We specifically filter out alpha on TextColor -- otherwise you can get components with differing colours that are visually identical. I think RGBLike would mostly fulfill the role of "interface allowing colour with alpha". Would it be sufficient to do a pass over the API to make sure RGBLike is accepted in more places?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants