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

bedrock/1.19.30 initial commit #631

Merged
merged 10 commits into from Sep 24, 2022
Merged

Conversation

stevarino
Copy link
Contributor

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.

Copy link
Member

@extremeheat extremeheat left a comment

Choose a reason for hiding this comment

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

# 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
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

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:

  1. okay... i guess that works. I suppose they would have to step up to 16-bit if they wanted 360 degrees.
  2. Kept them as indexed integers. Would strings be better? or perhaps qualified strings ("rotation0")?:
  3. 0... and 360?

Copy link
Member

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.

@extremeheat
Copy link
Member

Thanks for the work on this!

@extremeheat extremeheat merged commit 13f92f1 into PrismarineJS:master Sep 24, 2022
rom1504 pushed a commit to frej4189/minecraft-data that referenced this pull request Dec 19, 2022
* 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>
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.

None yet

2 participants