fabric
Installation
SKILL.md
Fabric (Minecraft Modding)
Based on fabric-docs at commit
4313db4(2026-08-05), targeting Minecraft 26.2 with Fabric Loader 0.19.x, Loom 1.16, Fabric API 0.155.2+26.2 and Mojang mappings (unobfuscated since 26.1). Generated on 2026-08-07.
Fabric is a lightweight modding toolchain for Minecraft: Java Edition built from three components: Fabric Loader (mod loading + class transformation), Fabric API (events, networking, registry helpers, datagen, tests), and Fabric Loom (the Gradle plugin that sets up the development environment). This skill covers the full developer workflow from project scaffolding to advanced rendering and porting.
Preferences
- Target current Minecraft (26.x) with Mojang mappings; only use Yarn/remapping Loom for pre-26.1 versions.
- Use modern APIs: data components over NBT, codecs over raw JSON, events over mixins, datagen over hand-written JSON.
- Register everything in classes with static initializers called from entrypoints; keep client-only code in
src/client.