Skip to content

Cloud v2 Implementation#199

Merged
4drian3d merged 5 commits intoMiniPlaceholders:mainfrom
Stampede2011:cloud2
Jul 24, 2024
Merged

Cloud v2 Implementation#199
4drian3d merged 5 commits intoMiniPlaceholders:mainfrom
Stampede2011:cloud2

Conversation

@Stampede2011
Copy link
Copy Markdown
Contributor

Migration to Cloud v2, though it seems like they only support Sponge API 7 at this time. May need to stall this PR until then

.apply(commandManager, AudienceProvider.nativeAudience());
MinecraftExceptionHandler.create(AudienceProvider.nativeAudience())
.defaultHandlers()
.decorator(component -> Component.text().append(TITLE).appendSpace().append(component).build());
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only thing missed here was registering the exception handler back to the command manager. Should be #registerTo(CommandManager) at the end of the chain there. Might need to play with generics on the create call to let it accept the manager.

@4drian3d 4drian3d added the enhancement New feature or request label Apr 13, 2024
Copy link
Copy Markdown
Member

@4drian3d 4drian3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing missing for me to merge this pull request is to do as requested here and maybe prevent cloud from being included in the sponge module until I have Sponge 8 support, but I could do that later

@4drian3d 4drian3d merged commit 0310f1a into MiniPlaceholders:main Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants