Skip to content

[Savestates] Store EntityAI in savestates#298

Draft
ScribbleTAS wants to merge 3 commits into
MinecraftTAS:develop-beta3from
ScribbleTAS:savestates/entity-ai
Draft

[Savestates] Store EntityAI in savestates#298
ScribbleTAS wants to merge 3 commits into
MinecraftTAS:develop-beta3from
ScribbleTAS:savestates/entity-ai

Conversation

@ScribbleTAS

@ScribbleTAS ScribbleTAS commented Jul 12, 2026

Copy link
Copy Markdown
Member

A big problem for TASing in general is the fact that entity AI is not stored in the world files... All entities will reset once a world is loaded, which makes savestates around entities very inaccurate. So much so, that the EntityRNG will desync between savestates.

To fix this, I would need to write custom serialisation for ~60 different classes, each doing something slightly different...
Not fancying that, so instead I employed the help of everyones least favourite json library gson!

@github-project-automation github-project-automation Bot moved this to Todo in TASmod Jul 12, 2026
@ScribbleTAS ScribbleTAS self-assigned this Jul 12, 2026
@ScribbleTAS ScribbleTAS moved this from Todo to In Progress in TASmod Jul 12, 2026
@ScribbleTAS ScribbleTAS added this to the Beta3.0 milestone Jul 12, 2026
@ScribbleTAS ScribbleTAS linked an issue Jul 12, 2026 that may be closed by this pull request
@ScribbleTAS
ScribbleTAS force-pushed the savestates/entity-ai branch from ddae918 to 959c0fa Compare July 12, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Savestates don't carry over mob aggro

1 participant