Desktop application & gaming·In development
Preston Client
An all-in-one Minecraft launcher and modded client, in the spirit of Lunar Client.
The launcher home: current version, play time, friends and featured servers
The idea: one program that takes care of everything. Players don't install anything, not even Java; the launcher prepares each Minecraft version, and the mod adds in game what Lunar-style clients offer. Preston players also see other Preston players' cosmetics and dances on any server, thanks to a server I wrote.
Preston Client is a Windows desktop launcher that downloads Minecraft from the official servers, installs Fabric and the right mods, then starts the game with my own mod, Preston Core: a rebuilt title screen, HUD modules, a minimap, emotes and cosmetics. I build all of it: the launcher, the mods, the online server and the website. No game file is redistributed and no asset from another client is reused.
Features
- Electron + React launcher: profiles, versions, loaders, live console
- Microsoft account sign-in, approved by Mojang
- Java downloaded automatically for each version (21 or 25)
- Modrinth browser: mods, resource packs and shaders
- Home with play time, online friends and featured servers
- Server list with live status
- Discord activity “Playing Preston Client”, with the current mini-game
- Preston Core mod: title screen, movable HUD, zoom, minimap
- Emote wheel and an in-house animation engine
- Cosmetics locker with a 3D preview: capes, wings, bandanas…
- Lightweight web installer and automatic updates
Technical choices
01
One mod, several Minecraft versions
Shared code (animations, HUD, map, menus) is written once; only each version's differences live in their own folder. The mod runs today on 1.20.1, 1.21.1 and Minecraft 26 (a separate project, Java 25), and 1.8.9 comes in two flavours: with Forge, and without it thanks to Legacy Fabric.
02
My own animation engine
No Emotecraft: the mod reads Blockbench files directly (keyframes, interpolations, a subset of Molang). Knees and elbows bend in a continuous arc, with particles and sounds. Adding a dance or a cosmetic takes no Java at all, and content is pushed to players without updating the mod.
03
Pinned, verified mods
For each Minecraft version, mods (Sodium, Iris, Lithium…) are pinned to an exact Modrinth version with their SHA-1, and game files are checked (size and SHA-1) before every launch. OptiFine is deliberately left out: its licence forbids downloading it automatically.
04
A real-time server, no database
Node.js, TypeScript and WebSocket. Each game announces the Minecraft server it's on, its cosmetics and its dances, and the Preston server relays them to Preston players on that same server. Everything lives in memory: nothing is written to disk.
05
Verifying accounts without seeing their token
The game tells Mojang it is joining the Preston server, and the server asks Mojang to confirm: the player's token is never sent to it.
06
Limits against abuse
4 messages per second per player, 8 connections per IP and messages of 4 KB at most.
07
An installer under 1 MB
The web installer downloads the full launcher from the Preston server, always the latest published version. The Windows build also runs in CI on GitHub Actions, and sign-in tokens are encrypted with Electron's safeStorage.
08
Live online player count
The launcher also checks in with the server, so it can count Preston players online (in the launcher and in game, without counting the same person twice). The website can read that number.
What was hard
The hardest part is that every Minecraft version changes rendering, screens and networking: I had to cleanly split shared code from what changes, and 1.8.9 almost meant a rewrite (with, for the Legacy Fabric flavour, a game-name mapping table generated at build time). Bending knees and elbows without a crease or a gap meant cutting the player model while keeping its textures, armour and held item included. On the launcher side, the launch library could write empty files without a word on a flaky network, so the launcher downloads and checks every asset itself (size and SHA-1, three attempts). Finally, opening Microsoft sign-in meant getting the app approved by Mojang; until then, everything was tested in offline mode.
What's next
Open the shop. In game: waypoints on the minimap, sharing personal animations with other players, and more Minecraft versions (1.19.4, 1.18.2, 1.16.5). On distribution: signing the Windows installer to get rid of the SmartScreen warning.