Skip to content
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

feat: SignedGreedyStringParser #50

Merged
merged 6 commits into from
Mar 13, 2024
Merged

feat: SignedGreedyStringParser #50

merged 6 commits into from
Mar 13, 2024

Conversation

jpenilla
Copy link
Member

@jpenilla jpenilla commented Mar 12, 2024

New component org.incendo:cloud-minecraft-signed-arguments:

Implements a SignedGreedyStringParser for use in Minecraft environments. We use Adventure as the abstraction for SignedMessage, so users will have to get Adventure on the classpath for this feature to work.

The parser and Brigadier mappings are registered using the new contributor service API.

Platform implementations are handled by locating the SignedStringMapper service.

New component org.incendo:cloud-paper-signed-arguments:

Implements SignedStringMapper for Paper 1.20+

Modded

Incendo/cloud-minecraft-modded#28

Still needs platform implementations of SignedStringMapper.

On Fabric/NeoForge this is simple, since we have access to game types.
For Paper, I have an implementation using `reflection-remapper`, so we need to decide whether we want to expose this dependency to all cloud-paper consumers.
@jpenilla jpenilla changed the title Initial signed arguments implementation feat: SignedGreedyStringParser Mar 13, 2024
@jpenilla jpenilla marked this pull request as ready for review March 13, 2024 21:10
@jpenilla jpenilla merged commit 1d50067 into master Mar 13, 2024
2 checks passed
@jpenilla jpenilla deleted the signed-arguments branch March 13, 2024 21:36
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.

1 participant