-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Java 1.21.3 Support #936
base: master
Are you sure you want to change the base?
Java 1.21.3 Support #936
Conversation
Can you point missing files to 1.21.1 for now |
Let's open an nmp and mineflayer PRs using this |
nmp and mineflayer PRs PrismarineJS/node-minecraft-protocol#1347 fail due to wrong protocol as expected |
see https://github.com/extremeheat/extracted_minecraft_data/pulls as a source of info for the protocol |
…packet_settings, add packet_select_bundle_item add packet_tick_end
I'm using yarn because some files failed to decompile in extremheat's repository. |
…play phase, add some TODOs
https://github.com/PrismarineJS/node-minecraft-protocol/actions/runs/11543601911/job/32356083688 now passing but still some packet errors |
data/pc/latest/proto.yml
Outdated
@@ -1542,7 +1531,40 @@ | |||
if custom_report_details: packet_common_custom_report_details | |||
if server_links: packet_common_server_links | |||
^play.toClient.types: | |||
# World state information for spawn and respawn packets | |||
packet_set_player_inventory: |
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.
Please make sure to add up to date # MC: ClassName
anchors to the top of all packet defs, this makes it easy to jump between the vanilla implementation and the protodef defs
additions, corrections
I did some work on the protocol, still some work to do:
if wolf_variant: ["registryEntryHolder", {
"base": { name: "variantId", type: "varint" },
"otherwise": { name: "variantData", type: "EntityMetadataWolfVariant" }
}]
["bitflags", {
"type": "u32",
"flags": ["x", "y", "z", "yaw", "pitch", "dx", "dy", "dz", "yawDelta"]
}] |
@@ -3689,8 +3096,12 @@ | |||
actionId: varint | |||
jumpBoost: varint | |||
# MC: ServerboundPlayerInputPacket | |||
packet_player_inputs: | |||
inputsBitset: u8 | |||
packet_steer_vehicle: |
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.
This name doesn't make sense anymore since this packet is sent even if the player isn't in a vehicle
@GroobleDierne For 'registryDataIsMandatory', 'version' needs to be changed to 'versions' |
Thx |
Now only recipes related packets seem to be missing for protocol support |
I'll try debugging them later today |
Fixes #929, #928
TODO: