ModsFinder

CTMLib

by TheCricket

CTMLib is a NeoForge library for connected textures, giving other mods reusable tools for block rendering and model datagen.

NeoForgeClient and serverGNU Lesser General Public License v3.0 onlyOpen source26.1.2 – 26.2

What it does

Developers can use CTMLib to show connected textures on their own blocks without writing the connection logic from scratch. It offers standard connected texture support in horizontal and vertical modes, along with 2×2, 3×3 and 4×4 layouts. Multiblock texture patterns, overlay-based connected textures and bookshelf-style top, bottom and side handling are included as well.

Connected texture behavior is set through CTM model builders, while the implementation details stay behind a developer-facing API. Vanilla datagen support lets a mod generate these models during its own data generation. Developers who want connected textures to behave the same way on every block and model can use the library, which keeps that logic reusable, predictable and simpler to upkeep across several mods.

CTMLib runs on client and server, so the server and every player need it when a mod that depends on it is installed. Players who only play other mods have nothing to add, because the library is required by mods rather than used directly. Files are published for NeoForge only, for the 26.1.2 – 26.2 range, and the code is released under the GNU Lesser General Public License v3.0 only, which makes it open source.

Key features

  1. Standard connected textures

    Blocks can show connected textures in horizontal and vertical modes, with 2×2, 3×3 and 4×4 layouts.

  2. Multiblock texture patterns

    Textures can follow patterns that span several blocks, so a larger structure reads as one surface.

  3. Overlay-based connections

    Connected textures can be drawn as overlays on top of a base texture, layering the connection on the block model.

  4. Bookshelf-style handling

    Top, bottom and side textures can be set independently, in the way bookshelves are textured in vanilla.

  5. CTM model builders

    Connected texture models are assembled through builders, so mods describe the behavior without implementing it.

  6. Vanilla datagen support

    Models for connected textures can be produced by a mod's own data generation, adding them to its blocks.

Compatibility

Latest build for each game version and loader.

26.226.2.0.1
26.1.226.1.2.11
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Required by 1 mod

Use cases

Who it’s for: Mod developers building NeoForge projects who want connected textures without reimplementing the logic. Players do not install it directly; it is pulled in as a dependency by mods such as Chisel 3.

Questions

Does Chisel 3 need CTMLib?

Yes. CTMLib is required by 1 other mod in the catalog, Chisel 3, so it must be installed alongside that mod on NeoForge.

Does a server need CTMLib installed?

Yes. Every player and the server need a copy of the mod.

Which game versions does CTMLib support?

Files exist for 26.1.2 and 26.2. The latest NeoForge file, 26.1.2.11, is for 26.1.2 and was published on 2026-10-07.

More from TheCricket

All projects

What the author says

CTM Library is a lightweight connected-texture library for NeoForge mods. It provides reusable tools for rendering blocks with connected textures, overlays, and pattern-based texture layouts without every mod needing to reimplement CTM logic from scratch. This library is primarily intended for mod developers who want…
TheCricket, on the Modrinth page

Official listing

Owner
TheCricket
Published
2026-06-02
Updated on Modrinth
2026-10-07
Facts verified
2026-10-15