8adfb52
Branches > main > 8adfb52 > files
Remove unused packets from serverbound.clj
Commit: 8adfb5242105b449540057b92ca819d5a0f8601a
Parent: e001a8c
1 changed file:
src/net/bowmap/protocol/packet/serverbound.clj view file
@@ -49,38 +49,13 @@ 7 :discarded})] ; The wiki is too damn confusing ::known-packs unused-fields- #_::custom-click-action- #_::accept-code-of-conduct ; Play ::confirm-teleportation [:teleport-id ->varint]- #_::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 []- #_::command-suggestions-request- #_::acknowledge-configuration- #_::click-container-button- #_::click-container ::close-container [:window-id ->varint]- #_::change-container-slot-state- #_::debug-subscription-request- #_::edit-book- #_::query-entity-tag- #_::interact- #_::jigsaw-generate ::keep-alive [:id ->long]- #_::lock-difficulty- ::set-player-rotation [::position/yaw ->float ::position/pitch ->float :flags (->bit-mask ->byte [:on-ground :pushing-against-wall])]@@ -96,13 +71,6 @@ :flags (->bit-mask ->byte [:on-ground :pushing-against-wall])] ::set-player-movement-flags [:flags (->bit-mask ->byte [:on-ground :pushing-against-wall])]- #_::move-vehicle- #_::paddle-boat- #_::pick-item-from-block- #_::pick-item-from-entity- ; TODO is this different?- #_[::ping-request]- #_::place-recipe ::player-abilities [:flags (->bit-mask ->byte {1 :flying?})] ; is this right? ::player-action [:status (->enum ->varint [:started-digging :canceled-digging :finished-digging :drop-item-stack :drop-item :update-item-state :swap-item-in-hand])@@ -120,24 +88,8 @@ ::change-recipe-book-settings [:id (->enum ->varint [:crafting :furnace :blast-furnace :smoker]) :book-open? ->boolean :filter-active? ->boolean]- #_::set-seen-recipe- #_::rename-item- #_::seen-advancements- #_::select-trade- #_::set-beacon-effect ::select-hotbar-slot [:slot "Slots 0-8" ->varint]- #_::program-command-block- #_::program-command-block-minecart- #_::set-creative-mode-slot- #_::program-jigsaw-block- #_::program-structure-block- #_::set-test-block- #_::update-sign- ::swing-arm [:hand (->enum ->varint [:main-hand :off-hand])]- #_::teleport-to-entity- #_::test-instance-block-action- #_::use-item-on- #_::use-item})+ ::swing-arm [:hand (->enum ->varint [:main-hand :off-hand])]}) (def packet-order "Map of connection states to vectors of serverbound packet ids in the order the appear in the protocol."@@ -233,4 +185,3 @@ ::use-item-on ::use-item ::custom-click-action]})-