Mod

TooBee Optimization

Quick rating

TooBee Optimization

No reviews yet

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

Performance & Optimization
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
GNU General Public License v3.0 or later
Latest Version
0.1.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~6,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync