Skip to content

feat(bedrock): add social, party, and Realm Hub support - #12

Closed
AlexProgrammerDE wants to merge 1 commit into
ViaVersionAddons:mainfrom
StackAnvil:stackanvil/north-star
Closed

AlexProgrammerDE wants to merge 1 commit into
ViaVersionAddons:mainfrom
StackAnvil:stackanvil/north-star

Conversation

@AlexProgrammerDE

@AlexProgrammerDE AlexProgrammerDE commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

Bring the Bedrock social and Realms integration into one upstream feature so its account flows and screens can be reviewed together. Add friend profiles, party chat and invitations, Realm Hub details, achievements, statistics, and the image loading used by those screens.

This adapts the work from viafabricplus-bedrock PR #7. Keep it as one feature patch because the screens share account and social services and should be promoted together.

Clear the friends screen's pending join state after handing off to the connection screen. A disconnect can return to that same screen, where the stale state otherwise keeps Join disabled.

Preserve the selected friend world during list refreshes so the Join action continues to target the item the player chose.

SignalR 9.0.4 depends on MessagePack 0.8.20, which embeds Jackson 2.9 jars. Use the current MessagePack adapter and align Jackson 2 before Fabric nests the dependencies. Jackson 3 hosts still load Jackson 2 annotations, so the old annotation jar can break their startup.

Compare list double clicks with Minecraft's named left mouse button. Minecraft 26.3 numbers it as 1, so a hardcoded zero silently disabled double-click activation in social lists and their downstream Realm and server browsers.

This is the first upstreamable change from StackAnvil's viafabricplus-bedrock patch stack. The PR branch contains this patch alone, based on upstream.

Background

The earlier integration was proposed in viafabricplus-bedrock PR #7. This patch carries that work forward for review against the current upstream base.

Testing

  • Build the mod and open the social, party, and Realm screens with a signed-in Bedrock account.
  • Exercise party invites and chat with another account.
  • Open a Realm, inspect its details, and check navigation back to the Realm list.

Minecraft 26.3 list input

The mapped Minecraft 26.3 client defines the left mouse button as 1. Its mouse handler passes that value to screen input. Shared action lists now compare double clicks with InputConstants.MOUSE_BUTTON_LEFT. The previous zero check prevented activation after a successful row click. This correction also applies to the downstream Realm and featured-server lists. The full fixture suite passes 403 tests across 81 suites; direct list double-click navigation has not been separately captured.

Upstream Gradle migration

The refreshed upstream base uses convention plugins, version catalogs, and the jarInJar configuration. This patch uses those conventions for its existing dependencies. The MinecraftAuth version remains 5.0.3-SNAPSHOT. Account, party, and Realm behavior is unchanged.

Bring the Bedrock social and Realms integration into one upstream feature so its account flows and screens can be reviewed together. Add friend profiles, party chat and invitations, Realm Hub details, achievements, statistics, and the image loading used by those screens.

This adapts the work from viafabricplus-bedrock PR ViaVersionAddons#7. Keep it as one feature patch because the screens share account and social services and should be promoted together.

Clear the friends screen's pending join state after handing off to the connection screen. A disconnect can return to that same screen, where the stale state otherwise keeps Join disabled.

Preserve the selected friend world during list refreshes so the Join action continues to target the item the player chose.

SignalR 9.0.4 depends on MessagePack 0.8.20, which embeds Jackson 2.9 jars. Use the current MessagePack adapter and align Jackson 2 before Fabric nests the dependencies. Jackson 3 hosts still load Jackson 2 annotations, so the old annotation jar can break their startup.

Compare list double clicks with Minecraft's named left mouse button. Minecraft 26.3 numbers it as 1, so a hardcoded zero silently disabled double-click activation in social lists and their downstream Realm and server browsers.
@Exterminate5573

Copy link
Copy Markdown
Collaborator

Bedrock parties and social features are new and not fully stable yet, we will not support them until they reach a more stable state.

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.

4 participants