promotional bannermobile promotional banner

FAB Library (Forge)

The Find A Block Library assists in finding/keeping track of blocks in a world efficiently.
affiliate banner image

The Find A Block Library assists in finding a specific block and keeping track of its location in a world efficiently. Especially useful when multiple mods depend on a specific blockstate in the world.


See the source code in the Github repository.
For more information on what the mod does and its public functions see the Wiki.


Configurable
blockCheckAroundEntitiesDelayMs (default = 30000, min 0, max 3600000): The delay of the is-there-a-block-around-check around entities in ms. Increasing this number can increase TPS if needed.


How to use the library in your project:
This is only for developing new mods. If you'd like to use a mod that depends on FAB Library, just download it from this page.
1. Add the following lines to your build.gradle file:




repositories {
    maven {
        url = "https://github.com/ricksouth/serilum-forge-maven/raw/maven/"
    }
}

dependencies {
    runtimeOnly fg.deobf("com.natamus.fablibrary:fablibrary:VERSION")
    compileOnly fg.deobf("com.natamus.fablibrary:fablibrary:VERSION")
}



2. Replace VERSION in the previous lines with mcversion-modversion, e.g. 1.14.4-1.1, or 1.15.2-1.1:
Partial Example: dependencies {
    runtimeOnly fg.deobf("com.natamus.fablibrary:fablibrary:1.15.2-1.0")


3. After that refresh your workspace by entering the following command in your project folder:
$ gradlew cleanEclipse eclipse --refresh-dependencies


4. Add the following lines to the bottom of mods.toml in your META-INF folder, replace YOURMODID with your mod's id:
[[dependencies.YOURMODID]]
    modId="fablibrary"
    mandatory=true
    versionRange="[1.1,)"
    ordering="NONE"
    side="BOTH"


5. When uploading the file to your mod project page on curseforge, make sure to select FAB Library as a dependent at the bottom:


------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


FAB Library (Forge) Team

Hammer Lord tier frameprofile avatar
Owner
Hammer Lord tier icon
  • 3.0K
    Followers
  • 362
    Projects
  • 911.1M
    Downloads

Makes Minecraft mods and a few other random bits of software. I love projects. > DMs are disabled, please use the `Serilum/.issue-tracker` on GitHub! ❤︎

Donate

More from SerilumView all

  • Tree Harvester project image

    Tree Harvester

    🌲 Harvest full trees and huge mushrooms instantly with an axe. Includes fast leaf decay and sapling placement. Also works for warped (nether) trees. Become a master tree chopper quick in no time.

    • 33.1M
    • October 4, 2026
  • Collective project image

    Collective

    🎓 Collective is a shared library with common code for all of Serilum's mods.

    • 267.5M
    • October 4, 2026
  • Enchanting Commands project image

    Enchanting Commands

    💫 Easy creation of (modded) enchanted items via commands with levels above the default limit.

    • 827.5K
    • October 4, 2026
  • All Loot Drops project image

    All Loot Drops

    👝 Living entities drop all their possible loot in a configurable amount, looting enchant supported.

    • 500.7K
    • October 2, 2026
  • Tree Harvester project image

    Tree Harvester

    🌲 Harvest full trees and huge mushrooms instantly with an axe. Includes fast leaf decay and sapling placement. Also works for warped (nether) trees. Become a master tree chopper quick in no time.

    • 33.1M
    • October 4, 2026
  • Collective project image

    Collective

    🎓 Collective is a shared library with common code for all of Serilum's mods.

    • 267.5M
    • October 4, 2026
  • Enchanting Commands project image

    Enchanting Commands

    💫 Easy creation of (modded) enchanted items via commands with levels above the default limit.

    • 827.5K
    • October 4, 2026
  • All Loot Drops project image

    All Loot Drops

    👝 Living entities drop all their possible loot in a configurable amount, looting enchant supported.

    • 500.7K
    • October 2, 2026