TooBee Optimization

TooBee Optimization

Game optimization mod that focuses on calculation reduction of stacking mobs, despawn condition of monsters and so on

by
6.6K Downloads
fabricoptimization
Rent Server with this Mod

About this Mod

This project is a public minecraft optimization mod for TooBee survival server, including a variety of aspects where each one is designed for a specific occasion.

Server IP: 2ob.top

The mod is at a very early stage of development, and please notice that it is dedicated server only.

Support for the newest minecraft version is updated if and only if TooBee server updates, and yet older version of minecraft is not supported.

For more detailed information, please read README.md in GitHub repo of this project.

What has been done

Most modifications are ensured to be thread safe.

Mob Stacking Optimization

Cache some of the calculation results of vast amount of certain entities stacking in a single position. I try to optimize the time complexity of such calculation from O(n^2 * log n) to O(n) , which means the MSPT caused by 3000 wardens can be reduced from more than 700 to less than 15. However, notice that this mod is server only, so it should be no use on client side.
These mobs are recommended to

  • be the same type;
  • stack in the same dimension and block pos;
  • stand on a solid block steadily;
  • have limited mobility;
  • with climbable block in the position of their feet so that they don't crush.

Affected Mob

  • Warden: usually for pseudo-peace farm in server.
  • Piglin: usually for bartering farm.

Principle and Attention

Cache the calculation results of such mobs every tick: One mob experiences a full calculation process and its result will be cached, while others stacking in the same position share it. In this way, original behaviour of mobs stacking in one block are slightly affected, but not so much and most people don't care about it, as hardly any players interact with these thousands of entities.

More reasonable despawn condition

If mobs pickup items, they keep alive permanently unless killed. However, those mobs are not counted into spawn cap, making their population grows endlessly and finally causes huge lags. While a hostile mob (except for enderman) holds the following common items without any components, it will still despawn:

arrow, bone, brown mushroom, cobbled deepslate, cobblestone, dirt, egg, grass block, gravel, gunpowder, pointed dripstone, red mushroom, rotten flesh, spider eye, string, torch, wheat seeds.

Enderman holding the following items will also despawn:

brown mushroom, crimson fungus, crimson nylium, crimson roots, dirt, grass block, gravel, red mushroom, sand, warped fungus, warped nylium, warped roots.

Available Versions

TooBee Optimization 0.1.1release
MC 1.21.11fabric
December 22, 2025
TooBee Optimization 0.1.0release
MC 1.21.10fabric
October 24, 2025

How to Install TooBee Optimization on Your Server

1

Order Server

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

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

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

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

TooBee Optimization server crashes on startup – what to do?

Most common cause: wrong fabric 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 (1.21.11). You can switch loaders with one click in the panel.

Is TooBee Optimization compatible with fabric?

TooBee Optimization officially supports fabric for Minecraft 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with TooBee Optimization – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if TooBee Optimization 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 TooBee Optimization 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
GNU General Public License v3.0 or later
Server-side
Required

Supported Versions

1.21.111.21.10