Brainless Lib

Brainless Lib

AI Library for Better than Adventure

by
49 Downloads
bta-babric
Rent Server with this Mod

About this Mod

Brainless Library

Game AI framework and utilities, WIP!

Btw

It started as a code experiment, maybe it will end up as such.

Warning:

It has nothing to do with generative AI or complex neural networks.

Example of villagier AI

AI ai = AI.create(brain -> {
    brain.inputs()
        .add("hunger",  0.0)
        .add("fatigue", 0.0)
        .add("danger",  0.0)
        .add("work",    0.0);

    brain.layer("desires", layer -> {
        layer.mix("desire_eat")
            .add("hunger", 1.0).sub("danger", 0.7).sigmoid(6);
        layer.mix("desire_sleep")
            .add("fatigue", 1.0).sub("danger", 0.9).sigmoid(6);
        layer.mix("desire_flee")
            .add("danger", 1.0).sigmoid(8);
        layer.mix("desire_work")
            .add("work", 1.0).sub("hunger", 0.5).sub("fatigue", 0.4).sigmoid(5);
    });
});

JobQueue queue = ai.queue(JobQueue.Mode.HIGHEST_WINS, 0.25, 3);
queue.register("Eat",   ai.getBrain().getNode("desire_eat"),   () -> System.out.println("Villager eats"));
queue.register("Sleep", ai.getBrain().getNode("desire_sleep"), () -> System.out.println("Villager sleeps"), () -> System.out.println("Sleep interrupted"));
queue.register("Flee",  ai.getBrain().getNode("desire_flee"),  () -> System.out.println("Villager flees!"), () -> System.out.println("Flee interrupted"));
queue.register("Work",  ai.getBrain().getNode("desire_work"),  () -> System.out.println("Villager works"));

// Each game tick:
ai.update(in -> in
    .set("hunger",  0.8)
    .set("fatigue", 0.3)
    .set("danger",  0.0)
    .set("work",    0.5));

Queue modes

Mode Behavior
HIGHEST_WINS Most urgent desire always first
FIFO_TIERED Sorted into high/mid/low tiers, FIFO within each
WEIGHTED_RANDOM Higher desire = higher chance, not guaranteed

Queue pre-calculates next N jobs. If total desire delta exceeds threshold, discards and rebuilds.

Connection ops

Built-in: add, sub, mul, div, max, min.
Custom:

layer.mix("desire_eat").op("hunger", (a, b) -> a + b * 1.5, 0.8);

Available Versions

Brainless Lib 1.3.1release
MC b1.7.3bta-babric
May 28, 2026
Brainless Lib 1.3.0release
MC b1.7.3bta-babric
May 28, 2026
Brainless Lib 1.2.0release
MC b1.7.3bta-babric
May 24, 2026
Brainless Lib 1.1.0release
MC b1.7.3bta-babric
May 22, 2026
Brainless Lib 1.0.0release
MC b1.7.3bta-babric
May 21, 2026

How to Install Brainless Lib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set bta-babric Loader

In the panel under "Egg", select the bta-babric loader and matching Minecraft version (b1.7.3).

3

Install Mod

Open the mod browser in the dashboard and search for "Brainless Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

bta-babric

Minecraft Versions

b1.7.3

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Brainless Lib server crashes on startup – what to do?

Most common cause: wrong bta-babric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (b1.7.3). You can switch loaders with one click in the panel.

Is Brainless Lib compatible with bta-babric?

Brainless Lib officially supports bta-babric for Minecraft b1.7.3. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Brainless Lib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Brainless Lib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Brainless Lib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Zero v1.0 Universal
Server-side
Required

Supported Versions

b1.7.3