Skip to content

Add potion color mappings for new 1.19.4 colors - #1329

Open
roccodev wants to merge 1 commit into
ViaVersion:masterfrom
roccodev:fix/potion-splash-color
Open

roccodev wants to merge 1 commit into
ViaVersion:masterfrom
roccodev:fix/potion-splash-color

Conversation

@roccodev

@roccodev roccodev commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Fixes potion splash colors in 1.9 and 1.10 on 1.19.4+ servers

Color references:

Not sure if a better solution would be to downsample/find nearest color. I tried with some simple rgb distance matching and it would heavily favor the gray colors. Would be cool to downsample CustomPotionColor though

@florianreuth florianreuth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this go into the 1.19.3->1.19.4 protocol then?

@roccodev

Copy link
Copy Markdown
Contributor Author

I'm not sure, all versions between 1.11 and 1.19.4 use the potion's color (which we can just keep passing on), while 1.10 wants the registry id. Unless you mean saving the id there for 1.10 to use down the line, while leaving the other versions untouched?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants