mobs doesn`t despawn in lazy chunks

Open
#14,492 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
43/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
backend

Research direction

Start by reading Paper's mob despawning and simulation distance handling; the issue does not name a file, class, or test, so first trace how entities in lazy chunks are processed. Reproduce with simulation distance 4 near a mushroom island and observe water creatures after 10 minutes. Done when mobs in lazy chunks despawn as expected without requiring a higher simulation distance.

Written by the indexing model from the issue text.

Description

status: needs triage
Expected behavior

despawn the mobs i gues.

Observed/Actual behavior

hey i have noticed weird bug with simulation-distance set to 4 mobs going to lazy chunks doesn`t despawn and they just become so many overtime when you stay in 1 area. i know i can set the server simulation-distance to 8 and that will fix the issue but then its becoming bigger problem the server starts to lag

Steps/models to reproduce

set the server to 4 stimulation-distance go to any mushroom island wait 10 minutes and u will see in the ocean alot of water creatures just becoming too many

Plugin and Datapack List

that doesn`t matter its not plugin related.

Paper version

26.3 build 251

Other

No response

Dominant language
Java
Stars
12.8k
Forks
3.6k
Avg merge
3d 7h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PaperMC/Paper

All issues in PaperMC/Paper

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.