No Lag

  • check_circle Functions
  • 29 diamonds
  • 11,799 views, 718 today
  • 2,139 downloads, 149 today
  • 38 comments
  • 26 favorites
  • 29
  • 26
  • 38
avatar 2mal3
Level 40 : Master Modder
25
No Lag Datapack v.1.12.10

The No Lag Datapack v.1.12.10 is designed to reduce the lag in the world. This is done with 8 different, efficient and adjustable methods (other similar datapacks use only 1-2 methods). Furthermore, the whole datapack has been programmed to use very little resources itself.
If you want to exclude an entity from the following measures, you have to rename it with a name tag in ignore.
With a few of these methods, this datapack can render some farms and other datapacks unusable. For a lower risk and lag reduction you can use my No Lag Datapack Light.

This datapack supports with my Language Pack the languages German, Spanish and French.


Features
Click to reveal


Methods (Most of them can be changed under data > nld > functions > config.mcfunction):
Click to reveal


Installation:
Click to reveal


Uninstall

Click to reveal
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

9 Update Logs

Update v.1.12.10 : 07/08/2020 6:10:32 amJul 8th

  • Bug fixes for the Enderdragon
  • Entities can now be easily excluded from actions.
LOAD MORE LOGS

2
06/27/2020 1:11 pm
Level 3 : Apprentice Explorer
DavidMinecraftYEET
that's a cool datapack i've ever seen ngl
2
06/27/2020 1:53 pm
Level 40 : Master Modder
2mal3
Nice you like it.
1
06/28/2020 4:32 am
Level 3 : Apprentice Explorer
DavidMinecraftYEET
does it remove lag from shaders tho?
2
06/28/2020 5:18 am
Level 40 : Master Modder
2mal3
Unfortunately, datapacks cannot be used to change or influence shaders and other minecraft modifications, so you cannot optimize them.
1
06/28/2020 9:42 am
Level 3 : Apprentice Explorer
DavidMinecraftYEET
1
06/25/2020 2:19 am
Level 1 : New Explorer
robloDark7
how do I get the data pack?
1
06/25/2020 4:53 amhistory
Level 40 : Master Modder
2mal3
First you have to click on the DOWNLOAD: GITHUB button at the top. This will take them to a website where they will be redirected to a page where they will be asked to view advertisements for 5 seconds. After that, the datapack in .zip format will be downloaded automatically. This .zip file must then be moved to the datapack folder in your world.
To get there, press Windows + R and enter %appdata% in the window that opens. In the now open file manager open the .minecraft folder and in it the saves folder. There you select your world and go into the datapacks folder. There you can copy the datapack.
After that you only have to leave the world and enter it again. If there is a message in the chat, you have done everything right.
Alternatively there are many YouTube tutorials how to install a datapack.
1
06/22/2020 10:32 pm
Level 1 : New Miner
generrosity
Is it possible to figure out which player has the most entities close to them with the scoreboards you have?
1
06/23/2020 5:40 am
Level 40 : Master Modder
2mal3
No
1
06/23/2020 6:41 pm
Level 1 : New Miner
generrosity
Cheers. Is there a simple command I could run to 'say' to all users to current number of entities detected (score nld.entitys nld.data?) ?
1
06/24/2020 3:37 am
Level 40 : Master Modder
2mal3
Right. In nld.entitys under nld.data, it stores how many entities there are in the world, except those in the entity tag ignore.
To tell this number to all players you can use the command: /tellraw @a {"score":{"name": "nld.entitys", "objective": "nld.data"}}, or something similar.
1
07/07/2020 9:15 pm
Level 1 : New Miner
generrosity
Thanks - that worked a treat.

I think I'm starting to understand why this "can break farms" - there isn't any way to filter Zombies that are nametagged (I suppose its blacklisting of entities vs whitelisting of zombies-called-zombie with tags which is hard). Might downgrade to Lite.

Also my players freaked out with the bright red text! So feedback we tweaked it to itallic gray, and included 'No Lag Datapack' at the end, and removed the 50/25/10/5/3/2% warnings as it was epically chatty.

Good stuff! But heading to Lite.
1
07/08/2020 6:36 am
Level 40 : Master Modder
2mal3
I'm glad you like it. The whitelist thing is a good idea. I put it in the latest update. Now you can rename entities to ignore, and they won't be deleted and disabled if they are too far away.
2
06/16/2020 6:36 pmhistory
Level 1 : New Miner
Ezero2
Can I enable mob collition in the config?
Can I make exceptions? because I have villager npcs that I need them to keep the noAI enabled but when I get too far away they regain their AI, I need to tag my npcs with the tag=global.ignore?

Can I enable the collitions deleting the teams? with the function clear_team?
2
06/17/2020 5:07 am
Level 40 : Master Modder
2mal3
In the datapack under data > nld > tags > entity_types > ignore.json you can set the creatures that should be ignored by the whole datapack. Alternatively you can give individual creatures the tag global.ignore.
At no_collision.json you can set which creatures should not repel each other.
2
06/11/2020 4:41 pm
Level 1 : New Miner
generrosity
Appologies - any details on what 'certain actions are performed' are? I imagine its more aggressive lag hitting, wondering as its one of the only differences to 'lite version' but not articulated
2
06/12/2020 8:25 am
Level 40 : Master Modder
2mal3
Currently, there is only one measure. If there are over 500 entitys (not including armor stands, lorries, item frames ec.) in the world, the mob spawning will be deactivated.
But the real focus is that you can easily add methods yourself. You can customize these in the config file, which is located in the datapack folder under data > nld > functions > config.mcfunction. In this file you can change the methods in the lower section.
If you like I can also explain them to you.

The No Lag Datapack Light has two functions less than the No Lag Datapack. One is to turn off the entities if they are too far away from the player, and the other is to take action if there are too many entities.
2
06/17/2020 9:28 pm
Level 1 : New Miner
generrosity
Excellent! That is some nice crunchy details, and well worth putting into the description that it by default stops spawning - awesome!

Yes - the "Measures for too much lag" section is very interesting and I can understand how and what it does, but without knowing much MC-Function language its hard to add anything. Or should I say, is there anything that you've heard people commonly add? I wonder if CaveBiomes datapack has a scoreboard to delay how often it runs for instance

I know it says 'fulled customizable', could I suggest a Installation step "4: Customize if required in data/nld/functions/config.mcfunction"
2
06/08/2020 10:06 am
Level 1 : New Miner
User3074000G
Is it possible to turn off earlier destruction of items? Thank you in advance! I play on version 1.15.2
2
06/08/2020 10:39 am
Level 40 : Master Modder
2mal3
You have to go into the datapack ordener and then open the file config.mcfunction under data > ndd > functions. Then cange on line 27 under the commend: # Time after the items despawn in ticks to the number to the desired despawn time. The time is given in ticks (20 ticks correspond to 1 second).
1
06/08/2020 11:05 am
Level 1 : New Miner
User3074000G
Thanks!))
1
06/06/2020 10:00 pm
Level 1 : New Miner
Daemon35
how i reset mobs IA help please when i install it mobs dont move say me the command for quit it
1
06/07/2020 5:16 amhistory
Level 40 : Master Modder
2mal3
To uninstall you must execute the following commands:
  • /scoreboard objectives remove nld.data
  • /scoreboard objectives remove nld.xp
  • /team remove nld.no_collision
  • /gamerule maxEntityCramming 24
  • /execute as @e[tag=nld.NoAI] run data merge entity @s {NoAI:0b}
Then delete the datapack folder.
Do you use the 1.13 or 1.14? Then the reason is that the datapack does not work in 1.13 and 1.14, sorry for the wrong information.
2
06/07/2020 11:14 amhistory
Level 1 : New Miner
Daemon35
i use 1.15.2 thanks for fix it but some command quit mobs IA PD:sorry if im speaking bad is because im spanish and google translator have some problems
1
06/06/2020 2:17 pmhistory
Level 1 : New Miner
Daemon35
now the mobs dont have IA ( i quit datapack in folder and nothing happen idk how uninstall this (i enter into /function nld:uninstall but when i click in 2 archives the computer says me in need something called mc.functions) i just delete it from datapack folder and mobs still quiet so i delete it from computer and nothing happen
1
06/07/2020 8:20 amhistory
Level 40 : Master Modder
2mal3
To uninstall you must execute the following commands:
  • /scoreboard objectives remove nld.data
  • /scoreboard objectives remove nld.xp
  • /team remove nld.no_collision
  • /gamerule maxEntityCramming 24
  • /execute as @e[​tag=nld.NoAI] run data merge entity @s {NoAI:0b}

Then delete the datapack folder.
Do you use the 1.13 or 1.14? Then the reason is that the datapack does not work in 1.13 and 1.14, sorry for the wrong information.
1
06/07/2020 11:17 am
Level 1 : New Miner
Daemon35
i use 1.15.2 thanks for fix it but some command quit mobs IA PD:sorry if im speaking bad is because im spanish and google translator have some problems PD:if im speaking bad is because im spanish and google translator have some problems
2
05/03/2020 4:07 am
Level 29 : Expert Procrastinator
oezingle
How does the far away mob thing work? Also, maybe armor stands could inherit the {Marker:1} tag if a player is far away?
2
05/03/2020 5:38 am
Level 40 : Master Modder
2mal3
I simply disable the AI on all entities that are out of range of the player.
1
06/06/2020 5:02 pm
Level 1 : New Miner
Daemon35
but when i go in a entitie dont happen nothing and still quit :( help
1
04/02/2020 7:00 pm
Level 11 : Journeyman Miner
ThaBoneCrusherr
This datapack does not seem to be working in snapshot 20w14a, or at least the xp combining isn't working
1
04/03/2020 5:05 am
Level 40 : Master Modder
2mal3
I haven't been able to reproduce this bug. The only thing that would slow down the xp combination is if you were using a lot of xp farms at the same time.
If the datapack still doesn't work, you can try uninstalling it with /function #nld:uninstall and then reinstall it.
1
04/09/2020 12:12 am
Level 11 : Journeyman Miner
ThaBoneCrusherr
Apparently CMD-Golem's datapack "Wither Soldier" interferes with it somehow, because without that pack enabled this one works fine and exp orbs combine. Strange.
5
03/15/2020 9:04 am
Level 48 : Master Cake
Ant_Redstone
A thing that I'd like to know is:

Can this datapack break other datapacks which uses entities?
2
03/16/2020 10:26 am
Level 40 : Master Modder
2mal3
In some cases, if a datapack entitis is used with the minecraft AI outside of the set deactivation range, errors may occur. To prevent this I have programmed the datapack to not affect the entitys that are important for datapacks.
2
03/16/2020 10:22 am
Level 44 : Master Dragonborn
Yolo4321
ProbabIy.
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome