You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the way virtual components function (as the parent to the "extra data attached" components), virtual components break component layouts between 4.17 and 4.18 minimessage.
The example string <b><gradient:#E0721F:#f2d815:#D43232>A is emitted in the following components
The change is rather damaging as components are part of ItemStack equality checks, preventing e.g. stacking with stacks created under adventure 4.17.
Possible solutions
Either some very clever way to compact virtual components away in some code bit, however that would require extra overhead for every component, making it a bit less than ideal.
Expose a mini message configuration bit somewhere to simply not emit these. While they are certainly useful, most usecases on the platform end will not benefit from them as components are regularly converted/recreated.
The text was updated successfully, but these errors were encountered:
Due to the way virtual components function (as the parent to the "extra data attached" components), virtual components break component layouts between 4.17 and 4.18 minimessage.
The example string
<b><gradient:#E0721F:#f2d815:#D43232>A
is emitted in the following components4.17
4.18
The change is rather damaging as components are part of ItemStack equality checks, preventing e.g. stacking with stacks created under adventure 4.17.
Possible solutions
Either some very clever way to compact virtual components away in some code bit, however that would require extra overhead for every component, making it a bit less than ideal.
Expose a mini message configuration bit somewhere to simply not emit these. While they are certainly useful, most usecases on the platform end will not benefit from them as components are regularly converted/recreated.
The text was updated successfully, but these errors were encountered: