23 Commits

Author SHA1 Message Date
Nassim Jahnke
8ff94c6344
Update a bunch of dependencies
Either to match Vanilla or to update our own
2025-04-14 10:16:12 +02:00
Nassim Jahnke
f00727c57e
1.21.5
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev>
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com>
Co-authored-by: Warrior <50800980+Warriorrrr@users.noreply.github.com>
2025-04-12 17:27:00 +02:00
Bjarne Koll
0cf731589a
Bump to adventure 4.20.0 (#12391)
* Update adventure to 4.19.0

The update only includes a new configuration for MiniMessage,
specifically one to prevent it from emitting virtual components.
As virtual components break the generated component tree, items quickly
become unstackable with items generated before adventure 4.18.

Plugin developers may construct their own mini message instance which
will emit virtual components if they so choose.

* Bump to adventure 4.20.0
2025-04-07 13:29:57 +02:00
Jason Penilla
b6be7cd0ae
[ci skip] Move generated API sources to src/generated/java (#11977)
This removes a required patch set for forks.
2025-01-14 21:38:56 -07:00
Hannes Greule
daddcf6742
Fix JOML javadoc URL (#11883) 2025-01-02 08:15:47 +00:00
Jake Potrebic
d00344af65
update jb annotations to 26.0.1 (#11860) 2024-12-29 06:53:38 -08:00
Hannes Greule
287eb52fa4
Use hidden classes for event executors (#11848)
Static final MethodHandles perform similar to direct calls. Additionally,
hidden classes simplify logic around ClassLoaders as they can be defined
weakly coupled to their defining class loader. All variants of methods
(static, private, non-void) can be covered by this mechanism.
2024-12-29 00:11:09 +01:00
96DarkCode96
13c94e40ad
Updated adventure to 4.18.0 (#11809) 2024-12-27 22:04:17 +01:00
Nassim Jahnke
63c94c90d9
[ci skip] Comment out update tasks, update comments 2024-12-23 12:29:27 +01:00
Jake Potrebic
4c6ea8416b
move junit platform dep to -server and -api 2024-12-21 15:10:08 -08:00
Jason Penilla
a18b1b7ef1
Add capabilities for old API coordinates
This will cause Gradle to throw a selection error when for example paper-api and spigot-api are on the classpath. Users will need to add selection rules or excludes for certain transitive deps to solve this rather than build with a broken classpath.
2024-12-20 15:07:43 -08:00
Jake Potrebic
49f715fdda
update brig in the API and patch cleanup 2024-12-18 18:30:29 -08:00
Jason Penilla
ff75689b08
Adjust build for config cache compat 2024-12-12 11:36:57 +01:00
Owen1212055
69edd6d91f Brigadier based command API
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2022-08-01 22:50:29 -04:00
Minecrell
1caeaef01d Allow plugins to use SLF4J for logging
SLF4J is a commonly used abstraction for various logging frameworks
such as java.util.logging (JUL) or Log4j. Currently, plugins are
required to do all their logging using the provided JUL logger.
This is annoying for plugins that target multiple platforms or when
using libraries that log messages using SLF4J.

Expose SLF4J as optional logging API for plugins, so they can use
it without having to shade it in the plugin and going through
several layers of logging abstraction.
2017-09-21 16:33:12 +02:00
Owen1212055
23095683d0 Paper Plugins 2022-07-06 23:00:36 -04:00
Techcable
844bc6c46a Use ASM for event executors.
Uses method handles for private or static methods.
2016-03-03 13:20:33 -07:00
Riley Park
15081a5912 Adventure
Co-authored-by: zml <zml@stellardrift.ca>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
2021-01-29 17:21:55 +01:00
Aikar
8888031206 Add FastUtil to Bukkit
Doesn't expose to plugins, just allows Paper-API to use it for optimization
2016-04-01 00:02:47 -04:00
Jake Potrebic
4fd928df47 Code Generation
Currently includes generated key holder classes for types
used in the Registry Modification API
2023-05-26 18:14:44 -07:00
Shane Freeder
b42af839f3 Test changes
- Allow use of TYPE_USE annotations
- Ignore package-private methods for nullability annotations
- Add excludes for classes which don't pass
- Disable stupid BukkitMirrorTest
- configure mockito agent to address changes in newer java versions see https://openjdk.org/jeps/451

Co-authored-by: Riley Park <rileysebastianpark@gmail.com>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
2019-03-17 23:04:30 +00:00
Zach Brown
74b3d383cc Build system changes 2016-03-01 00:16:08 +01:00
Kyle Wood
136bc4ed8e Convert project to Gradle
The pom.xml file is deleted in this patch so the patch will fail to
apply if there are changes made to it from upstream - thus notifying us
that changes were made.
2020-12-10 20:50:33 -08:00