Skip to content

Proper generic type for component streamcodec buffer - #1332

Merged
IridescentVoid merged 1 commit into
1.21from
fix-component-buffer
Oct 14, 2026
Merged

IridescentVoid merged 1 commit into
1.21from
fix-component-buffer

Conversation

@Robotgiggle

Copy link
Copy Markdown
Member

Allows image components to be specified with a StreamCodec that uses any subclass of ByteBuf, rather than specifically requiring one that uses RegistryFriendlyByteBuf. This allows defining components for a variety of simpler types that use FriendlyByteBuf or just plain ByteBuf in their stream codecs.

@github-project-automation github-project-automation Bot moved this to 📋 Backlog in Hex Casting Oct 14, 2026
@Robotgiggle Robotgiggle added optimization Improvement to existing features or performance (no new features or design work) api API-related enhancements/bugs/optimizations 1.21 labels Oct 14, 2026

@IridescentVoid IridescentVoid 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.

It compiles and the change looks simple enough.

@IridescentVoid
IridescentVoid added this pull request to the merge queue Oct 14, 2026
Merged via the queue into 1.21 with commit 7d5c157 Oct 14, 2026
9 checks passed
@IridescentVoid
IridescentVoid deleted the fix-component-buffer branch October 14, 2026 06:47
@github-project-automation github-project-automation Bot moved this from 📋 Backlog to ✅ Done in Hex Casting Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21 api API-related enhancements/bugs/optimizations optimization Improvement to existing features or performance (no new features or design work)

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants