Skip to content

Commit

Permalink
1.20.3-1.20.4 protocol (#806)
Browse files Browse the repository at this point in the history
* Update particle ID in particleData to match info from wiki.vg

* Remove Resource Pack Send Packt

* Add add_resource_pack packet to configuration. Will fix all IDs at the end.

* Add remove resource pack packet to configuration

* Updated resource pack response packet - Add UUID

* Update packet ID mapping info for configuration state

* Remove resource pack send packet from play

* Add remove resource pack packet in play

* Add add resource pack packet in play

* Update explosion packet with added fields for block interaciton, explosion particles and sound

* Add reset score packet to play

* Update packet_scoreboard_objective add number format optional field

* Update packet_scoreboard_score remove action field, make value not optional add optional Display Name and Number format fields

* Add new set_ticking_state packet.

* Add step_tick packet

* Fix field ordering in minecraft:crafting_shaped in declare_recipes packet

* Update resource pack response in toServer to add uuid field

* Add set slot state packet

* Add selection and placemnt priority to packet_update_jigsaw_block

* Update toClient packet mappings

* Update toServer packet mappings

* Update where NBT is now used instead of string in many packets

* Update dataPaths to protocol

* Make the protocol ready for using the fixed Network NBT stuff.

* Fix copy paste error originating from my 1.20.2 protocol.json

Had junk fields in my chunk batch stat packet, due to copying the chunk batch finished packet.

* Update to finalized usage for anonymousNbt and check 1.20.3 vs MC SRC

Also update incorrect usage of anonOptionalNbt where strings were optional before. 

Since MC still uses the writeNullable call which adds the boolean before the value..

* Bring fixes from 1.20.2 in.

* Update two strings to nbt in chat_message

These two strings are sent as NBT now, no idea why they left the plainMessage as being sent as a string tho. Strange stuff.

* Fix the Update Objectives packet

Honestly I don't think this is the right way to do this, but I am not knowledge-able enough in ProtoDef to think of a better way.

* Fix incorrect usage of nbt instead of string in toServer Chat packet

* Fix minor formating

* Fix typo in configuration_acknowledged

* Update packet_scoreboard_score with number_format and styling

---------

Co-authored-by: Romain Beaumont <[email protected]>
  • Loading branch information
wgaylord and rom1504 committed Dec 29, 2023
1 parent fc66f39 commit 1aabc9c
Show file tree
Hide file tree
Showing 2 changed files with 7,325 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/dataPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@
"materials": "pc/1.20.3",
"language": "pc/1.20.3",
"entities": "pc/1.20.3",
"protocol": "pc/1.20.2",
"protocol": "pc/1.20.3",
"windows": "pc/1.16.1",
"version": "pc/1.20.3",
"foods": "pc/1.20.3",
Expand All @@ -1312,7 +1312,7 @@
"materials": "pc/1.20.3",
"language": "pc/1.20.3",
"entities": "pc/1.20.3",
"protocol": "pc/1.20.2",
"protocol": "pc/1.20.3",
"windows": "pc/1.16.1",
"version": "pc/1.20.4",
"foods": "pc/1.20.3",
Expand Down
Loading

0 comments on commit 1aabc9c

Please sign in to comment.