Fern Config: The Essential Lightweight Config Library for Minecraft

Discover Fern Config, the lightweight config library for Minecraft that simplifies JSON5 and TOML storage. Learn how to install and use it today.

Download fern config for Minecraft 26.1, 1.21.11, 1.21.9, 1.21.8, 1.21, 1.20.5

Original name: fern config

Minecraft: 1.19.1, 1.19.2, 1.20.1, 1.20.2, 1.20.5, 1.21, 1.21.11, 1.21.8, 1.21.9, 26.1, 1.18.1, 1.18.2, 1.20.4

Loaders: Fabric, Forge, NeoForge

FileVersionLoaderSize
fern_config-1.3.0+mc1.19.2-fabric.jar1.19.1Fabric39 КБDownload
fern_config-0.1.0+mc1.19.2-fabric.jar1.19.2Fabric27 КБDownload
fern_config-1.2.0+mc1.19.2-fabric.jar1.19.2Fabric34 КБDownload
fern_config-1.3.0+mc1.20.1-fabric.jar1.20.1Fabric39 КБDownload
fern_config-0.1.0+mc1.20.1-fabric.jar1.20.2Fabric27 КБDownload
fern_config-1.2.0+mc1.20.1-fabric.jar1.20.2Fabric34 КБDownload
fern_config-0.1.0+mc1.20.5-fabric.jar1.20.5Fabric27 КБDownload
fern_config-1.2.0+mc1.20.5-fabric.jar1.20.5Fabric34 КБDownload
fern_config-1.3.0+mc1.20.5-fabric.jar1.20.5Fabric39 КБDownload
fern_config-1.2.0+mc1.21.1-fabric.jar1.21Fabric34 КБDownload
fern_config-1.3.0+mc1.21.1-fabric.jar1.21Fabric39 КБDownload
fern_config-0.1.0+mc1.21.1-fabric.jar1.21Fabric27 КБDownload
fern_config-0.1.0+mc1.21.11-fabric.jar1.21.11Fabric27 КБDownload
fern_config-1.2.0+mc1.21.11-fabric.jar1.21.11Fabric34 КБDownload
fern_config-1.3.0+mc1.21.11-fabric.jar1.21.11Fabric39 КБDownload
fern_config-1.3.0+mc1.21.2-fabric.jar1.21.8Fabric39 КБDownload
fern_config-0.1.0+mc1.21.2-fabric.jar1.21.8Fabric27 КБDownload
fern_config-1.2.0+mc1.21.2-fabric.jar1.21.8Fabric34 КБDownload
fern_config-1.3.0+mc1.21.9-fabric.jar1.21.9Fabric39 КБDownload
fern_config-0.1.0+mc1.21.9-fabric.jar1.21.9Fabric27 КБDownload
fern_config-1.2.0+mc1.21.9-fabric.jar1.21.9Fabric34 КБDownload
fern_config-0.1.0+mc26.1.2-fabric.jar26.1Fabric26 КБDownload
fern_config-1.2.0+mc26.1.1-fabric.jar26.1Fabric34 КБDownload
fern_config-1.3.0+mc26.1.1-fabric.jar26.1Fabric40 КБDownload
fern_config-1.3.0+mc1.18.2-forge.jar1.18.1Forge657 КБDownload
fern_config-1.2.0+mc1.18.2-forge.jar1.18.2Forge652 КБDownload
fern_config-0.1.0+mc1.18.2-forge.jar1.18.2Forge644 КБDownload
fern_config-1.3.0+mc1.19.2-forge.jar1.19.1Forge657 КБDownload
fern_config-1.2.0+mc1.19.2-forge.jar1.19.2Forge652 КБDownload
fern_config-0.1.0+mc1.19.2-forge.jar1.19.2Forge644 КБDownload
fern_config-1.3.0+mc1.20.1-forge.jar1.20.1Forge657 КБDownload
fern_config-1.2.0+mc1.20.1-forge.jar1.20.2Forge652 КБDownload
fern_config-0.1.0+mc1.20.1-forge.jar1.20.2Forge644 КБDownload
fern_config-1.2.0+mc1.20.3-neoforge.jar1.20.4NeoForge652 КБDownload
fern_config-1.3.0+mc1.20.3-neoforge.jar1.20.4NeoForge657 КБDownload
fern_config-0.1.0+mc1.20.3-neoforge.jar1.20.4NeoForge644 КБDownload
fern_config-1.2.0+mc1.20.5-neoforge.jar1.20.5NeoForge652 КБDownload
fern_config-1.3.0+mc1.20.5-neoforge.jar1.20.5NeoForge657 КБDownload
fern_config-0.1.0+mc1.20.5-neoforge.jar1.20.5NeoForge644 КБDownload
fern_config-1.2.0+mc1.21.1-neoforge.jar1.21NeoForge652 КБDownload
fern_config-1.3.0+mc1.21.1-neoforge.jar1.21NeoForge657 КБDownload
fern_config-0.1.0+mc1.21.1-neoforge.jar1.21NeoForge644 КБDownload
fern_config-1.2.0+mc1.21.11-neoforge.jar1.21.11NeoForge652 КБDownload
fern_config-0.1.0+mc1.21.11-neoforge.jar1.21.11NeoForge644 КБDownload
fern_config-1.3.0+mc1.21.11-neoforge.jar1.21.11NeoForge657 КБDownload
fern_config-1.2.0+mc1.21.2-neoforge.jar1.21.8NeoForge652 КБDownload
fern_config-1.3.0+mc1.21.2-neoforge.jar1.21.8NeoForge657 КБDownload
fern_config-0.1.0+mc1.21.2-neoforge.jar1.21.8NeoForge644 КБDownload
fern_config-1.2.0+mc1.21.9-neoforge.jar1.21.9NeoForge652 КБDownload
fern_config-0.1.0+mc1.21.9-neoforge.jar1.21.9NeoForge644 КБDownload
fern_config-1.3.0+mc1.21.9-neoforge.jar1.21.9NeoForge657 КБDownload
fern_config-1.2.0+mc26.1.1-neoforge.jar26.1NeoForge652 КБDownload
fern_config-0.1.0+mc26.1.2-neoforge.jar26.1NeoForge644 КБDownload
fern_config-1.3.0+mc26.1.1-neoforge.jar26.1NeoForge659 КБDownload

Fern Config

Minecraft modding can be a messy affair, especially when you are juggling multiple configuration files. For developers, the constant struggle between readability, performance, and cross-version compatibility often leads to headaches. Enter Fern Config, a light and simple config library designed to strip away the complexity. Instead of wrestling with verbose code and rigid formats, you get a clean, intuitive API that just works.

This library is not just another dependency; it is a tool that respects your time. Whether you are a seasoned modder or just starting your first Fabric project, Fern Config offers a streamlined path to creating robust, user-editable settings. It focuses on doing one thing exceptionally well: storing and retrieving data without the bloat. Let’s dive into why this library is becoming a staple in the community and how you can leverage it for your next project.

Why Choose Fern Config for Minecraft?

The primary appeal of Fern Config for Minecraft lies in its philosophy of minimalism. Many config libraries on the market are heavy, bringing in dozens of unnecessary features that slow down your build time. Fern Config flips that script. It provides the essential tools—saving, loading, and data validation—without forcing you to learn a complex framework.

Furthermore, it supports two of the most popular modern data formats: JSON5 and TOML. This flexibility is crucial. JSON5 allows for comments and trailing commas, making it far more forgiving for end-users who want to tweak values. TOML, on the other hand, is incredibly structured and readable, perfect for server administrators who need clarity at a glance. You are not locked into one paradigm; you can choose the best fit for your mod's audience.

Supported Versions and Loaders

Compatibility is often the biggest hurdle in modding, but Fern Config handles it gracefully. The library is available for both Fabric and Forge, covering the vast majority of the modding community. While the latest builds target newer game versions, the developer maintains older branches for legacy packs. You can find builds for recent releases as well as stable versions for older ones, ensuring your mod remains functional regardless of the Minecraft version you are targeting.

For those using the latest snapshots and releases, you can easily integrate the library via your build script. The setup is straightforward, and the Maven repository is publicly accessible, meaning you do not have to hunt through obscure forums to find the files. If you are looking to download Fern Config, the process is as simple as adding the repository to your project.

Key Features and Data Types

Fern Config is not just about saving a string or an integer. It comes packed with a robust set of supported data types that cover almost any modding need. Out of the box, you have access to booleans, enums, floats, doubles, integers, and strings. But it doesn't stop there. The library also handles float arrays and includes a utility for Color management, which is a godsend for mods that let players customize UI themes or particle effects.

One of the standout features is the Mask system. This is a powerful selector that works for blocks, items, and entities. Instead of writing complex predicates to check if a block is allowed, you can define a Mask that acts as a whitelist or blacklist. This dramatically simplifies code logic. For example, you could create a mask that allows only "minecraft:oak_log" and "minecraft:stone" for a custom builder's wand, or blacklist specific entities from being affected by a spell. It is intuitive, efficient, and saves dozens of lines of code.

Developer Integration and Setup

Getting started is quick. For developers using Gradle, you simply add the repository and the dependency. The implementation string clearly indicates the version and loader, such as dev.lemonnik:fern_config:0.1.0+mc1.21.1-fabric for Fabric or the equivalent Forge variant. This clear naming convention prevents version conflicts and makes updating a breeze.

If you are using a launcher that aggregates mods and libraries, the process is even smoother. For instance, the foxygame.net launcher offers a one-click install feature that handles dependency resolution automatically. This means you can add Fern Config to your modpack without manually downloading JAR files and placing them in the mods folder, saving you from potential version mismatch errors. The launcher's add-on catalog also keeps track of updates, ensuring your library stays current with the latest patches.

Once the dependency is set, creating a config is as simple as defining an interface or a class with fields. The library handles the serialization and deserialization behind the scenes, allowing you to focus on gameplay mechanics rather than file I/O. The built-in save formats ensure that even if a player manually edits the file and makes a mistake, the library can often recover gracefully or provide clear error messages.

How to Install Fern Config

For players, how to install is usually about dropping the file into the right folder. You need to ensure you have the correct loader (Fabric or Forge) installed first. Then, simply place the Fern Config JAR file into your mods folder. It is a client-side and server-side compatible library, so it works in single-player and on dedicated servers. Remember to match the library version with your Minecraft version to avoid crashes on launch.

For developers, the installation is a two-step process in your build.gradle file. First, add the Maven repository URL. Second, add the implementation dependency. After a quick Gradle refresh, you are ready to import the classes and start building your config system. The documentation, while still being expanded, provides clear examples in the gallery to get you started immediately.

Conclusion

Fern Config proves that you do not need a massive library to handle configuration effectively. It offers a perfect balance of simplicity, power, and format flexibility. Whether you are a developer looking to streamline your code or a player who appreciates clean, editable config files, this library delivers. With its support for JSON5 and TOML, the innovative Mask system, and compatibility across major loaders, it is a smart addition to any modding toolkit. Give it a try on your next project, and you will likely wonder how you managed without it.