-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By SurgePlayzYT · Posted
Other than removing distant horizons, is there another way to resolve this issue or conflict? What is the exact issue or conflict with distant horizons? -
Hi everyone, I'm working on a mod where I need to display a custom GUI on top of the inventory screen that includes a slider. The goal is to allow the player to select a number using the slider, and then confirm the action, which will split an item stack (similar to shift-clicking, but with a custom number). I've successfully created custom GUIs before using Screen, but I’m running into a couple of issues when trying to integrate a slider into the inventory screen (AbstractContainerScreen): I found the slider in the forge package (net.minecraftforge.client.gui.widget.Slider), but I couldn’t find any usages or examples on how to properly implement it or use it in this context. My Questions: How can I properly integrate a slider into the custom gui screen ? Is net.minecraftforge.client.gui.widget.Slider the right class to use for this? If yes, are there any examples or recommended usages of this Forge slider widget? If not, what would be a good alternative to create a custom slider (maybe extending AbstractSlider or another class)? How do I ensure proper interaction between the slider and the rest of the inventory screen? Any advice, code snippets, or examples would be greatly appreciated! Thanks in advance for your help!
-
I can´t craft in minecraft because it shows: "forge empty tag", does anyone know a fix for this issue? Thank you for your time!
-
-
Topics
-
Who's Online (See full list)
- There are no registered users currently online
Recommended Posts