Skip to content

feat: add methods for appending player heads and sprites in SurfCompo…#282

Merged
twisti-dev merged 4 commits into
version/1.21.11from
feat/more-minimessage-in-component-builder
Apr 4, 2026
Merged

feat: add methods for appending player heads and sprites in SurfCompo…#282
twisti-dev merged 4 commits into
version/1.21.11from
feat/more-minimessage-in-component-builder

Conversation

@TheBjoRedCraft

Copy link
Copy Markdown
Member

…nentBuilder

@TheBjoRedCraft TheBjoRedCraft self-assigned this Apr 4, 2026
Copilot AI review requested due to automatic review settings April 4, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds new convenience APIs to SurfComponentBuilder to append player heads/sprites and to create hover text via the builder DSL, extending the core messaging builder surface.

Changes:

  • Add appendPlayerHead(...) overloads (String/UUID) and appendSprite(...) overloads.
  • Add a hoverEvent { ... } DSL overload for hover text content.
  • Bump project version and update Kotlin ABI API dump.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/messages/builder/SurfComponentBuilder.kt Adds new builder convenience methods for heads/sprites and hover events.
surf-api-core/surf-api-core-api/api/surf-api-core-api.api Updates ABI dump to reflect new public API methods.
gradle.properties Bumps library version to 1.21.11-2.77.0.

@twisti-dev twisti-dev enabled auto-merge April 4, 2026 15:02
@twisti-dev twisti-dev added this pull request to the merge queue Apr 4, 2026
@twisti-dev twisti-dev removed this pull request from the merge queue due to a manual request Apr 4, 2026
@twisti-dev twisti-dev added this pull request to the merge queue Apr 4, 2026
@twisti-dev twisti-dev removed this pull request from the merge queue due to a manual request Apr 4, 2026
@twisti-dev twisti-dev added this pull request to the merge queue Apr 4, 2026
@twisti-dev twisti-dev removed this pull request from the merge queue due to a manual request Apr 4, 2026
@twisti-dev twisti-dev merged commit 30a1ed4 into version/1.21.11 Apr 4, 2026
4 checks passed
@twisti-dev twisti-dev deleted the feat/more-minimessage-in-component-builder branch April 4, 2026 15:31
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.

3 participants