Skip to content
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

Merged
merged 11 commits into from
Dec 30, 2023

Conversation

kyngs
Copy link
Member

@kyngs kyngs commented Dec 19, 2023

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.

@davidmayr
Copy link

Could Issue #5 be implemented with the custom chunk compound tags as well? 🤔

@FabulousCodingFox
Copy link

In the current implementation, your patch 0011 clashes with the already existing patch 0011-Make-SlimeWorld-a-PersistentDataHolder in the 1.20.4 version

@kyngs
Copy link
Member Author

kyngs commented Dec 22, 2023

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!

@kyngs
Copy link
Member Author

kyngs commented Dec 22, 2023

Done, thanks for the tip

kyngs and others added 3 commits December 30, 2023 14:34
…AnvilWorldReader.java

Co-authored-by: Paul <Paul19988@users.noreply.github.com>
@Paul19988 Paul19988 self-requested a review December 30, 2023 13:57
@ComputerNerd100
Copy link
Member

@Paul19988 @kyngs Ty for the var changes
Almost happy with this my end too
I'll update this to target develop shortly and then merge to there and we can get some snapshot releases out

@kyngs kyngs changed the base branch from main to develop December 30, 2023 16:21
@ComputerNerd100 ComputerNerd100 merged commit 0e2574b into InfernalSuite:develop Dec 30, 2023
ComputerNerd100 pushed a commit that referenced this pull request Jan 9, 2024
…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>
shoker537 pushed a commit to MinigamesNetwork/AdvancedSlimePufferfish that referenced this pull request May 18, 2024
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants