Commit Graph

146 Commits

Author SHA1 Message Date
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
Pierre Maurice Schwang
ea6bbecc32
Track paperweight-userdev versions with renovate (#2548)
* fix: editorconfig file selectors

* chore/ci: add renovate checks for paperweight-userdev
2024-01-22 19:14:10 +01:00
Alexander Brandes
b3905c2a6d
Update Paperweight
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-01-07 20:53:32 +01:00
Alexander Brandes
4faf1ea6ec
Update paperweight 2023-12-22 18:11:37 +01:00
Alexander Brandes
026b2eca9c
Update Paperweight 2023-12-08 16:26:06 +01:00
Alexander Brandes
8496ddf5b8
Release 2.8.3 2023-12-08 07:37:23 +01: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
Alexander Brandes
b754bc01e2
Drop support for 1.16.5 and 1.17 (#2497)
Drop support for 1.16.5
2023-11-26 13:35:29 +01:00
Alexander Brandes
53ec728f97
Update paperweight adapters 2023-11-25 22:43:22 +01:00
Hannes Greule
c0a2eef648
Reuse generateTree code across versions (#2482) 2023-11-21 17:26:11 +00:00
Alexander Brandes
1f8976b20e
Update Paperweight 2023-10-31 21:23:47 +01:00
Hannes Greule
6bd1382872
Reuse starlight relighting code across versions (#2474) 2023-10-31 21:00:46 +01:00
Hannes Greule
256ef74452
Cleanup rawtypes warnings in relighting code (#2472)
remove unneeded generic type
2023-10-26 21:14:27 +02:00
dordsor21
0566bd359e
fix cursed 1.20.2 adapters
...what even how did this build??
2023-10-24 16:46:20 +01:00
Hannes Greule
6dfa7d1732
Fix chunkSource mappings on 1.19.4 (#2469)
fix chunkSource mappings on 1.19.4
2023-10-22 12:51:20 +02:00
Jordan
f5803a09f6
fix: vastly superier handling of queue chunks (#2461)
- remove ChunkHolder locking concept as this is no longer needed
 - previously we obtained the copy from chunk GET on finalize, meaning the copy could be replaced by a "newer" one (bad)
 - work around this issue by introducing concept of "unique" keys to map chunk GET copies to
 - correctly handle resetting of various chunk-related classes to actually allow pooling to work
 - remove chunks as they are submitted when flushing a SingleThreadQueueExtenting
2023-10-22 10:04:19 +00:00
Jordan
9489e5448f
fix: there is no need to synchronise chunk sending to the chunk GET instance (#2463) 2023-10-22 09:01:44 +02:00
Jordan
c6a9673b4b
fix: avoid tripping async catcher when getting entity from chunk (#2464) 2023-10-18 14:30:22 +01:00
Alexander Brandes
d0d97ce4ca
Update paperweight 2023-10-09 17:58:28 +02:00
Jordan
dccf82ab1b
fix: set villager offers temporarily to save NBT without sending event (#2357) 2023-10-02 20:36:21 +01:00
Alexander Brandes
45b60f4929
Add support for 1.20.2 (#2431)
* Update to 1.20.2

* Update paperweight

---------

Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
2023-09-29 20:00:58 +00:00
Alexander Brandes
7b0f1b3c5a
Update paperweight 2023-09-16 23:47:19 +02:00
Hannes Greule
f36c5d42c7
Avoid Unsafe usage where possible (#2403) 2023-09-09 16:07:37 +02:00
Hannes Greule
60a3994d62
Clean up some regen code (#2405) 2023-09-09 16:07:29 +02:00
Alexander Brandes
fe33be5795
Update userdev 2023-08-18 13:40:16 +02:00
Alexander Brandes
e81980651e
Cleanup dependencies 2023-08-09 20:52:18 +02:00
Jordan
b1e0ad4ef7
feat: re-submit chunk load request after 10s after checking world is loaded (#2339)
- #2332 makes it seem like paper forgets to load a chunk sometimes
 - resubmit chunk load request after a second to attempt to counter this
2023-07-15 16:41:04 +01:00
Jordan
d78092b4ca
fix: ensure chunk is loaded when getting entities (#2323) 2023-07-07 18:36:12 +02:00
dordsor21
a669be2041
fix #2319 2023-07-05 22:03:13 +01:00
Alexander Brandes
770bb0087a
Drop support for minor 1.19 versions (#2316)
* Drop support for minor 1.19 versions

* More work
2023-06-29 12:23:26 +02:00
dordsor21
135c77cfb5
chore: minor changes
- null check get tile in ThreadUnsafeCharBlocks
 - 0 to reserved ID
2023-06-18 15:03:51 +01:00
Alexander Brandes
7a7373fd3d
Update paperweight 2023-06-17 16:16:16 +02:00
Alexander Brandes
d9463ce8b5
Add support for 1.20.1 2023-06-12 16:36:06 +02:00
Hannes Greule
083f8a4dd8
Set proper field access and use mappings for entities on spigot (#2282)
set proper field access and use mappings
2023-06-10 22:47:22 +02:00
Alexander Brandes
e7876c4eba
Update to 1.20 (#2276)
* Towards 1.20

* Init bukkit

* Update YAML to 2.0

* Fixes for 1.20 adapters

* Update obfuscated field names

* Remove getHandle workaround

* entityManager is obfuscated

* Update paperweight

* [ci-skip] Add 1.20 to modrinth task

---------

Co-authored-by: Phillipp Glanz <p.glanz@madfix.me>
Co-authored-by: SirYwell <hannesgreule@outlook.de>
2023-06-09 12:53:42 +02:00
Hannes Greule
152d870cdb
Improve exception handling on adapter loading (#2277) 2023-06-08 08:24:44 +00:00
Jordan
5504811f11
chore: minor improvements to processing-related code (#2271) 2023-06-06 19:21:02 +02:00
Jordan
e9fed5a066
feat: improve error when loading biomes (#2241) 2023-06-04 18:50:08 +02:00
EpicPlayerA10
97d4244126
Fix BlockEntity#remove spigot mapping (#2264)
Fix spigot mapping
2023-06-04 13:14:50 +00:00
Alexander Brandes
c9a4a9c8b4
Update gradle to 8 (#2262)
* Update gradle to 8

* Update codeql.yml
2023-06-04 12:34:03 +02:00
Alexander Brandes
abe120291f
Release 2.6.1 2023-04-23 22:47:30 +02:00
Jordan
8cfb8cb322
chore: add chunk tickets to all chunks accessed (#2163)
- This isn't necessarily targeting any fix, but I think we should be ensuring a ticket is being added to chunks "access asynchronously", as done by the getChunkAtAsync method
2023-04-22 09:45:02 +00:00
Hannes Greule
05afaf00a9
Address incompatibilities after CraftChunk changes in spigot (#2179) 2023-04-21 23:21:50 +01:00
Alexander Brandes
2dc8f7bca9
Update paperweight version for 1.19.4 (#2166)
Update paperweight version
2023-04-07 15:11:12 +02:00
Alexander Brandes
efc917e6df
Add support for 1.19.4 (#2154)
* Add paper adapter for 1.19.4

* Add paper module for 1.19.4

* Port 1.19.3 to 1.19.4

* Switch to Paperweight release

* Update worldedit-bukkit/adapters/adapter-1_19_4/src/main/java/com/sk89q/worldedit/bukkit/adapter/ext/fawe/v1_19_R3/PaperweightAdapter.java

Co-authored-by: Antti Koponen <koponen942@outlook.com>

* Update worldedit-bukkit/adapters/adapter-1_19_4/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_19_R3/regen/PaperweightRegen.java

Co-authored-by: Antti Koponen <koponen942@outlook.com>

* Add 1.19.4 to release template

* Update refractions for regen support

* Bump paperweight

---------

Co-authored-by: TheMeinerLP <p.glanz@madfix.me>
Co-authored-by: Antti Koponen <koponen942@outlook.com>
2023-03-18 15:25:04 +01:00
Alexander Brandes
bfd919b3cb
Update paperweight 2023-03-07 15:39:22 +01:00
Alexander Brandes
b05e64a7ec
Fetch userdev plugin from plugin portal (#2136) 2023-03-07 15:35:33 +01:00
Alexander Brandes
a9ed8431cd
Use the connection field on 1.19->1.19.3 rather than networkManager 2022-12-27 14:05:41 +01:00
Alexander Brandes
b0ac500fa1
Bump paperweight 2022-12-13 22:52:30 +01:00
Alexander Brandes
f98e526fa0
Add support for 1.19.3 (#2042)
* 1.19.3

* More fixes

* fix: compile time issues for 1.19.3

* fix: new mappings and GeneratorStructureState

* Add 1.19.3 to release and issue template

* Update dependencies for 1.19.3

* Update worldedit-bukkit/adapters/adapter-1_19_3/build.gradle.kts

Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
2022-12-11 18:36:13 +01:00