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

Handle `type` field for components #1008

Open zml2008 opened 6 months ago

zml2008 commented 6 months ago

Components support a type field starting in 1.20.3, which explicitly specifies the component type rather than relying on structural typing. For now it can be ignored without issue, but we should be able to optionally emit it for vanilla parity, and if they start wanting it later on.