Mineuniverse
Mods
Cib Lib

Cib Lib

MOD
A Fabric library that lets mods split their creative tab into sections, each with its own banner.
by d4nilpzz
Download Claim this project
19 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library
Advertisement Remove ads with Premium →

Creative Inventory Banner is a library for mod developers. It splits a creative tab into sections, each one headed by a banner image of your choosing.

Instead of one flat wall of items, your tab reads as labelled groups: materials, tools, food, decorations & whatever you decide.

How it works

A section occupies one full row of the creative grid for its header, then lays its items underneath. Rendering happens in two layers: the library always draws a placeholder frame over the empty slot row, and your banner goes on top of it. Declare no banner and you get the built-in default.

For developers

Declare your sections and hand the layout to your tab:

```java

InventoryBanners.register(MY_TAB, layout -> layout
        .section(section -> section
                .banner(MOD_ID, "materials")
                .add(RUBY, SAPPHIRE))
        .section(section -> section
                .banner(MOD_ID, "gear")
                .add(RUBY_SWORD, RUBY_PICKAXE))
        .section(section -> section
                .add(MYSTERY_ITEM)));

CreativeModeTab.builder(...)
        .displayItems(InventoryBanners.displayItems(MY_TAB))
        .build();

```

Banner textures live at assets/<your_mod_id>/textures/gui/banner/<name>.png and must be exactly 160x16 pixels.

By default it has a gray banner.

That's the whole API surface for the common case. Item stacks are built lazily, so you can declare sections while you're still registering your items without tripping over uninitialised item components.

For users who don't know how to create these banners, I have a simple Windows application that allows you to create them. Join the DISCORD

Requirements

  • Minecraft 26.2
  • Fabric Loader 0.19.3 or newer
  • Fabric API
  • Java 25
Cib Lib 1.0.0
MC Client, Fabric, Server, 26.2
Release 2026-08-28 Get

More from d4nilpzz

Advertisement Remove ads with Premium →

You Might Also Like