Skip to content

Translate llama and trader llama coat variants - #496

Open
guhlutions wants to merge 1 commit into
ViaVersionAddons:mainfrom
guhlutions:fix/llama-variant-metadata
Open

guhlutions wants to merge 1 commit into
ViaVersionAddons:mainfrom
guhlutions:fix/llama-variant-metadata

Conversation

@guhlutions

Copy link
Copy Markdown

A Bedrock Realm sent VARIANT = 3 for a llama. ViaBedrock logged an unsupported variant and the Java client kept the default coat.

Bedrock and Java use the same IDs for the four llama coat colors. Forward the valid IDs as Java's llama variant metadata for llamas and trader llamas. Unknown values fall back to the creamy coat and log a warning.

Tested all four colors, repeated updates, and invalid IDs for both entity types. Verified the metadata for Java 26.3 and through ViaBackwards to Java 1.21.4.

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.

1 participant