Skip to content

Limit dont-save entity config to chunk serialization only#710

Open
XUANHLGG wants to merge 1 commit intoWinds-Studio:ver/1.21.4from
XUANHLGG:ver/1.21.4
Open

Limit dont-save entity config to chunk serialization only#710
XUANHLGG wants to merge 1 commit intoWinds-Studio:ver/1.21.4from
XUANHLGG:ver/1.21.4

Conversation

@XUANHLGG
Copy link
Copy Markdown

This option were meant to prevent falling blocks and primed TNT from being written to chunk entity data, but the old implementation applied them through shouldBeSaved(), which is also used during chunk unload. As a result, those entities could bypass the normal unload/remove path and remain in memory. This change limits the handling to saveEntityChunk0(), so falling blocks and primed TNT are still unloaded normally while remaining excluded from chunk saves.
#606

@Dreeam-qwq
Copy link
Copy Markdown
Member

Hi, looks like you linked a Leaf 1.21.4 issue. However, Leaf 1.21.4 is marked as unsupported and will not receive any updates. Can you replicate this issue on the latest Leaf 1.21.11?

@Dreeam-qwq Dreeam-qwq added unsupported version This Minecraft version is no longer being supported/maintained type: feature Pull request for adding new features labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Pull request for adding new features unsupported version This Minecraft version is no longer being supported/maintained

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants