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.

TheASTRO

Members
  • Joined

  • Last visited

Everything posted by TheASTRO

  1. Holy, I am so stupid even in this simple part of code. Sorry again. So I`ve typed this: Minecraft mc = Minecraft.getMinecraft(); What I have to do next?
  2. And you said to use Minecraft class.
  3. How can I make that instance? I surfed the internet, but I found nothing. If you can-please, help with this :3
  4. Does forge allow to get latest visited server? Or actual server list? Or maybe somehow decrypt servers.dat?
  5. Hello. I`ve encountered a problem. I need to get servers name from a client. How can I do that?
  6. It got it, thanks :3
  7. You mean this will work? File file1 = new File(Minecraft.getMinecraft().mcDataDir, "crash-reports");
  8. Generally I am trying to read crash-reports folder content.
  9. No, I need to get crash-reports folder within my mod. So it will work with Java`s "File".
  10. Hello. What is the best way of getting crash-reports folder? I looked into forge source and found something called mcDir in CoreMod class. But I can`t really get into how to do that..
  11. I looked into crash report method. There is nothing about graphics card. It ends with memory info and Java version. That's all..
  12. I mean how can I get GPU info from my mod? Maybe somehow with lwjgl library or something like that?
  13. The question is the same, as a title: how can I get GPU info?
  14. Hello. So here is my build.gradle: (I need to add json-simple library to final jar. Staff told me about Shadow Plugin. I searched your forum also. When I compile the mod, it exports standart jar without json-simple. Whats wrong? )
  15. If you will have some time, will you post an example of code to build jar with libraries? Course I can`t really understand how to do that. Its just a wish and hope
  16. Thanks for the reply, but isn`t there a way to put json-simple library exactly into final mod jar?
  17. I wanna include external jar library (json-simple.jar) to my mod. But as I know, it wont be compiled with the actual mod. How can I add it to the mod, so it will be available?
  18. Hi! I have a question. When minecraft crashes, all the mods are disabling? Or my mod can still work for some time? Or maybe there is some kind of Crash Handler?
  19. Well, I`ve just compiled mod and placed it in mods folder. It worked. So why doesn`t it work without compiling?
  20. Cloned git from GitHub to my "forgemods" folder. Executed 2 commands: gradlew setupDecompWorkspace and gradlew eclipse. Then switched workspace to "forgemods" folder and then imported its content. Configured Run Client and Run Server and started the game. Forge doesn`t see this mod.
  21. Hello. After I`ve imported a mod source from github to my workspace, I discovered, that minecraft does not see this mod. Only its 3 default mods. What may course this problem?
  22. By the way: I`ve just tested it on 1.8 and have same problem. What may course it?

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.