DearImGui

⭐ — (1 endorsements) 📥 1,037 downloads 📌 v0.1.0+1.18.2-fabric 📅 7/3/2024
⚪ Last updated 2024

By deftu · decoration

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 7/2/2024 📅 Created: 7/3/2024
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.1% endorsement rate
  • 🏆 #154 of 257 decoration mods in this game by downloads

📋 About This Mod

# DearImGui for Minecraft A basic library mod giving developers the ability to use ImGui within Minecraft. --- (https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/cozy/social/discord-singular_64h.png)](https://s.deftu.dev/discord) (https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/cozy/donate/kofi-singular_64h.png)](https://s.deftu.dev/kofi) --- ## Usage ### Setup You need to add it as a dependency in your `build.gradle(.kts)` file. ```kotlin repositories { maven("https://maven.deftu.dev/snapshots") } dependencies { modImplementation("dev.deftu:dearimguimc-<MINECRAFTVERSION>-fabric:<VERSION>") } ``` Of course, replace `<MINECRAFTVERSION>` with the version of Minecraft you are developing for, and `<VERSION>` with the version of the library you want to use. ### Rendering To render for ImGui, you need to create your own `DearImGuiEntrypoint` and add it to your `fabric.mod.json` file, ```json { "entrypoints": { "imgui": } } ``` `DearImGuiEntrypoint` has two methods you can override - `createRenderer` and `render`. ```java public class ExampleDearImGuiEntrypoint implements DearImGuiEntrypoint { @Override public ImGuiRenderer createRenderer() { return new ExampleImGuiRenderer(); } @Override public void render() { // Render ImGui here } } ``` Both ultimately achieve the same goal, but `createRenderer` is more flexible and allows you to pass in additional parameters to your renderer. ### Example Rendering ```java public class ExampleImGuiRenderer implements ImGuiRenderer { @Override public void render() { ImGui.showDemoWindow(); } } ``` ```java public class ExampleDearImGuiEntrypoint implements DearImGuiEntrypoint { @Override public void render() { ImGui.showDemoWindow(); } } ``` --- (https://www.bisecthosting.com/partners/custom-banners/8fb6621b-811a-473b-9087-c8c42b50e74c.png)](https://s.deftu.dev/bisect) --- **This project is licensed under **\ **&copy; 2024 Deftu** : https://www.gnu.org/licenses/lgpl-3.0.en.html

# DearImGui for Minecraft A basic library mod giving developers the ability to use ImGui within Minecraft.

[!(https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/cozy/social/discord-singular_64h.png)](https://s.deftu.dev/discord) [!(https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/cozy/donate/kofi-singular_64h.png)](https://s.deftu.dev/kofi)

You need to add it as a dependency in your `build.gradle(.kts)` file.

```kotlin repositories { maven("https://maven.deftu.dev/snapshots") }

dependencies { modImplementation("dev.deftu:dearimguimc--fabric:") } ``` Of course, replace `` with the version of Minecraft you are developing for, and `` with the version of the library you want to use.

### Rendering

To render for ImGui, you need to create your own `DearImGuiEntrypoint` and add it to your `fabric.mod.json` file,

```json { "entrypoints": { "imgui": ["your.package.here. DearImGuiEntrypoint"] } } ```

`DearImGuiEntrypoint` has two methods you can override - `createRenderer` and `render`.

```java public class ExampleDearImGuiEntrypoint implements DearImGuiEntrypoint { @Override public ImGuiRenderer createRenderer() { return new ExampleImGuiRenderer(); }

@Override public void render() { // Render ImGui here } } ```

Both ultimately achieve the same goal, but `createRenderer` is more flexible and allows you to pass in additional parameters to your renderer.

### Example Rendering

```java public class ExampleImGuiRenderer implements ImGuiRenderer {

@Override public void render() { ImGui.showDemoWindow(); }

```java public class ExampleDearImGuiEntrypoint implements DearImGuiEntrypoint {

@Override public void render() { ImGui.showDemoWindow(); } } ```

[!(https://www.bisecthosting.com/partners/custom-banners/8fb6621b-811a-473b-9087-c8c42b50e74c.png)](https://s.deftu.dev/bisect)

This project is licensed under \ © 2024 Deftu

: https://www.gnu.org/licenses/lgpl-3. 0.en.html

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
deftu
Version
0.1.0+1.18.2-fabric
Downloads
1,037
Endorsements
1
Category
decoration
Created
7/3/2024
Updated
7/2/2024
Game Versions
1.18.2
Tags
decoration, library, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does DearImGui support?

The author lists 1.18.2. Other versions may work but are untested by the author.

What is the latest version of DearImGui?

Version 0.1.0+1.18.2-fabric, published 2024-07-02 with 1,037 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More decoration 👤 More by deftu 🔎 Similar Mods 🌐 Best decoration (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods