promotional bannermobile promotional banner

oωo (owo-lib)

A general utility, GUI and config library for modding on Fabric and Quilt

File Details

owo-lib-0.12.10+1.21-sources.jar

  • B
  • Jun 15, 2024
  • 408.91 KB
  • 8
  • 1.21
  • Fabric + 1

File Name

owo-lib-0.12.10+1.21-sources.jar

Supported Versions

  • 1.21

Curse Maven Snippet

Fabric

modImplementation "curse.maven:owo-lib-532610:5432676"

Quilt

modImplementation "curse.maven:owo-lib-532610:5432676"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

This build is primary a port of 0.12.9 to 1.21. This mandated a few other changes:

Endec changes

The Endec API is no longer built into owo-lib. Instead, owo now uses and ships the standalone endec library. This entails four major changes:

  • Endecs for Minecraft's types are no longer found on BuiltInEndecs but instead on MinecraftEndecs
  • DFU interop (namely, converting between codecs and endecs) is now handled through CodecUtils.toCodec/toEndec and related functions
  • A number of package changes, primarly io.wispforest.owo.serialization -> io.wispforest.endec
  • All JSON-related implementations are now named after the JSON library they use. In consequence, the previous JsonSerializer is now GsonSerializer and so on

Further Fixes

  • EdmOps no longer uses null as its empty value, fixing a number of edge cases with particular types of DFU codecs when doing interop
  • owo's ScreenHandler extensions don't require a HandledScreen anymore and now also support other screens which implement ScreenHandlerProvider