Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Client and server
Links
Tags
Creators
Details
DevKit API
Lightweight modular library for Fabric 1.21.x mod developers
Why DevKit API
Writing the same boilerplate for every Fabric mod is exhausting. DevKit API collapses the repetitive parts — registry, networking, data components, config — into clean annotations and fluent builders, so you ship features instead of setup code.
What you get
KRegister<T>— type-safe registry container, two lines per entry@AutoPacket— annotation-driven Payload S2C/C2S registration, no manual ByteBufComponents.builder(...)— fluent DataComponentType factory with persistent + networked codecs@SyncedConfig— server-authoritative JSON config with auto S2C syncModelGen,TagHelper,LootHelper— datagen shortcutsDevkitNetworking—sendToPlayer,sendToTracking,sendToAllhelpersNetworkCompat— runtime shim for 1.21.1 ↔ 1.21.8 API differences
Add to your project
repositories {
maven { url "https://maven.modrinth.com" }
}
dependencies {
modImplementation "io.github.jrxmod.devkit:devkit-fabric:0.1.0+1.21.1"
}


