HomeJavaModstntOptimizer
tntOptimizer
ModsJava

tntOptimizer

by bijssels · on Modrinth

We all love exploding vilagers but we hate the lag it gives. This mod fixes the tnt lag mainly serversided and a bit on the client

⬇ Download on Modrinth
tntOptimizer — screenshot 1

What does this mod do?

This mod improves TNT performance

The goal is to reduce lag while keeping TNT behavior as close to vanilla as possible.

How close to vanilla is it?

I tried to keep the mod as close to vanilla as possible. However, because the number of active TNT entities is limited, there is a small chance that some edge cases will behave slightly differently.

How does it work

It works by limiting the amount of tnt rendered client side to 75 Also limis the amount of explosion particles the client renders to 100

On the server side of the mod we limit more things:

  1. we limit how much tnt is active at once
  2. we limit how much tnt explodes at the same tick
  3. we merge close tnt into 1 to waste less calculations
  4. we cache explotion calculations so we do less calculations

Will it break my TNT cannons?

Most TNT cannons should continue to work normally.

However, if your cannon relies on more than 250 TNT entities being active at the same time, it may not function correctly.

So yes, this will almost certainly break an orbital strike cannon.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more