Skip to content

[BUG] Discarded entities are stranded in EntityTickList and keep ticking #200

Description

@lnminh1411

🐛 Describe the bug

A clear and concise description of what the bug is.
After a discarded entity is removed from the world, it can remain in EntityTickList
and continue to tick indefinitely. It is absent from EntityLookup, so command
selectors and /kill cannot see or remove it, but it still runs its tick logic and
still collides with players.
My own experience: XP orbs de-synced, leading to an untracked XP orb exist in the ticklist, but not anywhere in the world -> infinite XP

Note: Disabling Async from config fixes this.

📋 Steps to reproduce*

  1. Run a mob farm that produces and collects a high volume of experience orbs.
  2. Stand where orbs are collected. Eventually a collected orb strands.
  3. Confirm the state: XP and Mending continue with no mobs alive, while
    /kill @e[type=minecraft:experience_orb] reports nothing.
  4. Re-enter the world and the effect is gone.

✅ Expected behavior

What did you expect to happen?

  • XP orbs are cleared, no XP dupes

❌ Actual behavior

What actually happened?

  • XP dupes infinitely, Mending works too, but nothing is there, /kill or /data finds nothing

🖥️ Environment

  • 🔧 Async version: Async 0.2.0+alpha
  • 🎮 Minecraft enviroment (Client or Server): Singleplayer (Potentially server-sided)
  • 🎮 Minecraft version: 1.21.1
  • ⚙️ Modloader & version: NeoForge
  • 📦 Other mods installed: A lot (see attached logs)

📜 Logs

Please attach your latest.log or crash report if available.
2026-09-03-1.log.gz
2026-09-03-2.log.gz
2026-09-03-3.log.gz
2026-09-03-4.log.gz
2026-09-03-5.log.gz
2026-09-03-6.log.gz
2026-09-03-7.log.gz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

T: BugFixType: Bug and/or bug fixes.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions