Commit Graph

6761 Commits

Author SHA1 Message Date
Jordan
fcbd346d8f
fix: do not StackOverflow when getting a section in FULL after awkward trim (#2863) 2024-08-07 07:56:33 +02:00
renovate[bot]
1a827fa8c1
Update dependency org.checkerframework:checker-qual to v3.46.0 (#2870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 04:02:17 +00:00
renovate[bot]
0c7104b45b
Update gradle/actions action to v4 (#2871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 04:02:00 +00:00
renovate[bot]
98c50cb719
Update dependency com.palmergames.bukkit.towny:towny to v0.100.3.11 (#2869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 01:11:47 +00:00
renovate[bot]
069fd88566
Update antlr4 to v4.13.2 (#2868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 01:11:19 +00:00
Jordan
f93ad596c6
fix: correctly resolve file if extension is given (#2857)
* fix: correctly resolve file if extension is given

* Adjust error if ClipboardFormats#findByFile null
2024-07-31 21:08:06 +02:00
renovate[bot]
638344d815
Update dependency com.palmergames.bukkit.towny:towny to v0.100.3.10 (#2860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 02:14:57 +00:00
dordsor21
0301fb0124
Revert "feat: improve fawe limits (#2773)"
This reverts commit 6052fc3128.
2024-07-28 18:36:04 +01:00
Jordan
d1f9d3d6d5
fix: improve FAWE stream history (#2844)
- reset "origin"/relative X/Z when larger than short min/max value so we do not write incorrect positions
 - history size can be larger than int max value
 - fixes #2583
2024-07-28 11:16:25 +02:00
Jordan
6052fc3128
feat: improve fawe limits (#2773)
- add FaweLimit implementations for increasing concurrency levels
 - allow FaweLimit to perform processing (and forcefully disable as required) to capture [tile] entities
 - Use `BlockVector3#set(Extent orDefault)` where appropriate to reduce block checks
 - fixes #2679
 - fixes #1874
2024-07-28 09:53:20 +02:00
Jordan
6fb0102e85
feat: add litematica error when failing to load schematic (#2850)
* feat: add litematica error when failing to load schematic

* Adjust
2024-07-27 10:34:25 +02:00
Jordan
dac7cdbe4b
chore: deprecate FaweApi#load for clipboards as it does not allow closing (#2852) 2024-07-27 10:34:10 +02:00
Jordan
8c3df59413
fix: improve schematic format selection (#2838)
- no longer allow selecting a format specifically because of the generic extension `.schem`
2024-07-25 21:05:16 +02:00
Jordan
ddacb976e4
fix: improve SchemGen, allow null mask (reordered command args) (#2817)
- fixes #2815
2024-07-23 19:53:12 +02:00
renovate[bot]
b5ff328218
Update dependency com.palmergames.bukkit.towny:towny to v0.100.3.9 (#2846)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 00:43:03 +00:00
renovate[bot]
f65801c5a4
Update dependency org.checkerframework:checker-qual to v3.45.0 (#2847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 00:42:51 +00:00
Jordan
01273e0ed7
fix: use new index calculations for BlockVectorSet remove (#2842)
- fixes #2841
2024-07-21 14:59:12 +02:00
Zeranny
d2033d49ca
Fix parseFromInput Method for Masks and Patterns When Called via API (#2839)
Explicitly Mask or Pattern in parseFromInput
2024-07-21 09:48:57 +02:00
Hannes Greule
2e1a8f9665
Compile with target java 21, remove unsupported MC versions (#2836)
* Compile with target java 21, remove unsupported MC versions

* update bug report template
2024-07-21 09:19:59 +02:00
dordsor21
561ef4afdd
chore: delegate to fast for checking if sponge schematic clipboard format 2024-07-17 20:45:20 +01:00
dordsor21
bf07548695
fix: add some file-extension bounds to schematic loading 2024-07-17 20:41:28 +01:00
dordsor21
b2f36facd8
fix: identify schematic format by file if not specified 2024-07-16 14:50:41 +01:00
renovate[bot]
d4dd3638ff
Update dependency gradle to v8.9 (#2834)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 01:00:58 +00:00
renovate[bot]
528d2632fa
Update dependency com.palmergames.bukkit.towny:towny to v0.100.3.7 (#2833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 00:56:55 +00:00
Pierre Maurice Schwang
1ec87e7092
Support Sponge Schematic v3 (#2776)
* Update to Sponge Schematic 3

Includes a major refactoring of how schematics are read.

(cherry picked from commit bd475b1d4acbcf2a95e5a8f3aee50d2fb2100ae8)

* Licenses lol

(cherry picked from commit a5ce8a47657aa987da8ca625cd658856d2eb3477)

* Fix imports

(cherry picked from commit e1892b7bd4ff0ca4592f8cb4e1b2d9363c4cd6ff)

* Update for final changes

(cherry picked from commit 2f6b50a4276b33b615d9dbc52e73e958308735f9)

* chore: ensure flushed clipboard in spongev2 writer

* feat: initial work on FastSchematicWriterV2

* fix: only write into palette once, write into data as varint

* chore: more work on FastSchematicWriterV3

* fix: make FastSchematicWriterV3 work

* fix/chore: write pos as doubles

* chore: start on reader (class exists at least)

* chore: replace while loop with simple if as char can be max 2 bytes

* chore/feat: more work on the fast v3 reader

* fix: offset must be inverted for origin

* chore: use the actual FileChannel for mark / reset (if present)

* chore: add null check again

* chore: buffer streams in isFormat check

* chore/feat: read schematic fully

* chore: don't hold a lazyreference (seems harder to gc with already computed value?)

* chore: remove debugs

* chore: optimize FastSchematicReaderV3

* chore: remove logger warn for now

* chore: constant not required anymore

* chore/feat: support non-file based inputstreams (using in memory LZ4 cache)

* chore: don't wrap streams unnecessary

* chore: cleanup

* chore: since comment for reader + writer

* chore: FAST_V3 not for testing anymore

* chore: update schematic and clipboard logic for linbus changes

* chore: undo format check on load

* fix: remove usages of old nbt types

* fix: use LinBus in FaweDelegateSchematicHandler

* fix: use ReaderUtil again

* chore: update supported schematic types for Arkitektonika

* chore: check for magic bytes in schematic (not tested yet)

* revert: magic bytes check

* fix: fix paletteAlreadyInitialized + biome placement on linear clipboards

* Update worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicWriterV3.java

---------

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
2024-07-13 14:30:34 +02:00
renovate[bot]
514da16d19
Update dependency com.palmergames.bukkit.towny:towny to v0.100.3.4 (#2829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 02:12:58 +00:00
renovate[bot]
1917406334
Update dependency paperweight-userdev to v1.20.6-R0.1-20240702.153951-123 (#2830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 02:12:18 +00:00
RadND
ef064cbccf
Add worldedit.tool.none to fawe.permpack.basic (#2827)
Add missing permission node in fawe.permpack.basic in bukkit

If node "fawe.permpack.basic" exist in other platform than bukkit,this minor bug would exist here too,but i lack the knowledge of finding it out.
2024-07-07 15:16:39 +02:00
dordsor21
5341b06813
Apply hack-fix for biomes to 1.20.6 as well 2024-07-05 17:20:13 +01:00
Jordan
8f353e8f0d
fix: clone polyhedral region last triangle too if present (#2807) 2024-07-05 15:05:55 +02:00
dordsor21
b511e878a4
chore: throw exception on 1.21 regen 2024-07-02 19:46:33 +01:00
Jordan
c3bb567ea7
fix: switch to 3d where 2d biomes still remain in a couple of places (#2816) 2024-07-02 20:34:11 +02:00
Hannes Greule
eedd8ee044
Use isMovementBlocker() instead of isSolid() in heightmap calculation (#2822) 2024-07-02 20:34:02 +02:00
dordsor21
75d9475cf7
Disable regen completely on 1.21 for now 2024-07-02 19:33:35 +01:00
dordsor21
a14bb7ed2c
fix: remove synchronisation on chunk GET when sending packet 2024-07-02 18:51:11 +01:00
Jordan
15c6027958
fix: override min/max pos methods from SimpleClipboard (#2803)
- fixes #2800
2024-07-01 16:19:28 +02:00
Jordan
d9e69cfd58
fix: do not bother with refraction for biomes/i field, this just fixes it now 2024-06-30 21:59:06 +02:00
Alexander Brandes
e3fde6cf82
Back to snapshot for development
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-06-30 11:27:51 +02:00
Alexander Brandes
c82ab99a22
Release 2.11.0
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-06-30 11:14:40 +02:00
renovate[bot]
04fb55d491
Update dependency gradle to v8.8 (#2812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 09:00:41 +00:00
renovate[bot]
e8d17fbcd9
Update dependency org.checkerframework:checker-qual to v3.44.0 (#2813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 08:55:04 +00:00
renovate[bot]
270e1a82a7
Update dependency org.enginehub.lin-bus:lin-bus-bom to v0.1.2 (#2810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 08:51:37 +00:00
renovate[bot]
1db7df2e2c
Update dependency com.palmergames.bukkit.towny:towny to v0.100.3.3 (#2809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 08:51:20 +00:00
renovate[bot]
4590dcb006
Update auto.value to v1.11.0 (#2811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 08:51:05 +00:00
Jordan
2ccfd50546
feat: implement 1.21 (#2808)
* feat: implement 1.21

* fix: adjust mojang mapped field name in ChunkMap

* Fix property cache

---------

Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
2024-06-30 10:40:13 +02:00
Jordan
ff04c93b48
feat: add option to prevent parsing legacy blocks to the FaweLimit (#2783)
- Closes #951
2024-06-28 21:46:51 +02:00
Jordan
4853a65e7c
feat: implement graceful world bounds check where appropriate (#2804)
- closes #2494
2024-06-28 21:46:30 +02:00
dordsor21
99a58f66cd
Fix property loading 2024-06-27 14:59:32 +01:00
Jordan
fee9029bf0
Add a BiomeCategories API (#2338) (#2777)
* Add a BiomeCategories API (#2338)

* Add a BiomeCategories API

* licenses

* Use a supplier to retain the lazy-load & dynamicness of the existing system, but still retaining the inversion of control that this PR was intended to provide

* Minor fawe adapter cleanup

* Actually add the new files?

* Fixes

---------

Co-authored-by: Maddy Miller <mnmiller1@me.com>
2024-06-27 15:15:14 +02:00
Jordan
ad5739e014
ref: switch from adventure NBT to LinBus (#2778)
* Switch from adventure NBT to LinBus

* Cleanup

* Clean

* Reimplement NumberTag behaviour

* Use 0.1.0 release

* Fix build, remove fawe tags

---------

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2024-06-26 21:55:47 +02:00