Phoenix616 / MineDown

A MarkDown inspired markup library for Minecraft chat components
https://wiki.phoenix616.dev/library/minedown/
MIT License
296 stars 21 forks source link

Add support for Forge's ITextComponent #19

Closed nothendev closed 2 years ago

nothendev commented 2 years ago

Is your feature request related to a problem? Please describe.

There's no alternative to this library on Forge and this library doesn't support Forge (or just default minecraft text components)

Describe the solution you'd like

I'd want the library to have support for converting string text (with the same format as on other platforms) to Minecraft's ITextComponent

Describe alternatives you've considered

No alternatives

Additional context

None

Phoenix616 commented 2 years ago

Well I personally have zero experience with Forge so I am probably not going to implement this but I'm of course open for PRs.

Seeing as MineDown supports Adventure components though it might be better to just use/write an Adventure Forge adapter.

Current workaround would be to convert MineDown-generated components to json and then load them to Forge's implementation.