3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-29 02:21:06 +02:00
Commit graph

6774 Commits

Autor SHA1 Nachricht Datum
dordsor21
4b2f47e9f9
Cleanup after merge 2024-09-26 18:57:59 +01:00
dordsor21
ccdbad967a
Cleanup 2024-09-26 18:56:54 +01:00
dordsor21
340281a2a4
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-09-26 18:55:36 +01:00
dordsor21
7c1c92d6db
Upstream changes, use correct list of cached block changes 2024-09-26 18:53:56 +01:00
dordsor21
4906dfa347
Address vector deprecations 2024-09-26 18:04:17 +01:00
dordsor21
5f98cde0aa
fix ext.fawe -> ext/fawe 2024-09-26 18:01:55 +01:00
dordsor21
586fb3e354
Update 1.20.3/4 adapters 2024-09-26 18:01:53 +01:00
dordsor21
4be1f7e539
bring more in line with upstream 2024-09-26 17:54:37 +01:00
dordsor21
c12fa04955
cleanup 2024-09-25 18:53:44 +01:00
dordsor21
d66f5c82fb
FAWE-inate 2024-09-25 18:52:51 +01:00
Madeline Miller
e5e73c4723
Add structure generator command
(cherry picked from commit 5ca80395a35100c2d7686ad8839baaa57f8db07c)
2024-09-25 18:36:50 +01:00
Maddy Miller
17d7850cf3
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-09-25 18:36:00 +01: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
renovate[bot]
9ad6ff7753
Update plotsquared to v7.3.11 (#2926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 03:11:20 +00:00
renovate[bot]
f22f9abf49
Update dependency com.gradleup.shadow:shadow-gradle-plugin to v8.3.2 (#2923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 01:15:00 +00:00
renovate[bot]
24c2ef2321
Update dependency com.palmergames.bukkit.towny:towny to v0.100.4.3 (#2924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 01:14:22 +00:00
Tyler Resch
8e1922dfe7
fix: apply origin to sponge v3 schematics (#2909)
* fix(#2864)

* Cherry-picked EngineHub/WorldEdit@cfd9eea

Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>

* Allow metadata tags to be optional + default value for this.origin

Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>

* Correct depth to be default of `0`

Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>

---------

Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
2024-09-22 22:41:38 +02:00
Jordan
7daafa97f0
fix: adjust linked filter to be left-right and do not link to new forked instances (#2913)
* fix: adjust linked filter to be left-right and do not link to new forked instances
 - Assume that child filters know about their own forks
 - fixes #1874

* Remove appliesChunk|Layer for now
2024-09-21 00:10:39 +02:00
Jordan
393f80165c
fix: add timeout to reading history from exchanger (#2920) 2024-09-19 06:55:53 +02:00
Hannes Greule
7e75ce78ec
Fix tile copying (#2922) 2024-09-18 22:04:56 +01:00
Jordan
d9d5b7b488
feat: improve fawe limits (#2773) (#2858)
* 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

(cherry picked from commit 6052fc3128)

* fix: actually apply a filter if applied from a full region chunk section
 - cannot remember why I made this change in the first place in #2773 but this fixes edits having "empty middles"
 - doesn't seem to have broken anything in testing

* Reduce limit to always atomic
2024-09-17 16:52:46 +01:00
Hannes Greule
71b99f9b05
Revert history writing using LinBinaryIO (#2919) 2024-09-16 19:41:58 +01:00
renovate[bot]
789907e56b
Update dependency gradle to v8.10.1 (#2918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 04:04:37 +00:00
renovate[bot]
7010c8181f
Update dependency com.palmergames.bukkit.towny:towny to v0.100.4.1 (#2916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 00:47:02 +00:00
renovate[bot]
b5be1477a5
Update dependency com.gradleup.shadow:shadow-gradle-plugin to v8.3.1 (#2915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 00:46:47 +00:00
Alexander Brandes
c2496543bd
Update runServer task for 1.21.1
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-09-15 17:32:58 +02:00
Alexander Brandes
526f1f7b76
Back to snapshot for development
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-09-15 17:23:15 +02:00
Alexander Brandes
5ef7461b50
Release 2.11.2
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-09-15 17:20:01 +02:00
Hannes Greule
ea5589b1f0
Introduce basic support for Vector API (#2890)
* Introduce basic support for Vector API

* add modules to javadoc too

* add assumption comments
2024-09-15 17:00:56 +02:00
Jordan
49b063a187
fix: compound tags can be nullable when converting state to baseblock (#2914) 2024-09-15 17:00:17 +02:00
Alexander Brandes
f820cb2fb4
Update javadoc url of paper 1.21.1
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-09-15 14:34:04 +02: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
Hannes Greule
766a5d6da2
Faster undo operations (#2898) 2024-09-11 21:27:29 +01:00
Pierre Maurice Schwang
a1bea11c80
fix: allow webinterface schematic format to be detected (#2901)
* fix: allow webinterface schematic format to be detected

* chore: address review
2024-09-11 21:27:21 +01:00
Pierre Maurice Schwang
f771b0cf90
fix: don't process out of bound section while trimming Y sections (#2902)
* fix: don't process out of bound section while trimming Y sections

* fix: handle upper sections

* "fix" macos tests?

* cleanup imports

* update test case(s), fix upper bound(?)

* chore: simplify trim logic
2024-09-11 21:27:12 +01:00
Hannes Greule
5ac4d2fd5f
Replace usages and overrides of deprecated getSuggestions method (#2891) 2024-09-10 09:39:41 +01: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
renovate[bot]
14446bc853
Update plotsquared to v7.3.10 (#2908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 01:47:18 +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]
a369513684
Update dependency com.palmergames.bukkit.towny:towny to v0.100.3.13 (#2904)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 00:59:03 +00: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
Pierre Maurice Schwang
6a0b006da6
fix: hollow on large areas fails (#2900)
fix: determine BlockVector3Set by region size for recurse hollow
2024-09-01 11:25:54 +01:00
Pierre Maurice Schwang
f5f9ae6a85
Fix: Copy-Paste-Brush with falsy mask (#2899)
* fix: don't attempt to load all possible world chunks when copy pasta brush empty clipboard

* chore: move check into ResizableClipboardBuilder
2024-08-29 07:18:11 +02: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]
2a70622013
Update bstats to v3.0.3 (#2895)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:42:17 +00:00
Jordan
3b4e849276
chore: warn when both history db and delete disk on logout are enabled (#2824)
* chore: warn when both history db and delete disk on logout are enabled

* Improve message
2024-08-25 16:20:07 +02:00