A Fabric mod integrating the Configurate library with the Fabric ecosystem
APACHE-2.0 License
| |
A mod that provides Configurate's core, gson and hocon serializers, and useful utilities for a Fabric environment.
ResourceLocation
sRegistry
Component
(as json)ItemStack
sHolderSet
), both datapack-defined and defined in the config, currently for blocks, items, entity types, and fluidsTranslates back and forth between Configurate nodes and Minecraft's own NBT Tags
Thanks to @i509VCB for providing an initial implementation of DynamicOps
ConfigurateOps
Codec
s as TypeSerializer
s (and vice versa!)Confabricate
to get a HOCON-format configuration for a modVersion compatibility
Minecraft | Confabricate | Configurate |
---|---|---|
1.15 | 1.1+3.7 | 3.7 |
1.16 + 1.16.1 | 1.2+3.7 | 3.7 |
1.16.2 | 1.3+3.7.1 | 3.7.1 |
1.16.2-1.16.5 | 2.1.0 | 4.1.1 |
1.17 | 2.2.0-SNAPSHOT | 4.1.1 |
1.18.2 | 3.0.0-SNAPSHOT | 4.1.2 |
It is recommended to use this project in jar-in-jar packaging.
Releases of Confabricate are on Maven Central, as are releases of Configurate. Snapshots of Confabricate and Configurate are published on Sonatype OSS.
Additionally, both releases and snapshots of Confabricate are published on the stellardrift
repository.
repositories {
mavenCentral()
// Snapshots only
maven(url = "https://repo.stellardrift.ca/repository/snapshots/") {
name = "stellardriftSnapshots"
mavenContent { snapshotsOnly() }
}
}
dependencies {
modImplementation(include("ca.stellardrift:confabricate:3.0.0-SNAPSHOT")!!)
}