Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Creating a new java file in Intellij makes an empty file


Recommended Posts

Probably noob question. When I updated to 1.16.3 latest, created a new folder and rerun the build programs and create a new java file, all it shows is an empty file. I never experienced something like this modding in 1.12. When I create something in there it gives the package name, the class name, and a ready constructor. 

Link to comment
Share on other sites

2 hours ago, Kiljaeden053 said:

created a new folder and rerun the build programs and create a new java file, all it shows is an empty file

If you only copied over the relevant files from a different project, then those source folders won't exist normally. You will need to create them manually and then rerun your gradle commands to tell everything that "hey, I exist now".

Edited by ChampionAsh5357
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Also here's the log fren

CUsers----DesktopMDKHeaven's Wrath1.16.3gradlew build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon httpsdocs.gradle.org4.10.3userguidegradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

 Configure project 
Java 15 JVM 15+36-1562(Oracle Corporation) Arch amd64
New Dep net.minecraftforgeforge1.16.3-34.1.0_mapped_snapshot_20200514-1.16

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See httpsdocs.gradle.org4.10.3userguidecommand_line_interface.html#seccommand_line_warnings

7 actionable tasks 3 executed, 4 up-to-date
CUsersJexelDesktopMDKHeaven's Wrath1.16.3


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

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