Coder Social home page Coder Social logo

2mal3 / no-lag Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 4.0 293 KB

Destroys the lag in the minecraft world with over 6 different and adjustable methods.

License: GNU Lesser General Public License v3.0

Monkey C 98.13% M4 1.87%
datapack mc-build mcfunction minecraft optimisation

no-lag's People

Contributors

2mal3 avatar alextmjugador avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

no-lag's Issues

I have made an iron farm that keeps breaking.

The iron farm has a named pillager as the scaring element that has been killed by the no lag. I tried to add the pillager to the tags in the ignore.kill tag but it has not worked. is there a fix for this?

Markers being deleted

minecraft:marker entities are being deleted by this data pack, which breaks other data packs that use markers but don't follow any of the unofficial conventions for tagging them. It shouldn't be necessary to tag markers anyway since markers are used strictly for data packs and commands.

Items get deleted while lag clear

Hey there!

We installed the datapack on our 1.17 server. The problem we found is that items will get deleted when lag clear is executed. So after one of us died all of his item were deleted. I found that the item should get ignored by lag clear and just get deleted by custom item despawn, but we can't figure out why the items get deleted.

Is there by any chance to get help or a fix?

Greetings!

Use follow range to dynamic set freezing distance

Is your feature request related to a problem? Please describe.
Sometimes, the freezing distance < entity's follow range (Attribute minecraft:follow_range)

Describe the solution you'd like
Use attribute "minecraft:follow_range" to dynamic set freezing distance.

Describe alternatives you've considered
Examples:

execute store sucess score .temp0 nola.data store result score .temp1 nola.data run attribute @s generic.follow_range get
execute if score .temp0 nola.data matches 0 run function ... (*: no attribute, use default freezing distance)
execute if score .temp0 nola.data matches 1 run function ...
scoreboard players add .temp1 nola.data 16 (*: 1s loop may lose some distance)
execute if score .temp1 nola.data matches ..128 run function ... (*: all vanilla mobs' base attribute <100)
execute if score .temp1 nola.data matches 129.. run function ...
execute if score .temp1 nola.data matches ..64 run function ...
execute if score .temp1 nola.data matches 65.. run function ...

"(*:)" or "..." just some description.

Additional context
None.

Item frames

Item frames get deleted as an unneeded entity, but it is needed.

Confusing on which version to install

Found your data pack and thought it was really amazing!
I was wondering if it could be more organized on which version to download for because the zip files that you release are confusing because I don't know which version is the latest zip file.

Moded Minecarft Issues (Actually that's a general issue)

You've heard of the Ice and Fire mode. The mod that adds those huge dragons. I love watching dragons fly, but because of NoLag freezes all entities, it is possible to see dragons floating in the air. To prevent this, I have to turn off EntityFreezing, this time those stupid zombies are damaging the game's performance.

I have a suggestion to prevent this: Assigning a whitelist file inside the Datapack folder.

Ex picture (just in case):
example

No lag datapack is deleting create contraptions and super glue

Minecraft version

1.18.2

Datapack version

v3.0.2

Expected Behavior

I'm not sure if this datapack has special cases for mods, sorry if this might be more of a feature request than a bug, but I expect that create super glued blocks and contraptions should not be deleted

Actual Behavior

Create super glue and moving contraptions are sometimes deleted since they are treated as entities, and mostly happens when restarting the server. This could also be the reason why Create contraptions stop moving, tested with a bearing. This mod is great at reducing lag especially for forge servers, though I find this issue very annoying as although you can manually glue together the blocks again, the moving contraptions are instantly deleted and no way you can retrieve the blocks attached to them.

Reproduction Steps

(for superglue)

  1. Install the Create mod
  2. Use superglue by right clicking on a block then selecting outwards
  3. Confirm the superglue attachment by right clicking
  4. You should now see by holding the super glue you can see the colored green selection box
  5. Restart the server/world
  6. Equip the superglue and the selection box is gone and along with its functionality.
    Do a manual delete of entities if the glue selection box is still there

Additional information

No response

No lag datapack is deleting spark from Botania mods

Minecraft version

1.18.2

Datapack version

v3.0.2

Expected Behavior

Lag clear don't clear spark from Botania mod

Actual Behavior

Lag clear clear spark from Botania mod

Reproduction Steps

Playing with botania mod, put spark on mana pool, go somewhere far away the mana pool

Additional information

No response

Frozen entities after datapack deletion

Minecraft version

1.20.1

Datapack version

3.1.5

Expected Behavior

The entities shouldn't be frozen after deleting the datapack.

Actual Behavior

Some of the entities are now frozen and untouchable after deleting the datapack.

Reproduction Steps

  1. Leave far from a mob to be frozen by the datapack.

Additional information

Basically after deleting the datapack some of the entities that were far away from the base remained frozen and untouchable. I'm still not sure how did this happen.

Entity freeze wrecks farms and makes ancient cities a struggle to raid.

Minecraft version

23w13a (1.20)

Datapack version

v3.1.3

Expected Behavior

It should be possible to increase entity freezing distance to 128 blocks.
Wardens should be exempt from entity freeze.

Actual Behavior

"Entity freezing ✔
Freezing distance " cannot be inscreased further than 86 blocks.
This breaks all farms that utilise the 128 block mob spawn range

Enitity Freeze also freezes wardens when they should be exempt. Because of this unless the freeze distance is more than 64 blocks they usually do not despawn when you run away but stay there. This caused multiple nightmares while raiding ancient cities as multiple wardens were standing guard around certain areas becoming active again if you get closer then 64 or 42 blocks.

Reproduction Steps

Mobfarm:

  1. Build a mob farm and an afk spot 120 above.
  2. Stand on the afk spot for some time.
  3. Check the chests.
  4. No fruit.

Warden:

  1. Spawn a warden.
  2. Run away and stay away from it by more than 42/64/86 blocks depending on your entity freeze settings.
  3. It will freeze. be invincible to arrows and tridents. And will refuse to despawn.

Additional information

I love your no lag datapack. Hope you update it soon. Heads up. ヾ(•ω•`)o

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.