packet.clj
Branches > main > 556cc2f > files / src / net / bowmap / server / protocol / packet.clj
(ns net.bowmap.server.protocol.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]))