一个用于 Fabric 和 Quilt 模组的通用实用工具、GUI 和配置库
功能包括:
-
owo-ui,一个功能齐全的声明式 UI 库,用于构建动态、美观的界面,并实现极快的开发速度
-
owo-config,基于 owo-ui 构建的内置可定制配置系统。它提供了与 Cloth Config 相似的大量功能,并在此基础上增加了许多新的便利性,例如服务器-客户端配置同步
-
一个全自动的 注册系统,设计为尽可能通用。对于基本注册表,其使用简单且无需冗长代码;而底层的 API 树灵活多变,也可用于多种自定义注册解决方案
-
物品组扩展,允许在模组所属的物品组内创建子标签页,以及提供其他多种功能,如自定义按钮、纹理和物品变体处理
-
一个功能齐全的 网络层,具备全自动序列化、确保客户端兼容性的握手机制,以及一种以与服务端无关的方式触发参数化粒子事件的内置解决方案
-
客户端粒子辅助工具,便于轻松组合多粒子效果
-
富文本翻译,允许你在语言文件中直接使用 Minecraft 的文本组件格式来提供带样式的文本,而无需编写任何代码
owo 主要通过以下两种方式进行文档记录:
- 整个代码库中都有丰富详细的 JavaDoc
- 在 处有一个维基,包含对 owo 大部分功能的深入解释和教程
A general utility, GUI and config library for modding on Fabric and Quilt
Features include:
-
owo-ui, a fully-featured declarative UI library for building dynamic, beautiful screens with blazingly fast development times
-
owo-config, a built-in, customizable configuration system built on top of owo-ui. It provides many of the same features as Cloth Config while many new conveniences, like server-client config synchronization, added on top
-
A fully automatic registration system that is designed to be as generic as possible. It is simple and non-verbose to use for basic registries, yet the underlying API tree is flexible and can also be used for many custom registration solutions
-
Item Group extensions which allow for sub-tabs inside your mod's group as well as a host of other features like custom buttons, textures and item variant handling
-
A fully-featured networking layer with fully automatic serialization, handshaking to ensure client compatibility and a built-in solution for triggering parametrized particle events in a side-agnostic manner
-
Client-sided particle helpers that allow for easily composing multi-particle effects
-
Rich text translations, allowing you to use Minecraft's text component format in your language files to provide styled text without any code
owo is documented in two main ways:
- There is rich, detailed JavaDoc throughout the entire codebase
- There is a wiki with in-depth explanations and tutorials for most of owo's features over at
评论 0
登录后参与评分
还没有评论,来抢沙发吧