Skip to content

Add Text Components API#57

Open
SpaceWalkerRS wants to merge 1 commit intogen2from
text-components
Open

Add Text Components API#57
SpaceWalkerRS wants to merge 1 commit intogen2from
text-components

Conversation

@SpaceWalkerRS
Copy link
Member

This API will provide a stable alternative to Vanilla's chat component system as introduced in 1.7.

these are most of the elements modders will interact with - still missing is
- json serdes
- interoperability with vanilla (conversion between vanilla Text, and methods for e.g. rendering OSL components)
@SpaceWalkerRS SpaceWalkerRS added the enhancement New feature or request label Feb 15, 2026
@SpaceWalkerRS
Copy link
Member Author

The work so far is based on the chat component system from around 1.13-1.16. But it may be nice to port over some of the nice things that were added since.

There's no JSON serialization yet, and no MC implementation yet either. So these components aren't actually all that useful yet.

@lowercasebtw
Copy link

lowercasebtw commented Feb 15, 2026

Reminds me of https://modrinth.com/mod/textile-lib

It's a port of modern text component system down to 1.8+

@moehreag
Copy link
Member

A further consideration may also be the de-facto standard from plugin land: https://docs.papermc.io/adventure/text/

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