Jump to content

Chaost

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Chaost's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Forge version: forge-1.12.2-14.23.5.2854 When running the "runClient" task from within IntelliJ, none of my resources are loaded. However, when I build the mod and install the resulting .jar file into a regular forge client, everything works normally (names, textures, recipes etc.) When I first created this project, I ran the following gradle tasks under fg_runs: "genIntellijRuns" and "runClient". Picture of my project structure: (Again, everything works perfectly in a real client with the mod.jar file) I came across some posts[1] suggesting that I make sure IntelliJ doesn't delegate to Gradle[2] when building the project (which seems to have fixed the same issue for others). This is a picture from my project settings: No luck. (I also tried with "Run tests using: IntelliJ IDEA", no difference.) Now, I'm not entirely sure about the difference between these two "runClient"s, but it doesn't make a difference anwyay, I've tried both. I also read about sourceSets {main { output.resourcesDir = output.classesDir }} But apparently that in turn breaks the .jar file[1], so that's really just a workaround. (Haven't tried it though.) This is a very weird problem, and it's really annoying having to compile and move the mod, then open a regular minecraft client every time I want to test something. (Especially when the run button is mocking me). I'm at a loss here, I have tried to shared every bit of relevant information here, but please do let me know if anything is unclear. Thanks! [1]: https://www.reddit.com/r/feedthebeast/comments/e4hfzz/intellij_idea_runclient_task_textures_not_shown/ [1]: https://forums.minecraftforge.net/topic/77064-solved-modding-with-intellij-the-asset-problem/ [2]: https://www.jetbrains.com/help/idea/work-with-gradle-projects.html#delegate_build_actions
×
×
  • Create New...

Important Information

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