Commit Graph

1966 Commits

Author SHA1 Message Date
9f72054795
Merge branch 'IntellectualSites:main' into main 2024-04-02 13:00:57 -05: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
26b1ceca58
Merge branch 'IntellectualSites:main' into main 2024-03-31 17:40:51 -05: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
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
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
ee7918043e Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2024-03-17 14:51:30 -05: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
2d0a3e6081
fix: do not error when attempting to parse "|" as a pattern (#2625) 2024-03-17 13:15:28 +01:00
c259540f86
Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2024-03-16 14:34:54 -05: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 5c257f60ea9ec002e407b2a4a8a7c6ede6bee5e7.

* Revert default swap and add deprecation note
2024-03-15 18:41:53 +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
f94b96d5b2
Use actual radius for inverse and adjust inside region check (#2582) 2024-02-18 09:55:06 +01:00
811ed72f64
Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2024-01-23 19:22:20 -06: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
Alexander Brandes
7b4b384df6
Update upstream 2024-01-06 10:53:53 +01:00
637dc2df15
Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2024-01-02 15:53:42 -06:00
Jordan
28ab5662fd
fix: correct the delegated methods in AbstractDelegateExtent (#2365)
- Not all methods should be overridden: we need to keep delegating-to-setblock methods in parent classes
2023-12-21 13:11:44 +00:00
Jordan
2f92626433
feat: add switch to allow removal of entities on paste (#2525)
- closes #2395
2023-12-18 15:33:02 +00:00
Jordan
f44b1b48c7
chore: add a more informative error when parsing block properties (#2524) 2023-12-18 14:58:53 +00:00
Jordan
d4b68b384b
fix: add chunk loc to tile entity location when trimming (#2500)
- fixes #2499
2023-12-12 08:00:40 +01:00
6c4d192aa9 Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2023-12-10 20:35:35 -06:00
Alexander Brandes
605743321f
Add support for 1.20.3 and 1.20.4 (#2512)
* 1.20.3

* 1.20.3 ItemTypes

* 1.20.3

* 1.20.3

* 1.20.4

* Fixup refractions

* Move adapters to _4
2023-12-08 07:30:08 +01:00
Jordan
6722d73c68
fix: fixed history rollback (#2367)
- Also go ahead and clean up other parts of this, with more appropriate operators used
 - Fixes #2366
2023-11-25 20:32:29 +00:00
dordsor21
a64d24c6cf
feat: more informative BoundedHeightMask error message 2023-11-18 15:02:02 +00:00
Hannes Greule
1a7f555add
Use FastSchematicReader by default (#2478) 2023-11-18 14:11:17 +00:00
6485772826
Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2023-11-13 19:15:11 -06:00
Hannes Greule
46dd71e807
Only unlock if previously locked (#2489) 2023-11-08 20:39:25 +00:00
Hannes Greule
462b078c2d
Support -n (select only) in //place (#2475) 2023-11-02 07:52:30 +01:00
Hannes Greule
b8434f891e
Reduce duplicated singleton objects (#2473) 2023-10-29 10:55:50 +01:00
Jordan
50cc9bc528
fix: clear player's history away from main thread if lock locked (#2457)
* fix: clear player's history away from main thread if lock locked
 - addresses crashing of #2448

* Correct lock usage

* remove possibility for race condition
2023-10-23 16:40:38 +02:00
6a5fe3191b Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2023-10-22 21:20:31 -05:00
Hannes Greule
9fff77c088
Avoid premature trimming in RegionIntersection (#2471)
avoid premature trimming
2023-10-22 16:29:38 +02:00
Zeranny
50ecc5908d
Fix "cleared" ellipsoid/cylinder regions still passing isDefined check (#2465) 2023-10-21 16:27:39 +01:00
opl-
aae9249014
Fix NullPointerException due to nullable source extent in ExtentEntityCopy (#2447)
Fix NullPointerException due to nullable source extent

Co-authored-by: opl <4833621+opl@users.noreply.github.com>
2023-10-07 20:16:21 +02:00
Jordan
971559ec23
feat: fake the copied biomes (#2359) 2023-10-04 09:39:14 +01:00
1a6b10c10f Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2023-09-27 15:25:07 -05:00
Alexander Brandes
319bc0a551
Fix left click on air being ignored and right click on block being handled twice 2023-09-16 23:44:14 +02:00
a5b969e1c5
Merge branch 'IntellectualSites:main' into main 2023-07-29 14:15:00 -05:00
Jordan
d42854845a
fix: disallowed regions can be length 0 (#2368) 2023-07-27 11:02:41 +02:00
9d489791ee
Merge https://github.com/IntellectualSites/FastAsyncWorldEdit 2023-07-22 13:27:54 -05:00
dordsor21
48be6ac94b
fix: processorExtent can be null when setting masks too
- fixes #2379
2023-07-22 17:44:05 +01:00
dordsor21
2f6de996e3
fix: processorExtent can be null in editsession
- fixes #2375
2023-07-22 13:14:01 +01:00
Alexander Brandes
37bfe426bc
Release 2.7.0 2023-07-22 12:27:54 +02:00
Jordan
9543adc776
Implement async notify queue that submits to a KeyQueuedExecutorService (#2334) 2023-07-20 17:58:01 +02:00
Jordan
18df87a4e8
feat: implement a new "type swap" pattern (#2346) 2023-07-20 17:57:48 +02:00