Biscuit!
by mrnavastar
Biscuit! is a library for storing and reading data in Minecraft 1.20.5 cookies during a transfer between servers.
What it does
The library gives mod developers a simple API for the cookie transfer feature added in 1.20.5. Data is held in plain Java objects (POJOs), so a developer can describe what should travel with a player and let the library handle the encoding. Large data can be split across several cookies, and identifiers for each cookie can be generated automatically.
Cookies carry a signature, so a receiving server can detect tampering with the data. An event system lets other code react when cookies are read or written, and injected interfaces reach into many networking classes that vanilla does not expose. A cookie can be set before a transfer, and the transfer command then moves the player with that data attached.
Biscuit! needs Fabric API. It is published for Fabric and Quilt for 1.20 – 1.21.10, with 18 release versions, and the code is released under the CC0 1.0 Universal license, so it is open source. Environment: only the server needs the library, and players join without installing it.
Key features
Cookie POJOs
Data objects can be defined as plain Java classes and serialized into cookies without manual byte handling.
Large data splitting
A payload too big for one cookie is spread across several cookies and reassembled on the receiving side.
Cookie signing
Signed cookies let the receiving side detect whether the transferred data was changed on the way.
Event system
Handlers can run when cookies are set or received, so other mod code can respond to a transfer.
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Server network transfers
A server network can pass player data to another server during a transfer, keeping progress or settings intact.
Mod data handoff
Two server mods that need to share state across a transfer can use the cookie API instead of a custom channel.
Who it’s for: Developers of server-side mods and server owners running networks of linked servers who need data to follow a player during a transfer.
Questions
Does Biscuit! need Fabric API?
Does a player need Biscuit! installed?
Which loaders are supported?
In the catalog
Biscuit! is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,569 mods support Minecraft 1.21.10.
More from mrnavastar
Similar mods
What the author says
A simple API for working with 1.20.5 cookies and transfers in an easy and secure way!
Official listing
- Modrinth page
- modrinth.com/mod/biscuit
- Owner
- mrnavastar
- Published
- 2024-04-25
- Updated on Modrinth
- 2025-01-04
- Facts verified
- 2026-10-15
