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
This commit was created on github.com and signed with GitHub’s verified signature.
Additions
Minecraft's ComponentTypes can now have both their codec and packet codec populated by calling .endec(...)
A new overload for CodecUtils.toEndec along with CodecUtils.toEndecWithRegistries allow creating endecs from both a codec and packetcodec (where the latter one uses a packetcodec of RegistryByteBuf)
The new Surface.panorama(...) allows using Minecraft's main menu panorama as an owo-ui surface
Sizing.Random
Changes
The OwoItemSettings-specific methods are now interface-injected onto all item settings and the previous class deprecated
EndecRecipeSerializer is no longer abstract, making subclassing unnecessary in most cases
Fixes
A number of changes were made to the endec library and owo's EdmOps to alleviate most (hopefully all) problems related to codec <-> endec interop when NBT is involved (Blodhgarm)
Wrapper item groups (which broke during the port 1.21) now work again
MinecraftEndecs.PACKET_BYTE_BUF no longer moves the reader index when encoding a buffer
A rare crash that could occur when causing input on a screen which failed loading its UI model has been fixed (#263, Zailer43)
Pressing ctrl+delete in a text field in owo-ui debug mode no longer crashes (#264, Zailer43)
Color.ofDye, which was improperly ported, now produces correct colors again (#273, Blodhgarm)
OverlayContainer no longer mounts its children incorrectly if it has a non-zero position (#278, kikugie)