Cristel Lib

The library behind structure-generation configs and runtime datapacks. It is what lets worldgen mods like Terralith, Towns and Towers, and Explorify expose their structures as something you can toggle and tune.

📖 Introduction

Cristel Lib is Cristelknight's library for structure configs and runtime datapacks — that is how the project describes itself on Modrinth, and unusually for a library mod, the description is precise enough to be useful.

Structure generation in Minecraft lives in datapack territory. Frequency, spacing, which biomes a structure is allowed in: all of it is data, none of it is somewhere a player would normally go looking. Cristel Lib gives a mod a way to surface its structures as configuration instead. That is why, in a pack built on Towns and Towers or Explorify, you can turn an individual structure off or make it rarer without writing a datapack by hand. If a particular building keeps showing up three valleys in a row, this is the layer where you fix it.

The second half is runtime datapacks: a mod can load a datapack conditionally, based on what else is installed. Worldgen mods have to cooperate — two mods both rewriting biome placement will collide — and this is one of the mechanisms that compatibility patches ride on, applying themselves only when the mod they are patching for is actually present.

According to its Modrinth page, Terralith, Towns and Towers, Explorify, and WWEE all use it. So finding Cristel Lib in a pack tells you something concrete: that pack changes how the world generates. It has over 15.1 million downloads on Modrinth, supports Fabric, Forge, NeoForge, and Quilt, and covers 1.18.2 through current.

🕒 When to Use This Mod

Never on purpose — it arrives as a dependency of Terralith, Towns and Towers, Explorify, and the like. It is worth knowing it exists for one reason: when you want to tune the structures those mods generate, this is the layer the settings live in.

📦 Where It Matters Most

Active in any pack that reshapes terrain or adds structures — exploration-heavy packs, and anything that rebuilds the overworld's villages and landmarks.

🚀 Getting Started — First 30 Minutes

There is nothing to start with the library itself. What is worth knowing is what it opens up.

1. Find out why it is in your pack

Look down the mod list for a worldgen or structure mod — Terralith, Towns and Towers, Explorify. One of them brought Cristel Lib along.

2. Use it when the world annoys you

A structure showing up far too often, or one you would rather never see again, is adjustable. Cristel Lib is the reason that adjustment is exposed as a setting rather than buried in a datapack.

3. Check the result somewhere new

After changing a setting, travel into unexplored terrain — chunks you have already generated will keep what they generated with. A fresh test world is the fastest way to confirm the change took.

💡 Gameplay Tips

  • If a structure is spawning far too often, this is the layer to look at: worldgen mods built on Cristel Lib expose their structures as config, so you can disable one or make it rarer without hand-writing a datapack.
  • Changes land in newly generated chunks: structure placement is decided when a chunk first generates, so edits will not retroactively clear structures out of terrain you have already explored. Head somewhere new to see the effect.
  • Do not remove it to slim down a pack: Terralith, Towns and Towers, and the rest simply fail to load. It is a small file, so there is nothing to gain anyway.

⚠️ Common Confusing Points

  • • The library does not add the structures: Terralith, Towns and Towers, and their peers do. Cristel Lib only exposes those structures as configuration and loads datapacks conditionally. Install it alone and your world generates exactly as vanilla does.
  • • Its license is unusual for a library: Modrinth lists CC-BY-NC-ND-4.0, which is a different animal from the LGPL and MIT licenses most library mods use. Irrelevant for playing or for using a pack, but if you intend to modify and redistribute the code, read the terms first.
  • • Config edits that appear to do nothing: already-generated chunks keep the structures they generated with. Start a new world, or travel somewhere you have not been, before concluding the setting is broken.
  • • One library cannot stand in for another: having Citadel, Bookshelf, or CreativeCore installed does nothing to satisfy a dependency on Cristel Lib. They are separate codebases serving different families of mods, and they coexist without conflict.

❓ FAQ

What does it actually do?

Two things. It provides a structure config system, which is how a mod turns its structures into settings you can reach — disable one, make another rarer — instead of leaving them locked inside a datapack. And it provides runtime datapacks, letting a mod load data conditionally, for example applying a compatibility patch only when the mod it patches for is present. It adds no content of its own.

Which mods depend on it?

Its Modrinth page lists Terralith, Towns and Towers, Explorify, and WWEE. The common thread is worldgen: every one of them changes how terrain or structures are generated. Seeing Cristel Lib in a pack means at least one of them is in there with it.

Can I cut down how many structures generate?

Yes — that is close to the reason the library exists. Mods built on it expose their structures as configuration, so you can disable individual ones or reduce their frequency. The catch is that chunks you have already generated keep what they got; only new terrain reflects the change.

🔗 Related Mods