Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server lag from EntitySpider.onUpdate #19178

Open
1 of 3 tasks
Ableytner opened this issue Feb 26, 2025 · 1 comment
Open
1 of 3 tasks

Server lag from EntitySpider.onUpdate #19178

Ableytner opened this issue Feb 26, 2025 · 1 comment
Labels
Bug: Minor Mod: Minecraft The famous game by Notch (is this a "mod?") Status: Ready for Developer Issue ready for a developer to pick up and implement

Comments

@Ableytner
Copy link
Contributor

Your GTNH Discord Username

Ableytner

Your Pack Version

nightly-881

Your Server

private server

Java Version

Java 21

Type of Server

Vanilla Forge

Your Expectation

Hostile entities shouldn't affect server performance too much

The Reality

EntitySpider.onUpdate uses ~10% of server tick time, despite me being in the personal dim without any enemies loaded / visible.

The only idea I have is that somehow claiming / loading chunks (in my case three chunks on Ganymede) spawned spiders and didn't unload them.

https://spark.lucko.me/tqo9ONzysW

Your Proposal

Possibly fix

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
@Ableytner Ableytner added Bug: Minor Status: Triage Issue awaiting triage. Remove once this issue is processed labels Feb 26, 2025
@Caedis
Copy link
Member

Caedis commented Feb 26, 2025

Something something minecraft AI bad
Image

@Ruling-0 Ruling-0 added Mod: Minecraft The famous game by Notch (is this a "mod?") Status: Ready for Developer Issue ready for a developer to pick up and implement and removed Status: Triage Issue awaiting triage. Remove once this issue is processed labels Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Minor Mod: Minecraft The famous game by Notch (is this a "mod?") Status: Ready for Developer Issue ready for a developer to pick up and implement
Projects
None yet
Development

No branches or pull requests

3 participants