CoFHLib Wiki & Guide
CoFHLib is the foundational library mod for Minecraft, providing the essential Redstone Flux (RF) API and shared code frameworks that power the entire TeamCoFH mod suite, including Thermal Expansion and Redstone Arsenal.
Overview
CoFHLib (CoFH Common Library) is a critical technical component for Minecraft modding. Developed by TeamCoFH, it serves as a shared repository of code, interfaces, and APIs designed to prevent "reinventing the wheel" across multiple mods. While it does not add player-facing content like mobs or biomes directly to the creative menu, it provides the underlying logic for energy management, fluid handling, and item interactions used by millions of players.
By centralizing essential functions, CoFHLib reduces the memory footprint (PermGen space) of large modpacks and ensures that different mods can communicate seamlessly. It is most famous for housing the Redstone Flux (RF) API, which became the industry standard for power systems in the 1.7.10 era.