Knowledge before installing
Spoiler
Game Tick
A game tick is a single cycle of Minecraft’s game loop, where the game updates actions, events, and mechanics like movement, block changes, and redstone.
Tick Rate
Controls how often entities (like mobs, items, and projectiles) update.
TPS
This measures the game's overall tick speed, ideally 20 ticks per second. When the TPS drops below 20, the game may lag, affecting all processes.
Description
This mod enhances server performance by adjusting Tick Rates for Item Entities, Block Entities and Living Entities. Adjusts the Tick Rate based on Server TPS; lower TPS results in a lower Tick Rate.
It also implements some features for improving the game performance, you can take a look in "What's More?" section.
It is very recommended to change the configs to your server's preferences. Don't put all at once without knowing what are you doing.
Tick Tweaks is server side, it isn't needed in the client.
What's More?
Spoiler
Entities
You can enable and disable the adjustable Tick Rate in the config files.
You can specify the tick rate. If set to 0, the default, it will work the adjusted Tick Rate based on TPS.
Items
Expand the Item Entity Detection Radius from 0.5 blocks to 3 blocks, adjustable in the config files.
Living Entities
Enable configuration of the maximum number of mobs spawned by a spawner within a defined radius. Enable configuration of the maximum number of mobs spawned naturally.
Dimension
You can enable and disable the adjustable/specific Tick Rate for any dimension
Emergency Stop
When your game goes lower than 5 TPS (configurable), it stops the Block Entities to Work.
Differences Between Modes
Spoiler
Weakest Mode:
This mode is designed for single-player and small servers. While it doesn't significantly affect tick rates, it also provides optimization benefits.
It is recommended this one, except if your server goes lower than 5 TPS even with this mode.
Formula: 3 - TPS/10
Intermediate Mode:
This mode is designed for single-player and small servers. While it doesn't significantly affect tick rates, it also provides optimization benefits.
It is recommended this one, except if your server goes lower than 5 TPS even with this mode.
Formula: 5 - TPS/5
Strongest Mode:
This mode is designed for worlds that have huge farms. It affects significantly the tick rates, so maybe you will experience "visual lag", but is just the tick rates of the entities reduced.
Formula: 21 - TPS
Known Incompatibilities
Spoiler
- TT20: A mod that reduces the number of ticks needed for certain tasks when TPS is low. However, this results in the opposite effect of what Tick Tweaks intends.
FAQ
Spoiler
Q: Can I use your code as reference for my mod?
A: Despite the fact that the mod's license is ARR, you can use Tick Tweaks code as reference. But, please, don’t just do plain Ctrl+C → Ctrl+V. It isn't allowed to port or backport itself.