imgui-quilt/README.md
2023-06-19 11:00:09 -04:00

999 B

imgui-quilt

Quilt interface for imgui-java, an updated version of imgui-mc.

ImGui Demo Window Running in Minecraft

Quick Usage

Add the Maven repository and the modImplementation to your build.gradle

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

You can then add Renderables to ImGuiQuilt.renderstack for them to be rendered.

Use ImGui methods in render() of the Renderables interface.

Example:

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");
    }
});