Back to mods
TooBee Optimization project artwork

Modrinth · Minecraft mod

TooBee Optimization

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which TooBee Optimization release matches Fabric?

Updated 10 months ago
Best match for your filters 0.1.1
Game version 1.21.11
Loader Fabric

TooBee Optimization 0.1.1 targets 1.21.11 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is TooBee Optimization required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does TooBee Optimization 0.1.1 need?

0.1.1 on Fabric. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add TooBee Optimization without breaking your instance.

Built for TooBee Optimization 0.1.1 on Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.1.1. It targets 1.21.11 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.1.1. It opens that exact file at the source.

About this project

What does TooBee Optimization add?

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.

Project description from Modrinth.

Pick your setup

TooBee Optimization by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

TooBee Optimization versions and loaders

2 of 2 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.