3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-10-02 03:40:06 +02:00
Commit graph

2670 Commits

Autor SHA1 Nachricht Datum
dordsor21
f5a45c278a
Utilise thread extends when able 2024-06-01 12:41:10 +01:00
dordsor21
101e9d6d91
Better chest handling 2024-06-01 12:10:11 +01:00
dordsor21
86440d957c
Minor adjustments 2024-06-01 09:26:17 +01:00
dordsor21
45aaade039
Minor refactor, add various javadocs 2024-05-31 20:42:07 +01:00
dordsor21
9fc0a456bf
Merge branch 'main' into feat/block-connections-updates 2024-05-31 18:00:43 +01:00
dordsor21
5da6c65df6 fix: use correct coordinates in BufferedPattern2D and NoiseFilter 2024-05-31 18:52:49 +02:00
dordsor21
36d2c85fdb chore: address deprecations in vector classes 2024-05-31 18:52:49 +02:00
dordsor21
74d4b57b4f
Add processing capability 2024-05-31 17:51:50 +01:00
dordsor21
6e4f8770b6
Add (untested) processing capability and second passes where appropriate 2024-05-27 17:54:36 +01:00
dordsor21
374e3baf16
set SETUP to true on setup 2024-05-26 17:43:56 +01:00
dordsor21
7b7b9d91ca
feat: implement command to fix block connections
- closes #313
2024-05-26 17:29:36 +01:00
Pierre Maurice Schwang
c77d34156b
Fix compatibility with WorldGuard (#2743)
* Make the Vector classes into Records (#2477)

* Make the Vector classes into Records

* Drop custom equals and hashCode methods in Vector/BlockVector classes

(cherry picked from commit 0df2b6af4c1ce18b77eedd5c62eeb45011512103)
Signed-off-by: Pierre Maurice Schwang <mail@pschwang.eu>

* chore: cleanup cherry-pick issues, migrate to new methods

* chore: add since attributes to deprecated tags, use MathMan instead of Math std lib for rounding ints

* chore: mark custom hashCode + equals implementations diffing from upstream

---------

Co-authored-by: Maddy Miller <mnmiller1@me.com>
2024-05-25 13:36:37 +02:00
Jordan
f9c523c173
feat: move limits for (brush, superpickaxe and normal) radii to fawe (#2635)
- closes #2587
2024-05-24 15:09:57 +02:00
Alexander Brandes
d8eb03f4c1
Release 2.10.0
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-05-19 17:31:14 +02:00
Hannes Greule
a353c12df0
Support for 1.20.5/6 (#2721)
* 1.20.6

Signed-off-by: Alexander Brandes <mc.cache@web.de>

* work

Signed-off-by: Alexander Brandes <mc.cache@web.de>

* More work

Signed-off-by: Alexander Brandes <mc.cache@web.de>

* chore: address more removed fields and methods, make it run

* chore: don't allocate unnecessary arrays (by maps)

* chore: the comment might still be noteworthy

* chore: no need to synchronize twice

* fix obfuscation changes

* remove unneeded deprecation

* make regen work without throwing exceptions - but slow

* fix: error when adapting BaseItemStacks without nbt

* fix annoying paper api breakage

---------

Signed-off-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
2024-05-19 13:32:18 +02:00
Jordan
c9b2f441c1
feat: only unstuck a player if configured to do so (#2723)
- also add unstuck to a couple of other commands
 - closes #2675
2024-05-14 21:30:34 +02:00
Jordan
1d9e8b60ab
fix: add missing blocktypes and some minor cleanup (#2722)
- fixes #2713
2024-05-12 11:05:00 +01:00
Hannes Greule
9bc09c6a4c
Integrate WE Schematic Share system (#2619)
* Integrate WE Schematic Share system

(cherry picked from commit 303f5a76b2df70d63480f2126c9ef4b228eb3c59)

* disable feature for now

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2024-05-12 09:41:48 +01:00
Jordan
debfabff08
feat: introduce migrating config nodes to new locations (#2642)
- Initial case of moving schematic limits from experimental to limits
 - Closes #2533
2024-05-01 17:31:06 +09:00
Pierre Maurice Schwang
a0ef151341
Fix heightmap brush with imgur images (#2680)
fix: heightmap brush with imgur / remote images
2024-04-12 20:55:40 +02:00
Alexander Brandes
5e10c98915
Release 2.9.2
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-04-04 21:56:07 +02:00
Alexander Brandes
af547e072c
List FAWE class additions in Javadocs (#2659)
* List FAWE class additions in Javadocs

Signed-off-by: Alexander Brandes <mc.cache@web.de>

* Update worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/package-info.java

---------

Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-04-01 12:34:19 +02:00
Jordan
23bcdb0409
fix: introduce approx size to patterns and use in ScatterBrush (#2631)
* fix: introduce approx size to patterns and use in ScatterBrush
 - fixes #2610

* Do not use patternsize in blockvectorset offset
2024-03-30 10:31:52 +01:00
dordsor21
c1c3a5f7ed
fix: git did not find conflict here, remove duplicate fork method 2024-03-27 16:32:11 +00:00
Hannes Greule
7b8c7894ba
Make usage of stateful patterns thread-safe (#2633)
* Make usage of No(Axis)Patterns thread-safe

* make more pattern usage thread-safe

* make more WE patterns thread safe

* remove StatefulPattern
2024-03-27 15:16:06 +01:00
Hannes Greule
8095111eff
Simplify processor ordering (#2651) 2024-03-27 15:15:42 +01:00
Hannes Greule
2dee197f2b
Use correct find class in ExtentTraverser (#2649)
use correct find class in ExtentTraverser
2024-03-24 18:02:16 +01:00
Zeranny
c10f58ac95
Fix Linear pattern index incrementing above array length (#2626)
* Fix index incrementing above array length in async

* Add fork method
2024-03-24 15:49:58 +01:00
Zeranny
9d20df9e6b
Fix queryRel returning data value for block at absolute coordinates (#2645)
* Replace toWorld with toWorldRel for relative data

* re-add accidentally deleted annotation
2024-03-23 20:26:13 +01:00
Pierre Maurice Schwang
68eb24a2f9
fix: imgur image resolution, image input stream reading (#2637) 2024-03-20 23:39:36 +01:00
Jordan
b512182e1f
feat: save region selector to session store (#2621)
* feat: save region selector to session store
 - closes #2397

* Move new gson adapters to FAWE packages
2024-03-17 20:25:43 +01:00
Jordan
d2ca3ed6fe
fix: better image reading errors (#2632)
- closes #2593
2024-03-17 20:25:09 +01:00
Hannes Greule
dc61efe11c
Implement linear patterns using RandomPattern + SimpleRandom (#2630) 2024-03-17 13:17:00 +01:00
Jordan
2d0a3e6081
fix: do not error when attempting to parse "|" as a pattern (#2625) 2024-03-17 13:15:28 +01:00
Alexander Brandes
0db8154546
Drop support for 1.17.1 (#2627)
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-03-17 08:37:03 +01:00
Jordan
f60539f41d
chore: deprecate transform extent for removal (#2623) 2024-03-16 20:12:02 +01:00
Zeranny
37d4e9bb6f
Allow factory suggestions to have parser context (#2613)
* Add context to rich parser

* Description for getSuggestions with context

* Tidy up imports

* Swap which getSuggestions is primary

* Revert "Swap which getSuggestions is primary"

This reverts commit 5c257f60ea.

* Revert default swap and add deprecation note
2024-03-15 18:41:53 +01:00
Hannes Greule
10dc64eeaf
Make sure to process all chunks in PQE even if PARALLEL_THREADS = 1 (#2611)
make sure to process all chunks in PQE even if PARALLEL_THREADS = 1
2024-03-15 18:41:16 +01:00
Jordan
8363badf80
fix: correctly (de)serialise ItemType (#2620)
- InternalId changes depending on ~~magic~~ so we should not store this value
 - fixes #2589
2024-03-15 18:39:35 +01:00
MineFact
df9527b0b7
fix: set and clone Expression Environment after Expression cloning (#2617)
- Fixes #2616
2024-03-15 11:27:25 +01:00
Jordan
facd31ce31
fix: do not forcefully direct to x,y,z methods in AbstractDelegateExtent (#2614)
- we probably shouldn't be doing this
2024-03-14 17:56:08 +01:00
Hannes Greule
641297497a
Maintain insertion order for RandomPattern sub-patterns (#2603) 2024-03-04 07:32:33 +01:00
Hannes Greule
164271374b
Decrease lock contention in SingleThreadQueueExtent (#2594)
* thread local extent

* avoid race conditions due to ChunkHolder pooling

* clean up JFR events, javadoc

* remove ThreadLocalPassthroughExtent
2024-03-04 07:31:56 +01:00
Hannes Greule
f5dfe3ae16
fix rollback database query (#2591) 2024-03-02 13:43:38 +01:00
Hannes Greule
f94b96d5b2
Use actual radius for inverse and adjust inside region check (#2582) 2024-02-18 09:55:06 +01:00
Alexander Brandes
974078c2cd
Release 2.9.2
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-02-06 21:45:25 +01:00
Jordan
a502287906
refactor: minor adjustments to error handling (ignoring) and blocking queue (#2566) 2024-02-02 18:07:13 +01:00
Jordan
033b8e35d2
fix: always set createCopy status on chunk get as chunks are cached (#2567)
- fixes #2539
2024-02-02 18:06:57 +01:00
Zeranny
763a497cdc
Fix out of bounds error for erode and pull brushes (#2554)
- Fixes #2380
2024-01-28 13:10:48 +01:00
Jordan
e815071134
fix: fix plot swap (#2360)
- deprecate and note for internal use only Clipboard#create as it's funky
 - fixes #2076
2024-01-21 12:42:24 +01:00