3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-17 08:30:04 +01:00
Commit graph

1471 Commits

Autor SHA1 Nachricht Datum
dordsor21
c44f736a96
Cleanup after merge 2024-11-16 11:36:49 +00:00
dordsor21
d2d8e7a932
Undo
Minecraft has a lot of different methods between private and public to determine if structures can be placed. We cannot possibly cover all of them whilst also ensuring issues do not arise with generic "true"s
2024-11-16 11:36:48 +00:00
dordsor21
f2f13f8c2f
Upstream changes, use correct list of cached block changes 2024-11-16 11:36:48 +00:00
dordsor21
5b77ef8547
Address vector deprecations 2024-11-16 11:36:48 +00:00
dordsor21
ab033fcd58
fix ext.fawe -> ext/fawe 2024-11-16 11:36:47 +00:00
dordsor21
61eb5ecb06
Update 1.20.3/4 adapters 2024-11-16 11:36:47 +00:00
dordsor21
7092209d38
bring more in line with upstream 2024-11-16 11:36:47 +00:00
dordsor21
2d2e152729
cleanup 2024-11-16 11:36:47 +00:00
dordsor21
2eb1455afe
FAWE-inate 2024-11-16 11:36:46 +00:00
Madeline Miller
f3b4152901
Add structure generator command
(cherry picked from commit 5ca80395a35100c2d7686ad8839baaa57f8db07c)
2024-11-16 11:36:46 +00:00
Maddy Miller
d07c6a6e03
Add a feature generator and allow undoing of feature placement (https://github.com/EngineHub/WorldEdit/pull/2239)
* Add a feature generator and allow undoing of feature placement [WIP]

Apply changes to Forge as well

Use proper translatable components

* Add a brush version of the feature command

Use Java proxy classes

* Add for Bukkit (only 1.19.3 for now)

Clean up the proxies to use a switch

Checkstyle is grumpy

Add the obfuscated versions

Remove debug text

Fix missed "destroyBlock" deobfuscated proxy function

* checkstyle
2024-11-16 11:36:46 +00:00
Jason Penilla
dcd6b93ebb
Build a Mojang mapped jar in addition to the reobf one, publish both to Modrinth with correct metadata (#2981) 2024-11-14 17:20:53 +01:00
Hannes Greule
e3fc35ce6d
Un-break for versions <1.21.3 (#2988)
* Use Bukkit Registry API where possible (#2573)

(cherry picked from commit 292dae65cb01929dc2158f09bdb19fdc82b3669f)

* compile against 1.21 instead of 1.21.3

* remove method

* Revert "Use Bukkit Registry API where possible (#2573)"

This reverts commit f260e19d29.

---------

Co-authored-by: Maddy Miller <mnmiller1@me.com>
2024-11-11 20:47:29 +00:00
renovate[bot]
8b18dbcdbd
Update dependency paperweight-userdev (#2986)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 01:25:50 +00:00
Pierre Maurice Schwang
ef8426473a
1.21.3 (#2974)
* feat: initial work on 1.21.3 adapter

* chore: method does not exist anymore

* cleanup, deduplicate, drop old versions from runServer task

* chore: apply deduplicated fields changes from PR

* chore: remove jetbrains annotations references

* chore: remove unsupported versions from modrinth release task

* chore: adjust mondrinth versions, update issue template
2024-11-10 18:13:16 +00:00
Jordan
eb0f07af81
feat: alter clipboard thread to move all clipboard loading from main thread (#2867) 2024-11-06 17:16:03 +00:00
Hannes Greule
bd94632c47
Deduplicate adapter fields into superclass (#2967)
Move common adapter fields into supertype
2024-11-04 11:21:14 +00:00
Alexander Brandes
f0af979f5f
Release 2.12.0
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-10-25 20:33:44 +02:00
renovate[bot]
5121bb8b99
Update dependency paperweight-userdev to v1.21.1-R0.1-20241021.162528-124 (#2957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-25 18:15:35 +00:00
Hannes Greule
3806a82f6f
Use data version provided by MC (#2955) 2024-10-21 18:16:41 +02:00
renovate[bot]
91bdd15c18
Update dependency paperweight-userdev to v1.21.1-R0.1-20241012.212042-119 (#2946)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 00:46:11 +00:00
renovate[bot]
b343be40c8
Update dependency paperweight-userdev to v1.21.1-R0.1-20241003.152200-116 (#2942)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 03:42:32 +00:00
renovate[bot]
7192e147d0
Update dependency paperweight-userdev to v1.21.1-R0.1-20240929.223546-111 (#2935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 01:32:16 +00:00
Jordan
631269cafe
fix: update to changes to spigot chunk future result (#2934) 2024-09-29 18:27:53 +01:00
Alexander Brandes
be32b2264a
Bundle dependency updates
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-09-29 15:20:31 +02:00
Jordan
b4635e85c9
fix: some improvements to GET chunk writing (#2853)
* fix: some improvements to GET chunk writing
 - ensure levelChunk is loaded before giving to copy GET - this is not necessarily guaranteed to be nonnull if two edits overlap. Whilst not advised, such an easy failure should not occur when two edits collide

* Prevent writing chunk sections when FAWE is also sending packets for a chunk and vice versa
- alter IntPair hashcode to be more often unique
- Utilise ConcurrentHashMap for free synchronisation

* Minor comment changes

* Use one-per-world-instance FaweBukkitWorld to store world chunk map
2024-09-25 18:20:49 +01:00
renovate[bot]
5ac60f0d2e
Update dependency paperweight-userdev (#2925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 03:11:40 +00:00
Hannes Greule
e8c7d67b5b
Fix regen on modern versions (#2881)
* work on regen

* simplify

* fix more regen

* cleanup, backport

* revert unneeded change
2024-09-14 10:48:59 +02:00
Hannes Greule
1e8778b528
Avoid deprecated CompoundTag in API (#2883)
* Avoid deprecated CompoundTag in API

* use javax annotations
2024-09-14 10:47:37 +02:00
Jordan
19370a3549
fix: account for spigot having private PalettedContainer#get(int) (#2910) 2024-09-14 10:47:07 +02:00
renovate[bot]
9cf79d0e3b
Update dependency paperweight-userdev to v1.21.1-R0.1-20240910.023150-72 (#2907)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 03:15:54 +00:00
Pierre Maurice Schwang
4b099d3588
fix(GriefDefender): invalidate mask on claim change (#2903) 2024-09-03 23:16:00 +02:00
Hannes Greule
378334bd75
Avoid map lookup in isMovementBlocker calls (#2906) 2024-09-03 21:39:32 +02:00
renovate[bot]
b4f4fc63b6
Update dependency paperweight-userdev to v1.21.1-R0.1-20240901.181116-54 (#2905)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 00:58:45 +00:00
renovate[bot]
75fb1cbee7
Update dependency paperweight-userdev (#2896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:42:43 +00:00
renovate[bot]
acbe2f476a
Update dependency paperweight-userdev to v1.21.1-R0.1-20240818.224341-32 (#2885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 00:48:19 +00:00
renovate[bot]
5b3291d7c2
Update dependency paperweight-userdev to v1.21.1-R0.1-20240811.223934-9 (#2879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 02:27:12 +00:00
Pierre Maurice Schwang
41d294e73b
Support 1.21.1 (#2877)
* chore: add support for 1.21.1

* chore: remove old chunk system references in 1.21 adapter (paper)

* chore: re-word exception message
2024-08-11 21:23:45 +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
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]
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
dordsor21
b511e878a4
chore: throw exception on 1.21 regen 2024-07-02 19:46:33 +01: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
d9e69cfd58
fix: do not bother with refraction for biomes/i field, this just fixes it now 2024-06-30 21:59:06 +02: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
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