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
bedrock/1.19.30 initial commit #631
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data/bedrock/latest/proto.yml
Outdated
# Repetitions represents the amount of times the test will be run. | ||
repetitions: varint | ||
# Rotation represents the rotation of the test. It is one of the constants above. | ||
rotation: u8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can add the constants in https://github.com/Sandertv/gophertunnel/pull/146/files#diff-7da5dae79269c9351484664f4b134a04deafc18b605327b4ee649659907d078cR5 for clarity that this is not an analog field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done and done. Good catch!
Re game_test_request.rotation:
- okay... i guess that works. I suppose they would have to step up to 16-bit if they wanted 360 degrees.
- Kept them as indexed integers. Would strings be better? or perhaps qualified strings (
"rotation0"
)?: - 0... and 360?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, using numbers in the enum isn't good because that can create data type collisions. As users can specify the string enum representation or specify a numeric value for these fields, this means ambiguity when serializing in protodef. I've corrected them to be strings.
Thanks for the work on this! |
* bedrock/1.19.30 initial commit * Fix broken link (oops) * Fix datapaths (bad rebase artifact) * Add missing yml files * Add missing enumerations * Update protocol.json * Update proto.yml Avoid field data type clashing * protocol updates for v554 * correction to RecipeIngredient's int_id_meta * rebuild JSONs Co-authored-by: extremeheat <extreme@protonmail.ch>
Still needs work on bedrock-protocol end.
Used Sandertv/gophertunnel#146 as a guide, but skipped add_player and update_abilities packet changes as they seem to be just subtyping and nothing functional.