Back to mods
hcapi project artwork

Modrinth · Minecraft mod

hcapi

Holder Component API - Allows conveniently attaching data to holders via datapack

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

Quick answer

Which hcapi release matches 26.1?

Updated 18 days ago
beta file 1.0.1+mc26.1.2
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

hcapi 1.0.1+mc26.1.2 targets 26.1, 26.1.1, 26.1.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is hcapi required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
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 marks this as usable on both the client and server.

What else does hcapi 1.0.1+mc26.1.2 need?

1.0.1+mc26.1.2 on 26.1. Every mod below is checked against that same setup.

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 hcapi 1.0.1+mc26.1.2
required
Matching file found Matched file: 0.155.3+26.1.2

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

Before you install it

Add hcapi without breaking your instance.

Built for hcapi 1.0.1+mc26.1.2 on 26.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.1+mc26.1.2. It targets 26.1, 26.1.1, 26.1.2 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

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.1+mc26.1.2. It opens that exact file at the source.

About this project

What does hcapi add?

Holder Components by @CallMeEcho (with contributions from @EightSidedSquare) is a (hopefully) upcoming Fabric API module. This project repackages that WIP module as a library under FAPI's Apache-2.0 license and with permission from Echo. A big thank you to Echo for putting together such a useful and robust piece of code.

hcapi allows conveniently setting and accessing components on elements of any registry, not just items. These components may be data-driven or defined by code, and they may be synchronized to the client. This happens to make server-side default item components possible and straightforward.

See the PR for a description of the API. Note that instances of fabric in names and paths have been renamed to hcapi since this is not an official fabric library, so check the source code for exact names and paths.

Project description from Modrinth.

Pick your setup

hcapi by Minecraft version and loader

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

5 available setups

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

Recent files

hcapi versions and loaders

2 of 4 releases match
Clear filters

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