Skip to content

Conversation

@MrSlimeDiamond
Copy link
Contributor

SpongeAPI | Sponge

This adds ClientCompletionTypes.REMAINING_JOINED_STRINGS for value parsers.

So now custom value parsers, returning custom types, can take a joined string of inputs.

In value parsers:

@Override
public List<ClientCompletionType> clientCompletionType() {
    return List.of(ClientCompletionTypes.REMAINING_JOINED_STRINGS.get());
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants