KyoriPowered / adventure

A user-interface library, formerly known as text, for Minecraft: Java Edition
https://docs.advntr.dev/
MIT License
679 stars 104 forks source link

feat(api): A feature flag system to handle version compatibility #1002

Closed zml2008 closed 6 months ago

zml2008 commented 6 months ago

This system allows us to tailor output for different game/protocol versions.

This will probably want to become its own submodule, or likely standalone project in order to be usable in adventure-nbt without a dependency on adventure-api.

The current state of things defines the bare minimum core of the system, with some example conversions in the Gson serializer.

Thing still left to consider: