A ViaVersion-shaped compatibility layer for Minecraft mod code. Write your mod once, against one stable interface; Blanket absorbs the differences between Minecraft versions and mod loaders behind it.
Every version-sensitive behavior is a declared Capability — resolved once at bootstrap,
cached, and never branched on at the call site. Where a behavior has no implementation for the
running version, Blanket degrades honestly and tells you which policy is in effect, rather
than silently guessing. The mod loader (Fabric / Forge / NeoForge / Legacy Fabric) is an
independent axis handled by a runtime shim, so the same artifact runs across loaders. Blanket can
also run with no loader at all — as a library or a java.lang.instrument agent that patches
the game in memory.
Targets Minecraft 1.8.9 → 1.21.11 and the 26.x unobfuscated releases (client-side, v1).
Distribution: Blanket ships as a shared dependency mod (like Fabric API). End users install it separately; it is not shaded into each dependent mod.
→ Read the docs — installation, the mental model, building a mod on Blanket, using it without a loader, and the full reference.
- New to Blanket? How it works · Getting started
- Building a mod on it? For mod authors
- Using it without a loader? Standalone & agent
- Building from source? Building & testing
Maintainer- and contributor-facing material (ground-truth rules, decisions, design derivations)
is indexed in docs/README.md.
See the repository for license details.