packet.clj
Branches > main > 58deb69 > files / src / net / bowmap / network / packet.clj
(ns net.bowmap.network.packet
"A Minecraft protocol packet sent either to the server (serverbound),
or to the client (clientbound).
See https://minecraft.wiki/w/Java_Edition_protocol/Packets"
(:require
[clojure.spec.alpha :as s]))
(s/def ::id qualified-keyword?)
(s/def ::packet (s/keys :opt [::id]))