46ffc09

Branches > client-handling-rewrite > 46ffc09 > files / .gitignore

Add clientbound and serverbound packet ids holy moly

Grahp, 2026-03-08

Commit: 46ffc09fb2752c75a467d2644532c42829430bd8
Parent: d3c4ba8

2 changed files:

src/net/bowmap/packet/client.clj modified (view file)

@@ -38,7 +38,7 @@       ::login-success       ::set-compression       ::login-plugin-request-      ::login-cookie-request]+      ::cookie-request]      ::state/config      [::cookie-request       ::plugin-message@@ -59,7 +59,147 @@       ::server-links       ::clear-dialog       ::show-dialog-      ::code-of-conduct]}))+      ::code-of-conduct]+     ::state/play+     [::bundle-delimiter+      ::spawn-entity+      ::entity-animation+      ::award-statistics+      ::acknowledge-block-change+      ::set-block-destroy-stage+      ::block-entity-data+      ::block-action+      ::block-update+      ::boss-bar+      ::change-difficulty+      ::chunk-batch-finished+      ::chunk-batch-start+      ::chunk-biomes+      ::clear-titles+      ::command-suggestions-response+      ::commands+      ::close-container+      ::set-container-content+      ::set-container-property+      ::set-container-slot+      ::cookie-request+      ::set-cooldown+      ::chat-suggestions+      ::plugin-message+      ::damage-event+      ::debug-block-value+      ::debug-chunk-value+      ::debug-entity-value+      ::debug-event+      ::debug-sample+      ::delete-message+      ::disconnect+      ::disguised-chat-message+      ::entity-event+      ::teleport-entity+      ::explosion+      ::unload-chunk+      ::game-event+      ::game-test-highlight-position+      ::open-horse-screen+      ::hurt-animation+      ::initialize-world-border+      ::keep-alive+      ::chunk-data-and-update-light+      ::world-event+      ::particle+      ::update-light+      ::login+      ::map-data+      ::merchant-offers+      ::update-entity-position+      ::update-entity-position-and-rotation+      ::move-minecart-along-track+      ::update-entity-rotation+      ::move-vehicle+      ::open-book+      ::open-screen+      ::open-sign-editor+      ::ping+      ::pong-response+      ::place-ghost-recipe+      ::player-abilities+      ::player-chat-message+      ::end-combat+      ::enter-combat+      ::combat-death+      ::player-info-remove+      ::player-info-update+      ::look-at+      ::synchronize-player-position+      ::player-rotation+      ::recipe-book-add+      ::recipe-book-remove+      ::recipe-book-settings+      ::remove-entities+      ::remove-entity-effect+      ::reset-score+      ::remove-resource-pack+      ::add-resource-pack+      ::respawn+      ::set-head-rotation+      ::update-section-blocks+      ::select-advancements-tab

Show all 158 lines

src/net/bowmap/packet/server.clj modified (view file)

@@ -38,7 +38,7 @@       ::encryption-response       ::login-plugin-response       ::login-acknowledged-      ::login-cookie-response]+      ::cookie-response]      ::state/config      [::client-information       ::cookie-response@@ -49,7 +49,74 @@       ::resource-pack-response       ::known-packs       ::custom-click-action-      ::accept-code-of-conduct]}))+      ::accept-code-of-conduct]+     ::state/play+     [::confirm-teleportation+      ::query-block-entity-tag+      ::bundle-item-selected+      ::change-difficulty+      ::change-game-mode+      ::acknowledge-message+      ::chat-command+      ::signed-chat-command+      ::chat-message+      ::player-session+      ::chunk-batch-received+      ::client-status+      ::client-tick-end+      ::client-information+      ::command-suggestions-request+      ::acknowledge-configuration+      ::click-container-button+      ::click-container+      ::close-container+      ::change-container-slot-state+      ::cookie-response+      ::plugin-message+      ::debug-subscription-request+      ::edit-book+      ::query-entity-tag+      ::interact+      ::jigsaw-generate+      ::keep-alive+      ::lock-difficulty+      ::set-player-position+      ::set-player-position-and-rotation+      ::set-player-rotation+      ::set-player-movement-flags+      ::move-vehicle+      ::paddle-boat+      ::pick-item-from-block+      ::pick-item-from-entity+      ::ping-request+      ::place-recipe+      ::player-abilities+      ::player-action+      ::player-command+      ::player-input+      ::player-loaded+      ::pong+      ::change-recipe-book-settings+      ::set-seen-recipe+      ::rename-item+      ::resource-pack-response+      ::seen-advancements+      ::select-trade+      ::set-beacon-effect+      ::set-held-item+      ::program-command-block+      ::program-command-block-minecart+      ::set-creative-mode-slot+      ::program-jigsaw-block+      ::program-structure-block+      ::set-test-block+      ::update-sign+      ::swing-arm+      ::teleport-to-entity+      ::test-instance-block-action+      ::use-item-on+      ::use-item+      ::custom-click-action]}))  (def ^{:spec (s/map-of ::pk/id (s/fspec :args (s/cat :buf #(instance? ByteBuf %))                                         :ret ::pk/packet))}