-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Hello forum members! I am relatively new to Forge and I'm having issues with implementing my custom gui elements. Essentially what I'm trying to do is to add a singular rectangle shape which sits on top of every other gui element that's rendered to the player's screen in the Screen object (i.e. when the player is in their inventory or accessing some other inventory like a tile entity and so on...), so essentially i need this rectangles z-index to be the highest out of every other gui element. Later on I plan on adding functionality to this rectangle; the rectangle will serve as the background element. The way I undertand how the GuiGraphics class works is that when you have a SubscribeEvent method which handles rendering of the gui it gets the GuiGraphics object from the event that gets created when the method triggers and then modifys that gui elements of that event. But the issue then is that if I'm targeting the RenderGuiOverlayEvent.Post event and try to add the rectangle with the fill method what ends up happening is that the rectangle gets rendered behind the Screen object. Essentially my question is: Is there an event that gets fired when the absolute last gui element gets rendered and if not is there a WorldLastEvent in terms of gui that gets fired and how does the gui rendering pipeline work in minecraft 1.20, what is the order in which different gui elements get fired? Any help or feedback would be grately appreciated!
-
By TileEntity · Posted
Add the crash-report or latest.log (logs-folder) with sites like https://paste.ee/ and paste the link to it here -
Hey, so I made a modpack for my girlfriend and I and it's been crashing on launch repeatedly. I have some experience with debugging modpacks but not enough to figure out what's happening. I have both my logs in pastebins below. I'm sure it's just mod incompatibilities but it isn't really giving me enough info to figure out what the problematic mod is. Some mods are not fully up to date, however curseforge automatically installed the older versions, and when I had tried updating them prior I was having the same issue. This is all on 1.20.1. In the spoiler I wrote list of most of the mods but not all of them, if anyone recognizes an incompatibility just by looking. Many are pretty popular. My latest.log https://pastebin.com/iZV02045 My debug.log https://pastebin.com/WbSRMSiq
-
By farissaif3 · Posted
hello can u reply i removed mcdw but now it shows me a new error when i launch it crashes and shows me this error The game crashed whilst rendering overlay Error: com.google.gson.JsonSyntaxException: Expected vector to be a JsonArray, was an object ({"ve...0]}) and i dont have any JSON mods installed idk what to do
-
Topics
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.