Minecraft Data Packs / Server Utility

ClearLag | Advanced antilag datapack

  • check_circle Functions
  • 66,472 views, 17 today
  • 13,658 downloads, 4 today
  • 102
  • 103
  • 26
TomatoCake
Level 69 : High Grandmaster Cake
101
Original, unupdated/dead version: ClearLag Datapack

This datapack is advanced as it uses methods from server software like Spigot and Paper to optimize performance!
You can configure many settings and even enable a small anti-crash for your server, which prevents extreme lagging using armor stands.


Click on the message on reload or use the following command to change the settings:
function clearlag:menu


Works on Vanilla, Bukkit, Spigot, PaperMC, all forks of PaperMC and modded servers (Fabric, Forge possibly).

The methods this datapack uses to reduce lag:
  • Shorter item/experience orb despawn time (important items and items after dying wont get removed)
  • Automatic clears which remove all items in a configurable interval
  • Freezes unused entities
  • Merges experience orbs
  • Removes collision from farm animals

Also, the data pack is really performant so it shouldn't create any lag on its own.

Note: You should always prefer server software such as Paper because it has a lot more customizable options and overall performance that data packs can never reach. You should only use this datapack if you cannot use another server software.


Some other performance tips
  • Change the server.properties value "view-distance" and "simulation-distance" to lower values, e.g. 8 and 4 is usually enough.
  • Lower the maxEntityCramming gamerule. The data pack could do this too, but it can break many farms and confuse players. Use "/gamerule maxEntityCramming <value>", default value is 24, changing it to 12 often improves performance a lot.



Download for 1.14 to 1.20
CreditE4ry (original creator)
CompatibilityMinecraft 1.14
toMinecraft 1.21
Tags

13 Update Logs

v2.9.4 : by TomatoCake 07/31/2024 10:28:16 amJuly 31, 2024 @ 2:28 pm UTC

- Updated to 1.21 (Download for 1.14 to 1.20 is linked in the description)
LOAD MORE LOGS

Create an account or sign in to comment.

RODHI
11/28/2024 1:23 am
Level 5 : Apprentice Miner
1.21.2?
1
Daffi5
10/23/2024 3:47 am
Level 1 : New Miner
Hey can you make tutorial for this?
1
izcalledcompetitive
03/13/2024 10:29 pm
Level 1 : New Miner
is there anyway to hide thne messages
2
TomatoCake
03/13/2024 11:39 pm
Level 69 : High Grandmaster Cake
Yes, you can disable messages as can be seen on the fourth image when clicking on "Messages" in the main menu.
2
henry7167
03/25/2023 3:00 pm
Level 27 : Expert Strawberry Creeper Hugger
I feel like 3D shareware (April fools snapshot) was laggy
1
10/12/2022 7:55 am
This reply was removed by the poster or a moderator.
TomatoCake
10/12/2022 12:23 pm
Level 69 : High Grandmaster Cake
Stop using alt accs :)
2
Shin0a_
09/06/2022 6:18 am
Level 11 : Journeyman Lemon
can you add the animal collision option in settings so we can toggle it off or on
1
TomatoCake
09/06/2022 11:38 pm
Level 69 : High Grandmaster Cake
Will do.
In the meantime, just comment out the `team join CLnocollision ` command in 3sec.mcfunction (line 35).
Just interested, why do you need it? It heavily can improve performance on some servers/worlds.
1

Welcome