Add support for spigot components #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TurtleException/FancyFormat!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/spigot-components"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since serialization & deserialization of Minecraft JSON text is not fully supported by spigot's API (e.g. Unable to parse
TextComponents without a text tag), this library should optionally support parsing a FormatText directly toBaseComponents.The implementation proposed by this pr is not flawless. Currently, all formats that are nested in a JSON-style don't allow multiple attributes to be parsed into one element. This should be fixed regardless of this specific feature, so for now the implementation follows the example set by other formats.