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

Support Sponge Schematic v3 #2776

Merged
merged 46 commits into from
Jul 13, 2024
Merged

Support Sponge Schematic v3 #2776

merged 46 commits into from
Jul 13, 2024

Conversation

PierreSchwang
Copy link
Member

@PierreSchwang PierreSchwang commented Jun 11, 2024

Overview

WorldEdit's new default schematic is v3 of sponge - the rise of named schematics requires FAWE to follow up.

Description

  • Adds upstream classes and schematic reader/writer.
  • Adds FAWE-specific optimized writers / (readers?)
    • Writer is faster, especially on larger regions
      • For 300mil blocks WorldEdit's implementation takes about 41s whereas the fast implementation takes about 15s

Submitter Checklist

Preview Give feedback

octylFractal and others added 11 commits June 9, 2024 17:28
Includes a major refactoring of how schematics are read.

(cherry picked from commit bd475b1d4acbcf2a95e5a8f3aee50d2fb2100ae8)
(cherry picked from commit a5ce8a47657aa987da8ca625cd658856d2eb3477)
(cherry picked from commit e1892b7bd4ff0ca4592f8cb4e1b2d9363c4cd6ff)
(cherry picked from commit 2f6b50a4276b33b615d9dbc52e73e958308735f9)
@github-actions github-actions bot added the Feature This PR adds a new feature label Jun 11, 2024
Copy link

Please take a moment and address the merge conflicts of your pull request. Thanks!

# Conflicts:
#	worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/sponge/SpongeSchematicV2Writer.java
@dordsor21 dordsor21 linked an issue Jun 14, 2024 that may be closed by this pull request
2 tasks
Copy link

Please take a moment and address the merge conflicts of your pull request. Thanks!

1 similar comment
Copy link

Please take a moment and address the merge conflicts of your pull request. Thanks!

@PierreSchwang PierreSchwang requested a review from dordsor21 June 30, 2024 17:03
@dordsor21 dordsor21 requested a review from a team June 30, 2024 18:51
PierreSchwang and others added 2 commits July 5, 2024 20:07
…t/clipboard/io/FastSchematicWriterV3.java

Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
@PierreSchwang PierreSchwang requested a review from SirYwell July 5, 2024 18:07
@NotMyFault NotMyFault added Major feature This PR adds a major feature and removed Feature This PR adds a new feature labels Jul 6, 2024
@dordsor21 dordsor21 merged commit 1ec87e7 into main Jul 13, 2024
11 checks passed
@dordsor21 dordsor21 deleted the feat/spongeSchemV3 branch July 13, 2024 12:30
@itsme-to
Copy link

Hey it's make error in loading a lot of schematic, It's don't support well schematic made in v2.

https://paste.itsme.to/toxitefuga.sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Major feature This PR adds a major feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for sponge schematic v3
6 participants