imgui-quilt

模组

· 作者 uwueviee

Quilted ImGui,基于 imgui-java 的 Minecraft Quilt 版 ImGui

0 本站下载 0 关注 更新于 3 年前
一键开服(送7天)

imgui-quilt

imgui-java 的 Quilt 接口,是 imgui-mc 的更新版本。

ImGui Demo Window Running in Minecraft

快速使用

在 build.gradle 中添加 Maven 仓库和 modImplementation:

maven {
    url "https://git.gaycatgirl.sex/api/v4/projects/21/packages/maven"
}
implementation "gay.eviee:imgui-quilt:<VERSION>"

然后你可以将 Renderables 添加到 ImGuiQuilt.renderstack 以进行渲染。

在 Renderables 接口的 render() 方法中使用 ImGui 方法。

示例:

ImGuiQuilt.renderstack.add(new Renderable() {
    @Override
    public String getName() {
        return "Profiling Name";
    }

    @Override
    public Theme getTheme() {
        return null;
    }

    @Override
    public void render() {
        ImGui.text("Example Text Element");
    }
});

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源