Back to mods
LibCapableData (LibCD) project artwork

CurseForge · Minecraft mod

LibCapableData (LibCD)

Improved data processing for Fabric and 1.14

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which LibCapableData (LibCD) release should I use?

Updated 5 years ago
Latest stable file 3.0.3+1.16.3
Game version 1.16.3, 1.16.5, 1.16.4
Loader Fabric

LibCapableData (LibCD) 3.0.3+1.16.3 targets 1.16.3, 1.16.5, 1.16.4 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is LibCapableData (LibCD) required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does LibCapableData (LibCD) 3.0.3+1.16.3 need?

3.0.3+1.16.3. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by LibCapableData (LibCD) 3.0.3+1.16.3
required
Matching file found Matched file: [1.16.3] Fabric API 0.25.0 build 415

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add LibCapableData (LibCD) without breaking your instance.

Built for LibCapableData (LibCD) 3.0.3+1.16.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 3.0.3+1.16.3. It targets 1.16.3, 1.16.5, 1.16.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 3.0.3+1.16.3. It opens that exact file at the source.

About this project

What does LibCapableData (LibCD) add?

DISCLAIMER

I have received multiple reports of an issue regarding invalid entries in the LibCD mod jSON. THIS DOES NOT CAUSE A CRASH. THIS IS NOT THE REASON YOUR PACK IS NOT LOADING. PLEASE LOOK FURTHER IN THE LOG FOR THE REAL CAUSE OF THE CRASH.

LibCapableData, or LibCD, adds various hooks to make data packs more usable.

Conditional Data

LibCD's original function was as a hook to conditionally load data pack elements based on a metadata file. It's focused on being simple and extensible, along with being compatible with any resource type added by other mods. This mod requires the Fabric launcher for Minecraft 1.14 and above.

For conditional resources, add a file <target resource with extension>.mcmeta. This will be parsed as JSON to check whether the resource should be loaded. Each key-value pair will specify a condition that must be met for the recipe to be loaded. There are four conditions pre-included, and other mods may add their own:

  • libcd:mod_loaded (passed a string): Will return true if a mod with the given mod ID is loaded.
  • libcd:item_exists (passed a string): Will return true if an item with the given item ID is loaded.
  • libcd:not (passed a single-element json object) Will return true if the condition listed in the given object is not true.
  • libcd:any_of (passed a json object): Will return true if any condition listed in the given object is true.

WARNING: Currently, conditions silently return false if they are passed an improper parameter. This will hopefully be changed in the future, but if you think something should be loaded and it isn't, check your conditions.

Developer Use

LibCD allows any mod to register their own conditions, to prevent recipe loadin based on config or more advanced logic. LibCD is available on the Cotton maven.

To add a new condition, call LibConditionalData.registerCondition(), passing an Identifier for the condition's name and a `Predicate for the use of the condition.

The Object passed to the predicate will be a boxed primitive (Integer, Float, Boolean, etc.), a String, a List, a JsonObject, or null. Use an instanceof check to be sure what you're being passed.

For information on creating Tweaker utilities, check the LibCD wiki page.

Project description from CurseForge.

Pick your setup

LibCapableData (LibCD) by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

13 available setups

Showing the newest 12 of 13 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

LibCapableData (LibCD) versions and loaders

7 of 7 releases match

Looking for an older file? The official CurseForge project page is in Resources.