promotional bannermobile promotional banner

TFC Registry API

Dynamically discovers and unifies access to all mod-added TFC registry types (metals, woods, ores, rocks, soils, sands, soil variants) from any mod using the registry interfaces.

File Details

TFCRegistryAPI-1.21.x-1.2

  • R
  • Dec 12, 2025
  • 89.41 KB
  • 8.3K
  • 1.21.1+1
  • NeoForge

File Name

TFCRegistryAPI-1.21.x-1.2.jar

Supported Versions

  • 1.21.1
  • 1.21

Curse Maven Snippet

NeoForge

implementation "curse.maven:tfc-registry-api-1396119:7324760"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

  • Refactored registry helpers to use a generic RegistryEntry<T> instead of type‑specific containers
  • Added generic discovery and registration methods (discoverRegistryEnums, registerTypes) that work for any interface
  • Fixed path handling by replacing Path.toFile() with safe FileSystem traversal