KyoriPowered / adventure

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

Be more agressive with virtual components when compacting #883

Open zml2008 opened 1 year ago

zml2008 commented 1 year ago

Right now, compaction entirely ignores virtual components -- but this tends to produce overly bulky components when combined with MiniMessage's gradient/rainbow functionality. We can probably cull more layers of nesting in there, but that's too finnicky of a change to sneak in before release.