跳到正文

Simple GUI API

作者:ProjectMichi

A client-side GUI library for ProjectMichi mods, providing settings tabs, controls, callbacks, translations, responsive layouts, themes, profiles, and key bindings.

收藏

介绍

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

Simple GUI API

Simple GUI API is a client-side library used by ProjectMichi mods to build in-game settings screens and controls. It provides configurable tabs, button and value entries, callbacks, translated labels, responsive layouts, theme settings, profiles, and key-binding registration. The library is a dependency; it does not add gameplay content by itself.

Installation

Install the loader and Minecraft version required by the consuming mod. Put Simple GUI API and that mod in the mods folder, together with the dependencies listed on the selected file. Universal releases also require MultiLoaderAPI. Use the file that matches your loader and game version.

Users

Settings are exposed by the mods that use this library. The GUI lets those mods display their own configurable values and actions. Supported features depend on the consuming mod.

Developers

The library provides Java definitions for tabs and entries, callbacks for value changes and actions, translation lookup, screen factories, and key-binding integration. The project maintains separate runtime implementations for the supported Minecraft APIs and loaders.

日本語

ProjectMichiのModで使用する、設定画面と各種入力部品のためのクライアント用ライブラリです。タブ、ボタン、設定値、変更時のコールバック、翻訳、画面サイズに応じたレイアウト、テーマ、プロファイル、キー設定の登録を提供します。単体でゲーム内容を追加するModではありません。依存先Modが指定するMinecraftバージョン・ローダー・必須依存関係に従って導入してください。

Documentation: https://docs.pjmichi.jp/

常见问题

Simple GUI API 支持哪些 Minecraft 版本?

Simple GUI API 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Simple GUI API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

ProjectMichi 的其他作品

查看全部 →