Jason Penilla
0891cf604b
Update setup-gradle action
...
setup-gradle v4 validates the wrapper
2024-12-04 10:33:50 -07:00
Jason Penilla
606d8d99f8
Fix api build script deprecation
2024-12-03 20:50:18 -07:00
Jason Penilla
39ab1fb456
Always fork jvm for compile, even when using the Gradle runtime jvm
...
Fixes spurious build failures from OOM
2024-12-03 20:42:36 -07:00
Jason Penilla
8aed12873b
Update paperweight and Gradle wrapper
2024-12-03 20:28:39 -07:00
Jason Penilla
2b69f2bf9a
Use ConcurrentUtil from Paper repo
2024-12-03 20:04:41 -07:00
Jason Penilla
572fb23805
Update Moonrise
2024-12-03 15:26:43 -07:00
Jason Penilla
5a0e5546e6
Update DataConverter
2024-12-03 15:21:36 -07:00
Jason Penilla
5e0c01db49
Set java launcher for api generate task
2024-12-03 13:34:44 -07:00
Jason Penilla
41085fc8b9
Fix and optimize getChunkCount ( #11610 )
...
It was returning ticking chunk count instead of the intended full chunk count.
We can also directly use the size of the fullChunks collection instead of iterating all chunks.
2024-11-11 12:17:36 -07:00
Jason Penilla
13a6161350
Fix Entity#isTicking and update Paper entity command ( #11590 )
...
fixes #10299
2024-11-09 07:41:26 -07:00
Jason Penilla
ec53bd41e7
Allow using old ender pearl behavior & apply ender pearl exploit patch ( #11524 )
...
When enabled, ender pearls will not load chunks and will save to the world instead of the player.
Also changes the exploit config to be default false, as it only makes sense when legacy behavior is enabled.
2024-10-30 10:09:05 -07:00
Jason Penilla
6455fa4a8b
Avoid issues with certain tasks not processing during sleep ( #11526 )
2024-10-29 12:46:33 -07:00
Jason Penilla
32675c228d
Update Gradle wrapper to 8.10.2
2024-10-28 10:17:48 -07:00
Jason Penilla
c72370d2c0
Use declaration order for state holder property iteration
...
Mostly an aesthetic change for serialization, should not have any impact on performance or correctness.
2024-10-27 18:29:34 -07:00
Jason Penilla
8f7bce1e31
Execute spark tasks during tick sleep ( #11525 )
2024-10-27 14:00:06 -07:00
Jason Penilla
ad03975163
Fix unused parameter in PlayerList#remove
2024-10-27 12:09:27 -07:00
Jason Penilla
0360c9a5fa
Remove unnecessary AT
2024-10-27 11:26:21 -07:00
Jason Penilla
cfaa6f33b8
Apply watchdoge patches
2024-10-25 18:13:48 -07:00
Jason Penilla
9adbb0e5c1
Specify mainCapabilityAttribute for paper-api
2024-10-25 12:47:24 -07:00
Jason Penilla
35d43942e2
Update paperweight to 1.7.3 ( #11445 )
2024-09-28 08:03:58 -07:00
Jason Penilla
0b7b70d405
Fix PaperServerListPingEvent#getPlayerSample not being populated or used ( #11387 )
2024-09-10 10:52:30 -07:00
Jason Penilla
5b96be4ce6
Fixup porting issue in vanillaBiomeProvider impl ( #11185 )
2024-08-31 10:59:17 -07:00
Jason Penilla
86d0c737cc
Preserve command node when re-registering modern commands through old API ( #11184 )
...
* Preserve command node when re-registering modern commands through old API
* make fix more targeted
mainly because it didn't work for vanilla commands :)
2024-07-30 11:42:55 -07:00
Jason Penilla
301caeb6d0
Allow plugin aliases to override vanilla commands ( #11186 )
...
fixes #11035
2024-07-30 11:28:05 -07:00
Jason Penilla
2b8d0d6df8
Adjust done message again ( #11118 )
...
what paper now shows as level loading time is the time displayed by vanilla or spigot in the 'done' message
the time in the done message is now the actual time since the servers Main class was initialized
2024-07-19 12:36:09 -07:00
Jason Penilla
870239b8a4
Add total time to done message ( #11109 )
...
* Add total time to done message
Previously it would only show the world load time which is misleading
* Add comments
2024-07-18 15:33:14 -07:00
Jason Penilla
5cc2489fef
Prioritize vanilla commands in function parsing ( #11011 )
...
* Prioritize vanilla commands in function parsing
* Handle command blocks as well
2024-07-04 11:49:00 -07:00
Jason Penilla
2475b329fa
Add ticket for chunk load in isChunkGenerated
2024-06-18 21:15:20 -07:00
Jason Penilla
15c0e90d6e
Execute chunk tasks while waiting for chunk load in isChunkGenerated
...
this shouldn't be needed as we are requesting EMPTY status, however there is a deeper issue that we will just work around for now
fixes #10916
2024-06-18 21:04:13 -07:00
Jason Penilla
6ae5176a52
Add missing null check to getFullChunkIfLoaded
...
fixes #10915
2024-06-18 18:27:50 -07:00
Jason Penilla
acc349cf7d
Remove getUnloadingChunkHolder check
...
It always returns null now. So it could NPE and is not useful.
2024-06-18 12:51:40 -07:00
Jason Penilla
aaf37cb47d
Fix CraftWorld#isChunkGenerated
...
The upstream implementation is returning true for non-full chunks.
This fix is not ideal since the new chunk system doesn't have a region file/chunk status patch. May want to be revisited before a non-experimental release.
2024-06-18 12:44:07 -07:00
Jason Penilla
2e8cf94dd1
Update ChunkMap#distanceManager mapping patch
2024-06-16 14:50:57 -07:00
Jason Penilla
67537d99b4
Bump tiny-remapper to 0.10.3
...
Fixes warnings when using some java 21 features
2024-06-14 21:44:18 -07:00
Jason Penilla
0c4a531524
Update Gradle Wrapper to v8.8
2024-06-14 17:53:11 -07:00
Jason Penilla
0785c29a37
update some patches
2024-06-13 20:41:44 -07:00
Jason Penilla
ef45b03497
Use CommandSourceStack in AsyncPlayerSendCommandsEvent ( #10826 )
2024-05-30 11:32:43 -07:00
Jason Penilla
d644dfaa27
Allow using PluginLoader classpath API from Bukkit plugins ( #10758 )
...
Allows using the PluginLoader API without any of the other changes imposed by switching to a paper-plugin.yml.
Used by setting paper-plugin-loader in plugin.yml to the class name of your PluginLoader.
Also allows skipping the libraries field by setting paper-skip-libraries to true (by default both libraries and jars provided by the PluginLoader are added to the classpath).
2024-05-23 13:13:02 -07:00
Jason Penilla
cb60dbc9e3
Print CommandRegisteredEvent deprecation warnings again ( #10756 )
2024-05-23 10:44:45 -07:00
Jason Penilla
e71c77f5e9
Add a better warning message than "Server performance will be affected" for CommandRegisteredEvent use ( #10754 )
2024-05-20 11:15:21 -07:00
Jason Penilla
b7e944756d
Show stacktrace when modifyItemStack fails
2024-05-13 22:58:50 -07:00
Jason Penilla
9e0c66cd6c
Correctly copy alias requirements in command upgrader
...
Fixes NPE when converting namespaced commands.
Since the brigadier command api, more aliased commands
(namespaced variants) are registered in the vanilla dispatcher,
which made this issue more apparent.
2024-05-13 15:55:15 -07:00
Jason Penilla
f9008ceb01
Fix signed book page serialization ( #10696 )
2024-05-11 15:13:18 -07:00
Jason Penilla
8a5ea7e5cf
[ci skip] Fix paperclip PR label
2024-05-11 11:13:19 -07:00
Jason Penilla
71de67180a
Add conversion for summon command
2024-05-10 12:57:07 +02:00
Jason Penilla
c0abf0cfc9
Fix ping event always receiving protocol version 0 ( #10671 )
2024-05-07 05:24:45 -07:00
Jason Penilla
8712a1c838
Update paperweight to 1.6.3 ( #10626 )
2024-04-30 10:30:14 -07:00
Jason Penilla
ec006b59bb
Fix sealed package check in BytecodeModifyingURLClassLoader ( #10627 )
2024-04-30 01:21:16 -07:00
Jason Penilla
c82479dc52
Remap plugin libraries with namespace set to spigot ( #10610 )
...
* Remap plugin libraries with namespace set to spigot
* Remap plugin libraries with namespace set to spigot
2024-04-28 14:55:10 -07:00
Jason Penilla
32ad479664
Rewrite reflection in library loader jars ( #10608 )
...
* Rewrite reflection in library loader jars
* Address todos
2024-04-28 13:14:10 -07:00
Jason Penilla
0b9087f4b8
Only scan org.bukkit.craftbukkit.inventory in MetaHandledTagsTest
...
fixes tests OOMing
2024-04-27 18:25:15 -07:00
Jason Penilla
08a94f6ebd
bump paperweight to 1.6.2 to fix spurious build failure from scanJar OOM
2024-04-27 17:38:09 -07:00
Jason Penilla
a7e0798f78
Use JetBrains runtime for run tasks
...
allows for better runtime class redefinition
closes #10459
2024-04-27 17:27:32 -07:00
Jason Penilla
a43b4297ad
Bump tiny-remapper (real)
2024-04-27 16:26:28 -07:00
Jason Penilla
572748364c
Bump tiny-remapper
2024-04-27 16:26:03 -07:00
Jason Penilla
8c2f518abe
update paperweight to 1.6.1
2024-04-27 16:07:47 -07:00
Jason Penilla
ed3f76d3a5
remove funny diff
2024-04-27 14:11:35 -07:00
Jason Penilla
bf6862b141
Move cb version definition to gradle patch
2024-04-27 14:02:33 -07:00
Jason Penilla
e20beef9c7
Move obfhelper/stack deobf diff into original patch
2024-04-27 13:53:56 -07:00
Jason Penilla
9f60650248
Bump adventure ansi serializer
2024-04-27 13:31:37 -07:00
Jason Penilla
a97258b9ee
Start cleaning up plugin remapping patches
2024-04-27 13:27:01 -07:00
Jason Penilla
43b52c8d61
Unify plugin remapping debug flags
2024-04-27 11:41:56 -07:00
Jason Penilla
f6bd443ff2
Don't tell people to build the reobf jar
2024-04-26 18:05:17 -07:00
Jason Penilla
d93d74a7d5
Remove shadow from build classpath
...
it isn't used
2024-04-26 16:48:34 -07:00
Jason Penilla
23661b25f8
paperweight 1.6.0
2024-04-26 16:19:59 -07:00
Jason Penilla
8cb49c8d67
Update paper plugin check in PluginRemapper
2024-04-26 14:31:45 -07:00
Jason Penilla
6bfa9ce2b1
Update patched spigot decompiler to fix inconsistency based on processing order
2024-04-26 11:42:17 -07:00
Jason Penilla
898fa27a8f
plugin manager updates
2024-04-25 23:17:15 -07:00
Jason Penilla
e66d823dc3
hunk system fixes
2024-04-25 22:25:02 -07:00
Jason Penilla
3606096fbb
compile fixes
2024-04-25 21:27:19 -07:00
Jason Penilla
af2e3abf87
compile fixes
2024-04-25 20:15:07 -07:00
Jason Penilla
9c8593cb14
compile fixes
2024-04-25 19:54:07 -07:00
Jason Penilla
ce02863322
generator fix
2024-04-25 19:09:21 -07:00
Jason Penilla
2432de7be3
Replace VanillaGradle use and update generated API
2024-04-25 18:40:50 -07:00
Jason Penilla
09a83f66ee
compile fixes
2024-04-25 12:16:00 -07:00
Jason Penilla
0a19a66562
Fixes for cb pkg ver
2024-04-25 11:16:53 -07:00
Jason Penilla
21cf066afa
Remove patch renaming scripts
...
These are pretty specific to tasks that kenny and I were doing when they were written, no need to keep them around when they aren't useful for others.
2024-04-25 10:53:29 -07:00
Jason Penilla
0773a7aff5
compile fixes
2024-04-24 22:29:18 -07:00
Jason Penilla
c3eb1935c1
compile fixes
2024-04-24 22:16:04 -07:00
Jason Penilla
72936860a1
compile fixes
2024-04-24 21:38:28 -07:00
Jason Penilla
1db3411c0e
compile fixes
...
compile fixes
compile fixes
2024-04-24 20:40:32 -07:00
Jason Penilla
f70bbeeac6
some work on adventure
2024-04-24 18:10:18 -07:00
Jason Penilla
960e8f1ad8
adventure 4.17.0-SNAPSHOT
2024-04-24 17:46:57 -07:00
Jason Penilla
03152bc733
Drop conduit api patch (upstream implemented same api with same method signatures)
2024-04-24 17:40:30 -07:00
Jason Penilla
faad8cbd62
Apply more API-implementing patches
2024-04-24 17:36:24 -07:00
Jason Penilla
16579c63d9
Update reflection rewriter to 0.0.1 release
2024-04-24 15:02:37 -07:00
Jason Penilla
f2519808c9
694
2024-04-24 11:03:59 -07:00
Jason Penilla
4a43daa012
683
2024-04-24 10:59:51 -07:00
Jason Penilla
c7f0919c43
Check for existing am session before running continueServerUpdate
2024-04-24 10:48:00 -07:00
Jason Penilla
d527aa0f5b
Fix api compile
2024-04-23 14:47:29 -07:00
Jason Penilla
faac14cc4c
Set mercury sourceCompat
2024-04-23 14:43:32 -07:00
Jason Penilla
178efa2903
Don't use defaultToolchain method for run tasks
2024-04-23 14:39:36 -07:00
Jason Penilla
8004d7f08a
41
2024-04-23 14:31:37 -07:00
Jason Penilla
17a9cefe8e
Fix continueServerUpdate with 2-line subjects
2024-04-23 14:26:28 -07:00
Jason Penilla
fbe7d95d0f
33
2024-04-23 14:12:24 -07:00
Jason Penilla
040ea261c7
Apply timings
2024-04-23 14:04:59 -07:00
Jason Penilla
67e8e37fe3
Apply shadow removal patch
2024-04-23 13:41:25 -07:00
Jason Penilla
5c78ce1a3a
Fix reflection diff and order wrt commodore diff
2024-04-23 13:36:31 -07:00
Jason Penilla
a616fad617
Add plugin remapping patches
2024-04-23 11:44:28 -07:00
Jason Penilla
6773af584a
Move logging patches after adventure
2024-04-23 11:21:16 -07:00