FlorianMichael / fabric-imgui-example-mod

Example Fabric mod which includes Dear ImGui
Creative Commons Zero v1.0 Universal
17 stars 0 forks source link

How can i open my imgui menu without any opened minecraft menu? #3

Open TurboKoT1 opened 2 months ago

TurboKoT1 commented 2 months ago

How can i open my imgui menu without any opened minecraft menu?

FlorianMichael commented 2 months ago

I don't really know whether your goal is to only remove the background appearing when opening screens ingame (which would be done by removing the super.render in the render method or if you want custom viewports so you can drag out the imgui window outside of MC, for that there is a tutorial on imguis github repository.

TurboKoT1 commented 2 months ago

I don't really know whether your goal is to only remove the background appearing when opening screens ingame (which would be done by removing the super.render in the render method or if you want custom viewports so you can drag out the imgui window outside of MC, for that there is a tutorial on imguis github repository.

No, you misunderstood me. I want to open Imgui menu directly in the game on the server. I am newbie, and don't know how can i do it

FlorianMichael commented 3 weeks ago

I am not sure if it's possible to open ImGui without having a minecraft screen as backend, at least not if you want proper mouse interactions.

MrBreakNFix commented 3 weeks ago

I am not sure if this is what you are getting at by minecraft "menu", but you can mixin to the InGameHud class, and draw your ImGui window(s) there.

How can i open my imgui menu without any opened minecraft menu?