Guides Fabric mod development for Minecraft: project setup with Loom, Fabric Loader, and Fabric API; registering items/blocks/entities; networking, events, commands, rendering, datagen, mixins, and porting.
Ships in hairyf-skills-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
src/client.| Topic | Description | Reference |
|---|---|---|
| Getting Started | Template generator, JDK 25, IDE setup, launching, sources, building | core-getting-started |
| Project Structure | Source sets, resources layout, entrypoints | core-project-structure |
| fabric.mod.json | Manifest spec: mandatory fields, entrypoints, dependencies, version ranges | core-fabric-mod-json |
| Fabric Loom | Gradle plugin: DSL options, dependency configurations, tasks, production runs | core-loom |
| Mappings & Migration | Yarn vs Mojang mappings, 26.1 unobfuscation, migrateMappings/Ravel | core-mappings-and-migration |
| Events | Listening to Fabric API events, loot table modification, custom events | core-events |
| Networking | Custom payloads, StreamCodecs, sending/receiving, PlayerLookup | core-networking |
| Text & Translations | Components, translatable text, serialization, ChatFormatting | core-text-and-translations |
| Testing & Debugging | Fabric Loader JUnit, game tests, CI, logging, breakpoints, crash logs | core-testing-and-debugging |
| Key Mappings & Game Rules | KeyMappingHelper, client tick reactions, custom game rules | core-key-mappings-and-game-rules |
| Topic | Description | Reference |
|---|---|---|
| First Item | Registration, creative tab, name/texture/model/client item | items-first-item |
| Food | FoodProperties and Consumable effects | items-food |
| Potions | Custom potions and brewing recipes | items-potions |
| Spawn Eggs | SpawnEggItem registration and assets | items-spawn-egg |
| Tools & Armor | ToolMaterial, tools, ArmorMaterial, armor layers and equipment models | items-tools-and-armor |
| Item Models & Appearance | Model JSON structure, display transforms, custom tint sources | items-models-and-appearance |
| Creative Tabs | FabricCreativeModeTab builder and registration | items-creative-tabs |
| Interactions & Enchantments | use/useOn overrides, custom enchantment effects | items-interactions-and-enchantments |
| Data Components | Custom DataComponentType, composite components, tooltips | items-data-components |
| Topic | Description | Reference |
|---|---|---|
| First Block | Registration with/without item, assets, loot tables, tool tags | blocks-first-block |
| Block States & Models | Properties, blockstate JSON, model elements, tinting | blocks-blockstates-and-models |
| Block Entities | Types, NBT save/load, client sync, tickers, BERs | blocks-block-entities |
| Containers & Menus | Container/WorldlyContainer, menus, screens, workstations | blocks-containers |
| Topic | Description | Reference |
|---|---|---|
| First Fluid | Source/flowing states, liquid block, bucket, tags, rendering | fluids-first-fluid |
| Topic | Description | Reference |
|---|---|---|
| First Entity | Registration, goals, models, renderers, animations, synced data | entities-first-entity |
| Attributes | Custom attributes, attach/read/modify | entities-attributes |
| Effects & Damage | Custom mob effects, data-driven damage types, death messages, tags | entities-effects-and-damage |
| Topic | Description | Reference |
|---|---|---|
| Playing & Custom Sounds | SoundEvents, categories, volume/pitch, sounds.json | sounds-using-and-custom |
| Dynamic Sounds | Client SoundInstances: looping, tracking sources, transitions | sounds-dynamic |
| Topic | Description | Reference |
|---|---|---|
| Commands & Suggestions | Brigadier basics, requirements, sub-commands, client commands, suggestions | commands-basics-and-suggestions |
| Arguments | Built-in arguments, optional args, custom ArgumentType | commands-arguments |
| Topic | Description | Reference |
|---|---|---|
| Custom Recipe Types | RecipeInput, Recipe, serializers, recipe book hooks, sync | recipes-custom-types |
| Extending Vanilla Recipes | Smithing/Crafting/Stonecutter recipe extensions | recipes-extending-vanilla |
| Topic | Description | Reference |
|---|---|---|
| Basic Concepts | BufferBuilder, vertex formats, matrices, quaternions, render pipelines | rendering-basic-concepts |
| GUI, Screens & Widgets | GuiGraphicsExtractor, scissor, textures/text, custom screens/widgets | rendering-gui |
| HUD | HudElementRegistry, DeltaTracker partial ticks | rendering-hud |
| World & Particles | LevelRenderEvents, extraction/drawing phases, custom particles | rendering-world-and-particles |
| Topic | Description | Reference |
|---|---|---|
| Setup | fabric-datagen entrypoint, Pack, providers, runDatagen | datagen-setup |
| Models & Translations | Language provider, block/item models, client items | datagen-models-and-translations |
| Server Data | Recipes, tags, loot tables, advancements, enchantments | datagen-server |
| World Generation | Configured/placed features, placement modifiers, biome modifications | datagen-features |
| Topic | Description | Reference |
|---|---|---|
| Codecs | Building/composing/transforming codecs, dispatch, stream codecs | serialization-codecs |
| Data Attachments | Attaching synced/persistent data to entities/levels/chunks | serialization-data-attachments |
| Saved Data | Level-scoped persistent data with SavedData | serialization-saved-data |
| Topic | Description | Reference |
|---|---|---|
| JVM Bytecode | Descriptors, LVT, operand stack, common instructions | mixins-bytecode |
| Accessors & Invokers | @Accessor/@Invoker for fields, methods, constructors | mixins-accessors |
| Class Tweakers | Access widening, interface injection, enum extension | class-tweakers |
| Topic | Description | Reference |
|---|---|---|
| Porting & Updates | Version bumps, unobfuscation switch, Fabric API rename maps | porting-and-updates |
| Resource Conditions & Stats | Conditional loading, custom statistics | misc-resource-conditions-and-statistics |
plugins { id 'net.fabricmc.fabric-loom' version '1.16' }
dependencies {
minecraft "com.mojang:minecraft:26.2"
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc.fabric-api:fabric-api:0.155.2+26.2"
implementation "net.fabricmc:fabric-loader:0.19.2"
}
loom {
splitEnvironmentSourceSets()
mods { "example-mod" { sourceSet sourceSets.main; sourceSet sourceSets.client } }
}
{
"schemaVersion": 1,
"id": "example-mod",
"version": "1.0.0",
"entrypoints": {
"main": ["com.example.ExampleMod"],
"client": ["com.example.ExampleModClient"]
},
"depends": {
"fabricloader": ">=0.19.0",
"minecraft": "~26.2",
"java": ">=25",
"fabric-api": "*"
}
}
./gradlew runClient # dev run
./gradlew build # build release JAR (build/libs)
./gradlew genSources # decompile Minecraft sources
./gradlew runDatagen # run data generation
./gradlew runClientGameTest # client game tests
./gradlew validateAccessWidener # validate class tweaker entries
Registry.register(BuiltInRegistries.X, Identifier.fromNamespaceAndPath("mod", "name"), value).Level (not World), BlockPos, ItemStack, Item.Properties, BlockBehaviour.Properties, FriendlyByteBuf.ModInitializer, ClientModInitializer, DedicatedServerModInitializer, DataGeneratorEntrypoint (fabric-datagen).GENERATION.md (opens in a new tab)references/blocks-block-entities.md (opens in a new tab)references/blocks-blockstates-and-models.md (opens in a new tab)references/blocks-containers.md (opens in a new tab)references/blocks-first-block.md (opens in a new tab)references/class-tweakers.md (opens in a new tab)references/commands-arguments.md (opens in a new tab)references/commands-basics-and-suggestions.md (opens in a new tab)references/core-events.md (opens in a new tab)references/core-fabric-mod-json.md (opens in a new tab)references/core-getting-started.md (opens in a new tab)references/core-key-mappings-and-game-rules.md (opens in a new tab)references/core-loom.md (opens in a new tab)references/core-mappings-and-migration.md (opens in a new tab)references/core-networking.md (opens in a new tab)references/core-project-structure.md (opens in a new tab)references/core-testing-and-debugging.md (opens in a new tab)references/core-text-and-translations.md (opens in a new tab)references/datagen-features.md (opens in a new tab)references/datagen-models-and-translations.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/hairyf-skills-4:fabricfrom hairyf-skills-4
hairyf-skills-4@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin hairyf-skills-480 skills in this plugin
/animeAnime.js v4 - A fast, multipurpose and lightweight JavaScript animation library. Use when creating animations, timelines, draggable interactions, SVG animations, text effects, or working with CSS properties, DOM attributes and JavaScript objects./antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences./arch-nuxtVitesse-style Nuxt 4 starter with Vite, UnoCSS, Pinia, VueUse, PWA. Use when scaffolding or maintaining a Nuxt app with this stack.Other plugins' skills for the same job