You are an expert Minecraft Java Edition modder with deep knowledge of Fabric, Mixins, and the Minecraft client internals. Help me build a utility/"client-side" mod in the style of Meteor Client, for use in singleplayer, on my own servers, and on anarchy-style servers that allow it.
Target environment
- Minecraft version: 26.2
- Loader: Fabric (Fabric Loader + Fabric API)
- Language: Java (match the JDK version the target Minecraft version requires)
- Build system: Gradle with Fabric Loom
- Mappings: Mojang official mappings (or Yarn, specify which)
- License: GPL-3.0 if I reuse or adapt any Meteor code
Reference material (read and follow these conventions)
- Meteor Client source (architecture reference): https://github.com/MeteorDevelopment/meteor-client
- Meteor Client site and wiki: https://meteorclient.com
- Meteor addon template (for building as an addon instead of a standalone client): https://github.com/MeteorDevelopment/meteor-addon-template
- Fabric docs and developer guides: https://docs.fabricmc.net/
- Fabric template mod generator: https://fabricmc.net/develop/template/
- Fabric Loom: https://github.com/FabricMC/fabric-loom
- Mixin wiki (injection points, @Inject, @Redirect, @Accessor, @Invoker): https://github.com/SpongePowered/Mixin/wiki
- MixinExtras (extra injection tools): https://github.com/LlamaLad7/MixinExtras
- Yarn mappings: https://github.com/FabricMC/yarn
- Fabric Discord and wiki for troubleshooting: https://fabricmc.net/discuss/
Architecture to implement
- Module system
- Abstract Module class with name, description, category, keybind, enabled state, and lifecycle hooks (onActivate, onDeactivate). - A Modules manager that registers, toggles, and looks up modules. - Categories: Combat, Movement, Render, Player, World, Misc.
- Settings system
- Typed settings (boolean, int, double, enum, string, color, key) with groups, min/max, and descriptions. - Save and load all module state and settings to JSON in the config directory.
- Event bus
- Lightweight event system (e.g. TickEvent, Render3DEvent, Render2DEvent, PacketEvent.Send/Receive, KeyEvent) with subscribe annotations, priorities, and cancellable events.
- Mixins
- Hook the client tick, game renderer, packet handling, key input, and player movement. - Keep mixins minimal: they should only fire events or expose accessors, with logic living in modules.
- GUI
- Clickable in-game GUI (category windows or a tabbed screen) to toggle modules and edit settings, plus an HUD overlay and a module list.
- Commands
- In-game command system with a configurable prefix (e.g. .toggle <module>, .bind, .help).
- Example modules to start with (implement cleanly, one per file):
- Sprint, Fullbright, Zoom, AutoRespawn, NoFall, Fly (creative-style flight), ESP/Tracers (render-only), Freecam, FastPlace, AutoTool, Nametags.
Requirements
- Provide the full project structure (file tree) first, then every file's code.
- Include
build.gradle,gradle.properties,fabric.mod.json, and the*.mixins.jsonfile. - Use Fabric's registration conventions and keep client-side code in the client entrypoint (
ClientModInitializer). - Comment the Mixin targets and explain why each injection point was chosen.
- Note which parts are version-sensitive (mappings, rendering APIs, packet classes) so I know what to update when Minecraft updates.
- Write modular, readable code so I can add new modules easily.
- Provide step-by-step instructions to build, run in the dev environment (
./gradlew runClient), and export the jar.
Process
Work in stages and stop after each so I can test:
- Project setup and a "hello world" client mod that loads.
- Event bus + module system + one working module (Sprint).
- Settings + config saving.
- GUI + HUD + commands.
- The remaining modules.
Ask me about anything ambiguous (Minecraft version, mappings, standalone client vs. Meteor addon) before writing code.
Before creating the project, please clarify two choices:
Should this be a standalone Fabric client mod or a Meteor addon?
Which mappings do you want: Mojang official or Yarn?
our own standlone fabric client mod so it isnt meteor Mojang official
Created the Standalone Utility Client Fabric project for Minecraft 26.2 using Mojang official mappings. Stage 1 is underway: setting up the standalone mod and a hello-world client entrypoint. We’ll stop there so you can test before moving on.
Set up a standalone Fabric Loom client mod for Minecraft 26.2 and Java 25.
Add a client entrypoint that logs on startup and sends a hello message when joining a world.
Include the Fabric metadata and Gradle configuration; no mixins or gameplay features.Created a standalone Fabric 26.2 client mod with Java 25 and Fabric Loom. It logs a startup message and displays “Hello from Hello Client!” in chat when joining a world. No mixin config is needed for this implementation.
Stage 1 is complete: the standalone Fabric 26.2 client mod uses Java 25 and Mojang official mappings. It logs on startup and sends a hello message when you join a world. The project compiled successfully.
Test it in the development environment with ./gradlew runClient. Once you’ve tested it, tell me and we can move on to Stage 2: the event bus, module system, and Sprint module.
No files in this session