Download Confabricate — Minecraft Mods — MetaMods

Confabricate

Active

Downloads

0

Last update

4 years ago
Client
Fabric
Quilt
Forge
Neoforge
Libraries

Confabricate

This mod is a specialized tool intended exclusively for developers of other mods who use the Configurate library for handling configurations in their projects.

Main Features

Type Serializers

Confabricate includes ready-to-use serializers for working with various Minecraft data types:

  • Identifiers (Identifier)
  • Any items stored in registries (Registry)
  • Text objects (Text) in JSON format
  • Mixed collections of items and tags (represented as TaggableCollection), supporting blocks, items, entity types, and fluids

NBT Data Adapter

The special NBTNodeAdapter component provides two-way conversion between Configurate nodes and Minecraft's NBT tag system.

DataFixerUpper Integration

Thanks to the initial implementation by @i509VCB, the mod provides:

  • DynamicOps implementation for ConfigurationNodes
  • Basic integration between ConfigurationTransformations and DataFixers

Per-Mod Configuration Management

The Confabricate class contains utility methods for:

  • Obtaining HOCON-format configurations for specific mods
  • Using a common watch service and methods for automatic reloading of HOCON configurations

For additional information about the underlying Configurate library and detailed instructions on using Confabricate in your own mods, refer to the relevant documentation.

Project members
zmlaoeu

zmlaoeu

Created: 6 Jun 2021

ID: 29536