Implement NestedArguments (#529)#613
Merged
JorelAli merged 16 commits intoCommandAPI:dev/devfrom Nov 20, 2024
Merged
Conversation
Contributor
Author
|
By the way, I'm not quite sure how to write javadoc for 'thenNested', can someone help me? |
Contributor
Author
|
Oh I found that I modified one space and used unnecessary parentheses in two places, I'll fix it |
JorelAli
reviewed
Nov 14, 2024
...dapi-bukkit-test-tests/src/test/java/dev/jorel/commandapi/test/CommandRegistrationTests.java
Outdated
Show resolved
Hide resolved
Contributor
Author
|
I've used some black magic for the implementation of the |
willkroboth
reviewed
Nov 17, 2024
commandapi-core/src/main/java/dev/jorel/commandapi/AbstractArgumentTree.java
Outdated
Show resolved
Hide resolved
commandapi-core/src/main/java/dev/jorel/commandapi/AbstractArgumentTree.java
Outdated
Show resolved
Hide resolved
…umentTree.java Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
willkroboth
reviewed
Nov 18, 2024
...in/commandapi-bukkit-kotlin/src/main/kotlin/dev/jorel/commandapi/kotlindsl/CommandTreeDSL.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: DerEchtePilz <[email protected]>
Contributor
Author
|
Thank you for your help! Hopefully there are no other issues xD |
willkroboth
approved these changes
Nov 19, 2024
...pi-bukkit-kotlin-test/src/test/kotlin/dev/jorel/commandapi/test/dsltests/CommandTreeTests.kt
Outdated
Show resolved
Hide resolved
Member
|
I'd really like to run some manual tests with this before merging but generally looks good. |
…commandapi-bukkit-kotlin-test/src/test/kotlin/dev/jorel/commandapi/test/dsltests/CommandTreeTests.kt Co-authored-by: willkroboth <[email protected]>
Contributor
Author
|
thanks for your help again! |
DerEchtePilz
approved these changes
Nov 20, 2024
JorelAli
approved these changes
Nov 20, 2024
Member
|
This looks good, thanks! |
Closed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implemented the feature in #529 with Kotlin DSL support and changed the method name to 'thenNested' as suggested in Discord
Usage:
Java:
Kotlin:
Kotlin DSL