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 have a look in "Configs" 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.
Configs
Spoiler
Core Tick Settings
-
tickRateFormula: Controls how often things update based on server TPS (e.g., 3 - (tps / 10) means slower updates if TPS drops).
-
enabledDimensions: Lists of worlds where these tweaks apply.
Entity Tick Settings
Living Entities:
- Reduces tick rate for living entities (fixedTickRate = 0 means use tickRateFormula).
- Slows down ticks for mobs far away (nonVisibleTickRate).
- Exempts certain mobs.
Item Entities:
- Reduces tick rate for items (fixedTickRate = 0 means use tickRateFormula).
- Detects items within detectionRange.
Block Entities:
- Reduces tick rate for block entities (fixedTickRate = 0 means use tickRateFormula).
Performance Settings
Activation Ranges:
- Sets how far mobs/entities stay active (range = distance in blocks).
- Tick Interval: Tick Rate of the far entity
- WakeUp Interval: It will check every certain ticks, instead of checking every tick.
Mob Despawn:
- Adjusts how fast mobs despawn (despawnTime in ticks, despawnChance per tick).
Emergency Settings
- tpsThreshold: Freezes block entities if TPS drops below this value.
Recommendations
Spoiler
- Don’t use TT20, it does the opposite of Tick Tweaks.
FAQ
Spoiler
Q: Can I use your code as reference for my mod?
A: Despite the fact that the mod's licence 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.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+