MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

fabric.mod.json isn't generated by template

Open QazCetelic opened this issue 3 years ago • 11 comments

fabric.mod.json isn't generated by template, which means that the mod won't be initialized. It won't cause any error, but does mean that the generated build won't do anything and none of the code is used with the runClient Gradle task.

Please include the following information in all bug reports:

  • Minecraft Development for IntelliJ plugin version: 2022.1-1.5.19
  • IntelliJ version: IntelliJ IDEA 2022.1 (Community Edition)
  • Operating System: Linux (Fedora)
  • Target platform: Fabric

QazCetelic avatar May 05 '22 21:05 QazCetelic

Hello, this happened to me today and yesterday.

SzczurekYT avatar Jun 23 '22 17:06 SzczurekYT

Any updates on this?

SzczurekYT avatar Jun 30 '22 14:06 SzczurekYT

Hmm. I created new project and Intellij told me it removed a module. I restored it (there was a button to do that) and this time it worked.

SzczurekYT avatar Jun 30 '22 14:06 SzczurekYT

@DenWav any help? Sorry for a ping but this plugin is so usefull and now I can't make fabric mods easily.

SzczurekYT avatar Jul 03 '22 17:07 SzczurekYT

I thought this was fixed. I'll try to remember to take a look

DenWav avatar Jul 05 '22 00:07 DenWav

I thought this was fixed. I'll try to remember to take a look

Thanks

SzczurekYT avatar Jul 10 '22 11:07 SzczurekYT

I thought this was fixed. I'll try to remember to take a look

Overall it works randomly, for example right now I created new project, on latest Intellij and latest nightly build and got no fabric.mod.json and no client initializer. Sometimes It doesn't generates normal, both side initializer if I remember correctly.

My plugin version: 2022.1-1.5.20-333 Intellij version: 2022.1.4 OS: Windows 10 Edit: The project was generated for 1.18.2.

SzczurekYT avatar Jul 22 '22 07:07 SzczurekYT

I'm not sure but there is a chance that #765 is related, I think this also happend to me one time.

SzczurekYT avatar Jul 22 '22 07:07 SzczurekYT

That's weired, today I generated new project and this time it worked completly fine, with mixin package being the only missing thing.

SzczurekYT avatar Aug 06 '22 07:08 SzczurekYT

Generated another one, this time all the files under src directory are missing. image

SzczurekYT avatar Aug 06 '22 07:08 SzczurekYT

I can't confirm this, but I think the issue is caused by unticking the use fabric api checkbox.

SzczurekYT avatar Aug 06 '22 07:08 SzczurekYT

I can't confirm this, but I think the issue is caused by unticking the use fabric api checkbox.

I think that's wrong, that was not the case.

Will this get fixed? Few days ago I got a fresh linux installation with dual boot setup (my windows 10 is still there). I installed latest version of intellij and minecraft dev and the bug is still alive!!! This is just so annoying that you get almost complete project. Still the fabric.mod.json is not generated. Other files were fine. Or am I doing something wrong? There is this load gradle project popup. Should I click it when It shows up or just ignore and wait for the project to finish generating? I did a test now and it seems that not clicking this works better. When I clicked both java and resources directories were empty but when I just waited the fabric.mod.json was the only missing file.

SzczurekYT avatar Nov 17 '22 16:11 SzczurekYT

Seeing this issue as well.

  • Minecraft Development for IntelliJ plugin version: 2022.2-1.5.21
  • IntelliJ version: IntelliJ IDEA 2022.2.4 (Community Edition)
  • Operating System: Windows 10 Home 22H2
  • Target platform: Fabric 1.19.2

Vulp35 avatar Nov 25 '22 18:11 Vulp35