Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

8iggy

Members
  • Joined

  • Last visited

Everything posted by 8iggy

  1. hello! I'm looking for a auto reconnect mod using forge! I have found multiple but only for fabric so I'm hoping someone knows of a forge one!
  2. 8iggy replied to 8iggy's topic in Modder Support
    Can you show me an example on how to call the event? I'm not trying to figure out when the player right clicks. but how to right click using code.
  3. 8iggy replied to 8iggy's topic in Modder Support
    Oh my bad it's just in spigot/paper api you use EntityPlayer for NPCs. I just mean how can I right click a entity.
  4. 8iggy replied to 8iggy's topic in ForgeGradle
    Here it is! https://pastebin.com/cu30ZFsE
  5. Hello! I want to figure out how to send a right click entity packet and to click a item in an container packet. For the right click I want to right click an NPC/EnitityPlayer and for the click a item in an inventory I want to be able to click an item in a certain slot of a container. Hope someone can help me out!
  6. 8iggy replied to 8iggy's topic in ForgeGradle
    Bump
  7. 8iggy replied to 8iggy's topic in ForgeGradle
    Could Anyone Else Help?
  8. 8iggy replied to 8iggy's topic in ForgeGradle
    I did that even before this thread... It just doesn't work when I export it. It says that JDABuilder doesn't exist
  9. 8iggy replied to 8iggy's topic in ForgeGradle
    I'm sorry I didn't quite understand. Could you provide more info? Where do I put the api and what parts do I comment out?
  10. I feel really dumb... Sorry for being such a pain. Thanks to everyone who replied to this thread!
  11. I always say the same thing every time and people still don't get it but I'm trying to get all the items from a server sided menu/inventory. Get all the info in them aswell, like the lore and display name. I figured out how to do it all but don't know how to get an instance of a server menu/inventory.
  12. Thanks! I'm going to test this but I'm still having some errors with other stuff. If it's ok with you can I send a message here if I have anymore issues?
  13. 8iggy replied to 8iggy's topic in ForgeGradle
    I'm not sure how that would help my situation. but I'm trying to run minecraft and get info from a server then send it to my discord bot without using an external server.
  14. Can I access all the items using openGUI or registering the screen?
  15. 8iggy posted a topic in ForgeGradle
    Hello! I'm trying to use JDA (Java Discord API) in my client. I imported it and did all the things I needed to but for some reason whenever I put the mod in the mods folder and test it it gives me a classdefnotfounderror. Not sure why. Whenever I test the client it runs fine and even the bot goes online. But using it doesn't work.
  16. Thanks! In The ModPacketHandler Class. What Is Main? If It's My Main Class getLocation Isn't A Method In It.
  17. So I put It into my code and it seems like the class PacketBuffer doesn't have a method called write/readUtf. I'm currently using 1.16.5 forge. And I also don't know how to use the class. for example C2SPacketForContainer packet = new C2SPacketForContainer(what do i put here?);
  18. I'm trying to get it info from the server and into the client. I'm still new to forge so I'm not sure if this will work for that.
  19. Thanks I Figured It Out! I Have Another Thread On How To Get The Container. Maybe You Could Help More There?
  20. How Can I Get A Server Menu/Container? For An Example. I Made A Menu On My Server And Have Some Items In It. I Want To Get All The Information From The Container And Be Able To Access It In My Code. Hope This Is Enough Info!
  21. I currently have no code. Could you just tell me how to get a server sided container/menu and make it into a variable?
  22. I'm trying to get the item meta of all the items if that helps. like the lore and stuff.
  23. So how do I get the container? It doesn't need to be a event btw.
  24. Hello Everyone! I just started learning how to code forge mods and this is my first post. I have been coding spigot plugins for 2 years so I'm not totally clueless. I just want to know how to get all the items from a Inventory/GUI. I have no clue how. I tried something like this. but it got me nowhere @SubscribeEvent public void onOpenInventory(GuiOpenEvent e) { e.getGui().itemsplsssss }

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.