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

57 Commits

Autor SHA1 Nachricht Datum
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
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
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
Hannes Greule
bd94632c47
Deduplicate adapter fields into superclass (#2967)
Move common adapter fields into supertype
2024-11-04 11:21:14 +00: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
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
378334bd75
Avoid map lookup in isMovementBlocker calls (#2906) 2024-09-03 21:39:32 +02:00
dordsor21
a14bb7ed2c
fix: remove synchronisation on chunk GET when sending packet 2024-07-02 18:51:11 +01: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
Jordan
705df34c12
fix: create new biome paletted container when writing (#2791)
- resizing a paletted container copy alters the original paletted container
 - copy is not clone
 - fixes #2790
2024-06-20 20:49:16 +02:00
dordsor21
49ac08d5b4
Revert "Remove self-refraction-check"
This reverts commit 2eb6b5a123.
2024-06-15 20:53:01 +01:00
Jordan
af83b2f9c9
fix: improve biome setting to avoid writing directly to chunk (#2757)
* fix: improve biome setting to avoid writing directly to chunk

 - Removes possibility of writing to the LevelChunkSection biomes PalettedContainer whilst it is being read for sending packets
 - I believe this occured mostly on clipboard operations where blocks are written before biomes, so chunks are being sent whilst writing biomes
 - This would explain why the error reported in the below issue (and others) is/was so rare
 - Of course I could be completely wrong about all of this, but given the line in LevelChunkSection#write that the error seems to consistently occur on is when writing biomes to the packet, and that the only place I can find in FAWE where we write to a "live" PalettedContainer is for biomes, I am reasonably confident that this is the cause
 - Should address #2729

* Remove self-refraction-check
2024-06-15 13:08:42 +02:00
Jordan
9843bb0188
chore: address deprecations from new records (#2768)
* Category should implement Keyed
2024-06-12 15:00:40 +02:00
Jordan
62297f9479
refactor: adjust chunk sending (#2770)
- synchronise on the chunk GET object (when available)
 - kick it off to be run at some point on the main server thread
2024-06-10 19:12:31 +01:00
renovate[bot]
e044b92d45 Update dependency paperweight-userdev 2024-06-03 03:37:08 +00:00
dordsor21
36d2c85fdb chore: address deprecations in vector classes 2024-05-31 18:52:49 +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
renovate[bot]
3c206f44a5 Update dependency paperweight-userdev to v1.20.4-R0.1-20240424.165410-174 2024-04-29 01:20:19 +00:00
renovate[bot]
3dfc4f8f79 Update dependency paperweight-userdev to v1.20.4-R0.1-20240420.200855-173 2024-04-20 21:36:28 +00:00
renovate[bot]
fdd6b86aeb Update dependency paperweight-userdev to v1.20.4-R0.1-20240420.181647-171 2024-04-20 18:59:41 +00:00
renovate[bot]
a383251596 Update dependency paperweight-userdev to v1.20.4-R0.1-20240420.033107-168 2024-04-20 05:15:50 +00:00
renovate[bot]
65fd331232 Update dependency paperweight-userdev to v1.20.4-R0.1-20240419.201130-167 2024-04-19 22:15:29 +00:00
renovate[bot]
7afebdbc61 Update dependency paperweight-userdev to v1.20.4-R0.1-20240416.195429-165 2024-04-16 22:33:23 +00:00
renovate[bot]
e426e7c8ee Update dependency paperweight-userdev to v1.20.4-R0.1-20240412.212303-164 2024-04-13 01:09:04 +00:00
renovate[bot]
ed38f96f92 Update dependency paperweight-userdev to v1.20.4-R0.1-20240412.201522-163 2024-04-12 21:24:02 +00:00
renovate[bot]
e76904f228 Update dependency paperweight-userdev to v1.20.4-R0.1-20240412.173131-159 2024-04-12 19:02:44 +00:00
renovate[bot]
fa6e924f56 Update dependency paperweight-userdev to v1.20.4-R0.1-20240408.052944-158 2024-04-08 08:10:31 +00:00
renovate[bot]
d16cb8eb91 Update dependency paperweight-userdev to v1.20.4-R0.1-20240407.005218-157 2024-04-07 03:19:22 +00:00
renovate[bot]
b4c3ec3a64 Update dependency paperweight-userdev to v1.20.4-R0.1-20240406.235646-156 2024-04-07 01:00:22 +00:00
renovate[bot]
606e07bfdf Update dependency paperweight-userdev to v1.20.4-R0.1-20240406.215857-153 2024-04-06 22:32:39 +00:00
renovate[bot]
58fd4ac288 Update dependency paperweight-userdev to v1.20.4-R0.1-20240405.071722-146 2024-04-05 11:12:23 +00:00
renovate[bot]
778c212e85 Update dependency paperweight-userdev to v1.20.4-R0.1-20240402.103709-145 2024-04-02 14:15:54 +00:00
renovate[bot]
b60a0c532c Update dependency paperweight-userdev to v1.20.4-R0.1-20240329.175742-144 2024-03-29 20:02:39 +00:00
renovate[bot]
c68544d66d Update dependency paperweight-userdev to v1.20.4-R0.1-20240325.123556-143 2024-03-25 12:57:48 +00:00
renovate[bot]
5e234a7003 Update dependency paperweight-userdev to v1.20.4-R0.1-20240323.213332-142 2024-03-23 22:02:11 +00:00
renovate[bot]
07011e2420 Update dependency paperweight-userdev to v1.20.4-R0.1-20240320.215354-140 2024-03-20 22:46:32 +00:00
renovate[bot]
63d5852b6c Update dependency paperweight-userdev to v1.20.4-R0.1-20240320.194253-137 2024-03-20 20:52:40 +00:00
renovate[bot]
36da507cf7 Update dependency paperweight-userdev to v1.20.4-R0.1-20240319.191757-136 2024-03-19 19:28:15 +00:00
Pierre Maurice Schwang
b93f01c5b3
Update paperweight 1.20.4 - isOpaque does not exist (anymore) (#2629)
* chore/fix: update paperweight 1.20.4 - isOpaque does not exist (anymore)

* chore: update paperweight yet again (i feel scammed)

* chore: missing invert of canOcclude in isTranslucent
2024-03-17 20:25:29 +01:00