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.

Featured Replies

Posted

I was doing some work on my mod today and i suffers a power outage. When i restarted my entire workspace was broken. Its kinda hard to describe the problem so i am just going to show you.

 

0zR8Afa.png

 

Every single class looks like that. The weird thing is minecraft still starts and runs just fine. I have tried running gradlew setupDecompWorkspace and gradlew idea but i dont know what else to try.

 

If i press ALT + Enter on anything at the top of the list is "Setup JDK" but my JDK setup looks fine.

 

Any help with this would be greatly appreciated.

 

I am the author of Draconic Evolution

Take a backup of you src folder (The code you are working on), and type in:

 

gradlew clean

gradlew setupDecompWorkspace

gradlew idea

 

This will clean development env and reset it, backup everything before. Files might be deleted.

I require Java, both the coffee and the code :)

  • Author

Unfortunately that did not fix the problem... Any other ideas? I even tried updating my JDK 

 

Edit: Whatever the problem is it seems to be affecting all of my workspaces not just the one i was working on at the time of the power outage. So maby its something with intellij?

I am the author of Draconic Evolution

  • Author

Yea it looks like its a problem with mi Intellij 14 install because i just started my Intellij 13.1 install and it works just fine.

 

Edit: I will give that a try. If you mean the Intellij gradle integration i dont use that at all.

I am the author of Draconic Evolution

  • Author

That seems to have fixed the problem. Thanks for the help!!!

 

I have just never felt the need. I really only ever use the build command unless i am updating forge or something. Or is it useful for more then that?

I am the author of Draconic Evolution

  • Author

I just run all the gradle commands from the built in terminal. IDEA automatically detects that something have changed and gives me an option to reload the project. Although im not sure if that works when adding dependencies via the build.gradle

 

In any case you have convinced me to finally set it up so i am doing it now.

I am the author of Draconic Evolution

  • Author

Im not sure if im using the gradle import. I just clicked the "Unlinked Gradle Project" popup that has been harassing me whenever i open the workspace.

I am the author of Draconic Evolution

I also had problems with Gradle integration in IntelliJ.  I use the following method which works for me

 

1) gradlew setupDecompWorkspace

2) gradlew idea

3) Open project folder

4) When it asks "import unlinked gradle project" or words to that effect, choose yes

5) run the gradle task genIntellijRuns

 

Works every time and gives me the gradle tasks especially build.

 

-TGG

 

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.