
Modrinth · Minecraft mod
Biscuit!
A simple API for working with 1.20.5 cookies and transfers in an easy and secure way!
Quick answer
Which Biscuit! release should I use?
Biscuit! 1.1.1 targets 1.20, 1.20.1, 1.20.2 with Fabric, Quilt. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.
Where it goes
Is Biscuit! required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Biscuit! 1.1.1 need?
1.1.1. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Biscuit! without breaking your instance.
Built for Biscuit! 1.1.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.1. It targets 1.20, 1.20.1, 1.20.2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.1. It opens that exact file at the source.
About this project
What does Biscuit! add?

Biscuit!
A simple API for working with 1.20.5 cookies and transfers in an easy and secure way!
Features
- Cookies as POJOs
- Injected interfaces on many networking classes
- Cookie Signing for tamper detection
- Event system
- Automatic identifier generation (May not be possbile)
- Encryption
- Spreading large data across many cookies
Setup
In your build.gradle include:
repositories {
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
modImplementation("maven.modrinth:biscuit!:1.1.0")
}
Dev
// Make a class to represent your cookie
public static class TestCookie {
private final String data;
public TestCookie(String data) {
this.data = data;
}
@Override
public String toString() {
return data;
}
}
// Register the cookie:
Biscuit.register(new Identifier("test", "cookie"), TestCookie.class);
// Register the cookie with a secret for tamper detection. The secret must be the same on all servers requesting this cookie:
Biscuit.register(new Identifier("test", "cookie"), TestCookie.class).setSecret("my_secret");
// Set/Get the cookie from the ServerPlayerEntity, ClientConnection, or any of the network handlers (Not handshake)
TestCookie cookie = new TestCookie("whoohoo!");
player.setCookie(cookie);
player.getCookie(TestCookie.class).whenComplete((cookie, throwable) -> {
System.out.println(cookie);
});
Set a cookie before your mod (or another mod/the transfer command) transfers the player:
BiscuitEvents.PRE_TRANSFER.register((packet, profile, cookieJar, ci) -> {
cookieJar.setCookie(cookie);
});
Project description from Modrinth.
Pick your setup
Biscuit! by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.10
2 loader builds1.21.9
2 loader builds1.21.8
2 loader builds1.21.7
2 loader builds1.21.6
2 loader builds1.21.5
2 loader builds1.21.4
2 loader builds1.21.3
2 loader builds1.21.2
2 loader builds1.21.1
2 loader builds1.21
2 loader builds1.20.6
2 loader buildsShowing the newest 12 of 18 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Biscuit! versions and loaders
1.1.1
Biscuit!-1.1.1.jar
4 Jan 2025
1.1.0
Biscuit!-1.0.jar
26 Apr 2024
1.0.0
Biscuit-1.0.jar
25 Apr 2024
Looking for an older file? The official Modrinth project page is in Resources.