ModsFinder

env.json

by MModding

env.json is a small Fabric library for reading env.json files, a sub-JSON format that lets resources redirect by environment context.

FabricQuiltClient or server, optionalCustom license1.20.1 – 1.21.1

What it does

The library converts env.json files into Java objects and provides the parsing step behind that conversion. Resources expose an EnvJson object through a getEnvJson call on the extended resource, and parsing works from either a Path or an InputStream. The format itself does not redirect anything on its own; it only supplies the operations that redirection tools build on, applied during resource reload.

Two official implementations build on the library: Environment Driven Assets (EDA) and Environment Driven Data (EDD). Environment Driven Assets is the one that uses it most often, covering Minecraft asset types and data types. A file must be registered under the format to take part, and a redirected resource is named by its original name with the extension .env.json appended. Files are published for Fabric and Quilt on 1.20.1 – 1.21.1, with Fabric API required on both loaders. The library runs on the client or the server, and neither side strictly needs it. It is not open source and is distributed under a custom license.

Key features

  1. Parsing env.json files

    Files are parsed from a Path or an InputStream into an EnvJson object that code can read.

  2. Resource access

    Each resource exposes its env.json data through getEnvJson on the extended Resource type.

  3. Asset and data operations

    Operations apply to both Minecraft vanilla asset types and vanilla data types during resource reload.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.10.4.3-beta0.4.3-beta
1.210.4.3-beta0.4.3-beta
1.20.60.4.2-beta0.4.2-beta
1.20.50.4.2-beta0.4.2-beta
1.20.40.3.1-beta0.3.1-beta
1.20.30.3.1-beta0.3.1-beta
1.20.20.3.1-beta0.3.1-beta
1.20.10.3.1-beta0.3.1-beta
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 1 mod

Use cases

Who it’s for: Mod developers writing resource redirection systems on Fabric or Quilt, and anyone installing Environment Driven Assets or Environment Driven Data, which both rely on it.

How it compares

Full comparison

UltraLib is a Fabric library, for 1.20 – 1.21.10, that runs on the client and server together under All rights reserved and is not open source. Data Outside Minecraft Environment is open source under the BSD 3-Clause License, supports Fabric and Quilt, but covers only 1.19.4 – 1.20.1 and is client-side only. env.json itself is not open source and sits on the client or server side, with optional installation.

ModLoadersGame versionsEnvironmentUpdated
env.jsonFabric and Quilt1.20.1 – 1.21.1Client or server, optional2024-09-09
UltraLibFabric1.20 – 1.21.10Client and server2025-11-22
Data Outside Minecraft EnvironmentFabric and Quilt1.19.4 – 1.20.1Client-side only2023-08-21

Questions

Does env.json need Fabric API?

Yes. Fabric API is a required dependency, so it must be installed alongside env.json on Fabric or Quilt.

Which loaders does env.json support?

Its files are published for Fabric and Quilt. The latest file for each loader is 0.4.3-beta for 1.21.1, released on 2024-09-09.

Does env.json have to be installed on the server?

No. Either side can run it, and neither the server nor the client needs it, so installing it on one side is enough.

In the catalog

env.json is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from MModding

All projects

Similar mods

What the author says

env.json is a Minecraft Library introducing a new sub json file extension format, with the goal of redirecting minecraft resources to other ones based on the environment context. env.json doesn't provide these redirections directly, but only the operations around env.json files and their resource reload management.
MModding, on the Modrinth page

Official listing

Owner
MModding
Published
2023-12-30
Updated on Modrinth
2024-09-09
Facts verified
2026-10-15

Tags