-
Notifications
You must be signed in to change notification settings - Fork 101
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
v12 SRF (per-chunk PDC support, no double-compression); fix bad bug causing chunks go poof. #91
Conversation
…ties and entities. Fix horrible bug which made chunks go poof.
Could Issue #5 be implemented with the custom chunk compound tags as well? 🤔 |
In the current implementation, your patch 0011 clashes with the already existing patch 0011-Make-SlimeWorld-a-PersistentDataHolder in the 1.20.4 version |
hm, that one ain't from 1.20.4, but from main. Gonna do a quick rebase! |
Done, thanks for the tip |
core/src/main/java/com/infernalsuite/aswm/serialization/anvil/AnvilWorldReader.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/infernalsuite/aswm/serialization/anvil/AnvilWorldReader.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/infernalsuite/aswm/serialization/slime/SlimeSerializer.java
Outdated
Show resolved
Hide resolved
...va/com/infernalsuite/aswm/serialization/slime/reader/impl/v12/v12SlimeWorldDeSerializer.java
Outdated
Show resolved
Hide resolved
...va/com/infernalsuite/aswm/serialization/slime/reader/impl/v12/v12SlimeWorldDeSerializer.java
Outdated
Show resolved
Hide resolved
...va/com/infernalsuite/aswm/serialization/slime/reader/impl/v12/v12SlimeWorldDeSerializer.java
Outdated
Show resolved
Hide resolved
patches/server/0012-Add-v12-chunk-pdc-and-extra-nbt.-Fix-double-compress.patch
Outdated
Show resolved
Hide resolved
patches/server/0012-Add-v12-chunk-pdc-and-extra-nbt.-Fix-double-compress.patch
Outdated
Show resolved
Hide resolved
…AnvilWorldReader.java Co-authored-by: Paul <Paul19988@users.noreply.github.com>
@Paul19988 @kyngs Ty for the var changes |
…ausing chunks go poof. (#91) * Add v12, chunk pdc and extra nbt. Fix double compression on tile entities and entities. Fix horrible bug which made chunks go poof. * Quick rebase on main * Fix entity loading bug. (Authored by @AverageGithub) * Fix entity loading bug. (Authored by @AverageGithub) * Fix a bug with the extra tag being empty. * Yeet debug logs * Fix crash. (Authored by @AverageGithub) * Update core/src/main/java/com/infernalsuite/aswm/serialization/anvil/AnvilWorldReader.java Co-authored-by: Paul <Paul19988@users.noreply.github.com> * Paul doesn't like var :( * Review changes --------- Co-authored-by: kyngs <kyngs@users.noreply.github.com> Co-authored-by: Paul <Paul19988@users.noreply.github.com>
…ausing chunks go poof. (InfernalSuite#91) * Add v12, chunk pdc and extra nbt. Fix double compression on tile entities and entities. Fix horrible bug which made chunks go poof. * Quick rebase on main * Fix entity loading bug. (Authored by @AverageGithub) * Fix entity loading bug. (Authored by @AverageGithub) * Fix a bug with the extra tag being empty. * Yeet debug logs * Fix crash. (Authored by @AverageGithub) * Update core/src/main/java/com/infernalsuite/aswm/serialization/anvil/AnvilWorldReader.java Co-authored-by: Paul <Paul19988@users.noreply.github.com> * Paul doesn't like var :( * Review changes --------- Co-authored-by: kyngs <kyngs@users.noreply.github.com> Co-authored-by: Paul <Paul19988@users.noreply.github.com>
This PR attempts to add per-chunk PDC support.
To test this functionality, one can use the plugin I've coded for this https://github.com/kyngs/ASP-PDCTest/tree/pr90
@ComputerNerd100 raised concerns about how I wrap NMSChunk around the original SlimeChunk, so please review that.
This is a bigger PR, so there may be some bugs, I've done a lot of testing tho.
Hopefully I didn't forget anything.