Minecraft.How
Caricamento...
Vai al contenuto

Bundle API

di TheRedBrain

Bundle API gives mod authors a ready-made CustomBundleItem class so they can add bundles that hold multiple item stacks filtered by a tag. Works on Fabric, Forge, and Neoforge for Minecraft 1.20.1, 1.21, 1.21.1, 26.1, 26.1.1, 26.1.2, and 26.2.

Il nostro riassunto

Cosa fa questo progetto

What Bundle API does for mod authors Bundle API is a library mod that gives other mods a clean way to add custom bundle items. Instead of writing bundle logic from scratch, a mod author calls the CustomBundleItem constructor, registers the item, and supplies models and textures. The bundle can hold more than one stack of items, and the allowed items are defined by an item tag. This keeps the implementation consistent with how vanilla bundles behave while letting each mod set its own capacity and filter rules. ## Who this is for The mod is aimed at developers who want to ship bundle-like items in their own projects. Players don't interact with Bundle API directly; they only see the custom bundles that other mods create using it. If you are a player looking for new storage options, you need a content mod that depends on this API. If you're a mod author, the API removes the boilerplate of inventory handling, rendering, and network sync for bundle-style items. ## Verified capabilities - Provides a CustomBundleItem class that handles multi-stack storage and tag-based filtering. - Requires both client and server installation so the bundle works in singleplayer and on dedicated servers. - Distributed under the MIT license, so it can be included in modpacks and derivative works without restriction. - The repository includes a minimal usage example and Gradle snippets for adding the dependency via Modrinth's Maven repository. ## Compatibility and version details Bundle API supports three mod loaders: Fabric, Forge, and Neoforge. The declared Minecraft versions are 1.20.1, 1.21, 1.21.1, and the 26.x series (26.1, 26.1.1, 26.1.2, 26.2). These are discrete entries; don't assume every point release between them is supported. The latest repository build targets 26.3, but that version isn't listed in the project's official game_versions array, so it isn't covered by this description. ## Installation note for developers Add the Modrinth Maven repository to your build.gradle, then declare a modImplementation dependency on maven.modrinth:bundle-api with the version you need. The repository's gradle.properties example uses 1.0.0 as a placeholder; replace it with the actual version you intend to compile against.

Reazioni

Accedi per reagire.

Compatibilità

Versioni e loader

8 release registrate

1.2.0+1.20.1-fabric

release

Scarica (85 KB)

1.2.0+1.20.1-forge

release

Scarica (85 KB)

4.0.0+26.2-fabric

release

Scarica (107 KB)

4.0.0+26.2-neoforge

release

Scarica (107 KB)

3.0.0+26.1.2-neoforge

release

Scarica (107 KB)

3.0.0+26.1.2-fabric

release

Scarica (107 KB)

Galleria

Bundle API icon

Utilizziamo i cookie per migliorare la tua esperienza. Continuando a usare questo sito, accetti il nostro utilizzo dei cookie. Leggi la nostra Informativa sulla Privacy