         (= packet-type :addobjectvehicle)     (read-packet-addobjectvehicle conn)
         (= packet-type :mobspawn)             (read-packet-mobspawn conn)
         (= packet-type :entitypainting)       (read-packet-entitypainting conn)
+        (= packet-type :stanceupdate)         (read-packet-stanceupdate conn)
         :else (str "UNKNOWN PACKET TYPE: " packet-id)
         ))
     (println "\n\n\n")))

  0x17 :addobjectvehicle
  0x18 :mobspawn
  0x19 :entitypainting
})
(def packet-ids (apply assoc {} (mapcat reverse packet-types)))


    (= packet-type :entityaction)         (write-packet-entityaction conn payload)
    (= packet-type :pickupspawn)          (write-packet-pickupspawn conn payload)
    (= packet-type :entitypainting)       (write-packet-entitypainting conn payload)
    (= packet-type :stanceupdate)         (write-packet-stanceupdate conn payload)
    )
  (flushc conn))

