packet.clj

Bowmap · bowmap.git · Tickets

Branches > main > a6f37e8 > 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]))