Jump to content

Search the Community

Showing results for tags 'guis'.

  • Search By Tags

    • guis ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 19 results

  1. Hello! I am hosting a small (5 person) server with some friends and we are having trouble with Vic's Point Blank Mod. The UI for the Weapon Printer is showing up blank and flickers the items when we scroll, but only on the sever. In Single Player, it works just fine or all of us. I have uninstalled...
  2. The Weapon Printer is inaccessible, as its GUI doesn't open up after right-clicking it. Also, every gun in the base mod says "This ingredient crashed when getting its tooltip. Check logs for details." when hovering over the item. The latest log is too large (>512kb) to even upload to pastebin, so al...
  3. Hi everyone, I’m working on creating a UI similar to the one shown in the picture below. Most of the functionality is working perfectly, but I’m struggling to achieve a smooth blur effect for the background. Currently, I’m rendering the black transparent box using: "Gui.drawRect();"...
  4. I created a custom effect called "Fullness" that prevents the player from losing hunger when they get the effect. For this, I created a new java class called FullnessEffect. Everything is working fine, and the player isn't able to lose hunger, but I wanted to make it so that whenever you have the Fu...
  5. 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 c...
  6. I'm making a city construction mod now and had stumbled upon how to get which block the player's pointing with the cursor. Please help me.
  7. Hey there everyone, I'm building a Minecraft mod inspired by the Fallout series using Forge. My goal is to create an immersive Fallout 76-like experience, including a completely overhauled inventory system centered around a Pip-Boy. Core features: Custom Pip-Boy Interface: Replac...
  8. Hi, I am trying to get custom GUIs working, and I would like to have a GUI that works only client-side, which means that you are not supposed to pull items out, but I do want to display items in my GUI and let the player click them. I have a GUI working that has a size of 54 slots and I made a...
  9. private static final ResourceLocation image = new ResourceLocation(Main.MODID, "textures/gui/image.png"); @SubscribeEvent public static void onRenderGuiOverlayPre(RenderGuiOverlayEvent event) { event.getGuiGraphics().blit(image, 0, 0, 0, 0, 64, 64, 64, 64); } I tried to draw an image...
  10. public class HUD { public Minecraft mc = Minecraft.getMinecraft(); public static class ModuleComparator implements Comparator<Module>{ @Override public int compare(Module o1, Module o2) { if (Minecraft.getMinecraft().fontRendererObj.getStringWidth(o1.name) > Mi...
  11. Hi, I'm making a necklace that stores relics with Curios mod integration. Right-clicking on a diamond currently opens the GUI, but I don't know how to store the items within it. Can anyone help me with this? (minecraft 1.20.1) -> My mod Gith https://github.com/Susakushii/SusakushiMods
  12. 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...
  13. Is there a way to disable a HUD element without canceling RenderGuiOverlayEvent.Pre? For Example, in 1.16.5 you could just set a boolean in ForgeIngameGui to false for a specific element: ForgeIngameGui.renderCrosshairs = false;
  14. Good dais this is it i wanna update the briefcase from mi mod this class "NetworkHooks" is resposible for open the screen this class don't exist anymore in 1.20.4 or it is in another place and/or whit another name i check kapenjou tutorials an hes using this sa...
  15. Is it possible to have a BlockEntity that processes multiple recipes (of the same type) simultaneously? The only way I have thought of so far is to have a BlockEntity that has multiple ItemStackHandlers, but this is apparently not recommended.
  16. So I'm building a forge modpack for myself and some friends on 1.19.2, and since the premise is mainly nostalgia-based I decided to add the newest MCA (Minecraft Comes Alive) port. And it's stellar, besides one GUI it adds with the "interact" option. It just feels very bare-bones and incredibly diff...
  17. Hello, guys! I'm creating a mod that includes a machine. This machine has 4 slots: 2 input slots and 2 output slots. For this machine to work, it needs two things: 2 valid items in the input slots, and it requires that the player clicks on the "uncraft" button in the center of the GUI. The...
  18. Hi all, I've been updating my mod from 1.18 to 1.19 and so far I've been able to fix the changes regarding literal/translatable Components and other minor changes, but the Button class' constructor seems to have changed, and I don't know how to update it. Here is my working constructor for...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.