Skip to content

Translate armadillo states and animations - #497

Open
guhlutions wants to merge 1 commit into
ViaVersionAddons:mainfrom
guhlutions:fix/armadillo-state-metadata
Open

guhlutions wants to merge 1 commit into
ViaVersionAddons:mainfrom
guhlutions:fix/armadillo-state-metadata

Conversation

@guhlutions

Copy link
Copy Markdown

The Realm sends minecraft:armadillo_state as a synced Bedrock actor property. ViaBedrock currently warns and the Java client keeps its default pose.

Translate the property on spawn and on updates. Starting to roll plays the Java roll-up animation, then settles into the shell pose. Bedrock's relaxing state keeps that pose, and its peeking state sends the Java peek event once per transition. The unrolling state starts Java's roll-out animation.

Tested the Java metadata and event packets for spawn, rolling, peeking, relaxing, and unrolling on 26.3 and via ViaBackwards on 1.21.4, including repeated peeks and invalid property values.

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