跳到正文

ducky lib

作者:cokie1479

A gui lib and editor used in my other mods, api docs curently in development

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

DuckyLib

A GUI lib with TOML-based layouts and an in-game editor.

What it adds

DuckyLib is a GUI framework i used in my mods. Design screens using TOML files or use the built-in visual editor.

Features

  • TOML-defined GUI layouts – Design screens declaratively without writing Java GUI code
  • Built-in widgets – Button, Label, TextField, Slider, Checkbox, Dropdown, Panel, ScrollPanel
  • Custom theme system – Hot-reloadable TOML themes for consistent styling across screens
  • In-game visual editor – Property panel and widget selector for live editing
  • Simple API – Load layouts and open screens with minimal code

Important Notes

  • This is a library mod. It provides no gameplay content on its own exept for the ui editor.
  • API documentation is currently in development.
  • Designed for use as a dependency in other Forge 1.20.1 mods.

常见问题

ducky lib 支持哪些 Minecraft 版本?

ducky lib 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

ducky lib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

cokie1479 的其他作品

查看全部 →