-
-
Notifications
You must be signed in to change notification settings - Fork 147
Adventure 5.0 #1253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kezz
wants to merge
90
commits into
main/4
Choose a base branch
from
main/5
base: main/4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Adventure 5.0 #1253
Changes from 15 commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
eeeceda
build: Bump Java version to 21, remove extra-kotlin module
kezz c4bb366
chore(key): Refactor module to remove deprecations and use modern lan…
kezz 88ce295
chore(text-logger-slf4j): Refactor module to use modern language feat…
kezz 1f6b3ec
chore(api): Initial refactor (minus `text` package) to remove depreca…
kezz d316898
chore(api): Further refactor (including `text` package) to remove dep…
kezz c5cf917
chore(nbt): modernize and remove deprecated methods
Strokkur424 06c9aab
chore(configurate-4): cleanup code
Strokkur424 77945eb
chore(minimessage): modernize some code
Strokkur424 6db88bb
chore(ansi): replace one switch expression
Strokkur424 1180f89
chore(serializer-gson): modernize gson serializer and remove legacy impl
Strokkur424 94f0baa
chore(serializer-json): cleanup and modernize json modules
Strokkur424 c6a1760
chore(serializer-legacy): cleanup and modernize code
Strokkur424 595494c
chore(serializer-plain): remove deprecated classes
Strokkur424 6087c88
feat: add module-info.java to all modules
Strokkur424 3a96711
chore: migrate to jspecify
Strokkur424 75e444a
chore(key): Remove examination and fix module exports
kezz 15fa91d
chore(nbt): Remove examination, fix module exports and record-ify eve…
kezz 20fc806
chore(api): Remove examination, fix module exports and a few other mi…
kezz 92ed914
chore(api): Fix checkstyle, build and further misc refactoring
kezz 2b13d04
chore(nbt): Fix checkstyle, build and further misc refactoring
kezz b9be3f3
chore(misc): Continue work on checkstyle, build, and misc refactoring
kezz f9ffd75
chore(deps): Bump gradle to 9.1.0
kezz 2e1d3aa
chore(nbt): Disable pretty printing test
kezz c6d4f7a
chore(build): Run GHA on J21
zml2008 4536524
fix(api): Remove incorrect BossBar$Listener annotations
kezz 37a42fc
chore(api): Update since + nbt return type for toBuilder
kezz c87ac1f
fix(key): Move null/format checks into canonical constructors
kezz 103f493
feature(api): Use sealed subclass system for click event action
kezz ae3ad2a
docs(api): Add notes about sealed interfaces that may be added to at …
kezz b1e20d4
Update indra to 4.0.0-SNAPSHOT
jpenilla e897c5a
chore(deps): indra 4 release
zml2008 c072052
Merge pull request #1289 from KyoriPowered/indra-4
zml2008 33b42c9
chore(api): resolve some of the warnings and test compile errors
zml2008 af8d6e3
fix(api): Restore missing score component with obsolete annotation, a…
kezz ff3d190
chore(api): Fix checkstyle errors in ClickEventImpl
kezz aa9b36d
feature(minimessage): Migrate to modern language features and fix bui…
kezz 1cd9e60
chore(minimessage): Fix more checkstyle errors
kezz bf07237
feat!(text-logger-slf4j): Require slf4j2
zml2008 3a8960f
chore(api,legacy): Seal TextFormat and fix #1328
kezz d28658b
chore(ci): Update for org move
zml2008 5919781
chore(key): Fix remaining build warnings and move null-marking to pac…
kezz 772795b
fix: replace all module-level NullMarked with package-level ones
Strokkur424 e4f2a3d
Merge branch 'main/5' into chore/fix-nullability
Strokkur424 a981263
chore: annotated net.kyori.test package as NullMarked
Strokkur424 c9f1dd6
fix(api): start fixing api tests
Strokkur424 c8d181f
fix(api): score is no longer flattened, tests should reflect that
Strokkur424 46a28c5
fix: a bunch of compilation errors and failing tests
Strokkur424 1707398
chore: bump gson version and fix checkstyle errors
Strokkur424 33ee818
chore: minor changes
Strokkur424 d17e0d2
fix: set interpret default to false
Strokkur424 16f2eb2
Merge pull request #1333 from Strokkur424/chore/fix-nullability
kezz 1da5a5d
chore(api): Add scoped component toBuilder override and add some no-a…
kezz 1de29b3
fix(serializer-gson,serializer-configurate4): Fix remaining compile e…
kezz d77cad8
chore: fix remaining tests
Strokkur424 1dbd0e5
Merge pull request #1343 from Strokkur424/fix/tests
kezz b792d2e
chore(api): Restore NamedTextColor#toString behavior
kezz 14d614c
chore(api): Restore ClickEvent.Action#name
kezz eed34fe
chore(deps): Update guava monorepo to v33.5.0-jre
renovate[bot] 8b41dd8
chore(deps): Update dependency org.junit:junit-bom to v6
renovate[bot] cf2935c
feature(api): Make custom payload NBT optional
kezz e0d7175
feature(minimessage,serializer-gson): Correctly handle nullable custo…
kezz 508e4de
chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v12
renovate[bot] ceb5d3b
chore: Migrate to Java 9+ immutable collection methods
kezz f4ea904
Merge pull request #1345 from PaperMC/feature/optional-nbt-payload
kezz 48473fd
Merge pull request #1342 from PaperMC/renovate/major-junit-framework-…
kezz 15a3d6e
Merge pull request #1341 from PaperMC/renovate/major-checkstyle
kezz 1fbe17e
Merge pull request #1340 from PaperMC/renovate/guava-monorepo
kezz 501d686
fix(api): Unbound profileProperties Collection
kermandev e8d9d1d
Merge pull request #1337 from kermandev/fix/playerobject-bounds
kezz d4c8bcc
feature(api): Add BookLike interface
kezz b6bd83b
fix(api): Fix since tag for custom click events
kezz c8350b5
Merge pull request #1346 from PaperMC/feature/book-like
kezz da80796
fix(api): Unseal SignedMessage
kezz d20cc0f
feature(api): Make ChatType#key nullable, and remove Keyed implementa…
kezz 954e242
chore(api): Move more deprecations to obsolete annotations
kezz 14eddd1
chore(api): Refactor Index from interface to class
kezz 8ee34f4
chore(api): Refactor NamedTextColor from interface to class
kezz f7db98f
chore(api): Refactor HoverEvent (and subclasses) from interface to class
kezz e6c507c
chore(api): Refactor ClickEvent and Action from interface to class
kezz e9b561e
chore(api): Add missing style buildable extends
kezz e3b5f6a
chore(api): Remove UTF8ResourceBundleControl
kezz c904818
chore(deps): Update dependency com.diffplug.gradle:goomph to v4.4.1
renovate[bot] 4dcde42
chore(deps): Update dependency com.google.errorprone:error_prone_core…
renovate[bot] 2b14aab
chore(deps): Update gradle and github actions
renovate[bot] 0bb951f
bump ci-cookbook
zml2008 93696c3
Merge pull request #1258 from PaperMC/renovate/gradle-and-github-actions
zml2008 d002056
Merge pull request #1339 from PaperMC/renovate/error-prone-monorepo
zml2008 65a4cf0
Merge pull request #1338 from PaperMC/renovate/patch-release-dependen…
zml2008 aa74591
chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v12…
renovate[bot] 309154f
Merge pull request #1352 from PaperMC/renovate/checkstyle
zml2008 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| import org.jspecify.annotations.NullMarked; | ||
|
|
||
| /** | ||
| * Adventure: a serverside user interface library for Minecraft: Java Edition. | ||
| * | ||
| * <p>See the <a href="https://docs.papermc.io/adventure/">documentation</a> | ||
| * for usage and dependency information for this project and associated libraries.</p> | ||
| */ | ||
| @NullMarked | ||
| module net.kyori.adventure.api { | ||
| requires transitive net.kyori.adventure.key; | ||
| requires transitive static org.jspecify; | ||
|
|
||
| exports net.kyori.adventure; | ||
| exports net.kyori.adventure.audience; | ||
| exports net.kyori.adventure.bossbar; | ||
| exports net.kyori.adventure.builder; | ||
| exports net.kyori.adventure.chat; | ||
| exports net.kyori.adventure.dialog; | ||
| exports net.kyori.adventure.identity; | ||
| exports net.kyori.adventure.internal; | ||
| exports net.kyori.adventure.inventory; | ||
| exports net.kyori.adventure.nbt.api; | ||
| exports net.kyori.adventure.permission; | ||
| exports net.kyori.adventure.pointer; | ||
| exports net.kyori.adventure.resource; | ||
| exports net.kyori.adventure.sound; | ||
| exports net.kyori.adventure.text; | ||
| exports net.kyori.adventure.text.event; | ||
| exports net.kyori.adventure.text.flattener; | ||
| exports net.kyori.adventure.text.format; | ||
| exports net.kyori.adventure.text.object; | ||
| exports net.kyori.adventure.text.renderer; | ||
| exports net.kyori.adventure.text.serializer; | ||
| exports net.kyori.adventure.title; | ||
| exports net.kyori.adventure.translation; | ||
| exports net.kyori.adventure.util; | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.