MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Plugin doesn't completely set up Fabric project

Open MartinTintin3 opened this issue 5 years ago • 10 comments

Plugin Version: 2020.3-1.5.1-205 IntelliJ Version:

IntelliJ IDEA 2020.3 (Community Edition) Build #IC-203.5981.155, built on November 30, 2020 Runtime version: 11.0.9+11-b1145.21 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 10.16 GC: ParNew, ConcurrentMarkSweep Memory: 2014M Cores: 4 Non-Bundled Plugins: com.jetbrains.ChooseRuntime, com.almightyalpaca.intellij.plugins.discord, com.demonwav.minecraft-dev, org.jetbrains.kotlin

Operating System: Mac OS 11.1 Target platform: Fabric

Whenever I start setting up a new Fabric Mod with these settings: https://ibb.co/rsTxzk6, after I finish setting it up, I result in only a project without my main package and main class: https://ibb.co/Y2WjmyY Where is my main class that implements ModInitializer and where is my whole package(com.martintintin3.tutorial) The src/main/java directory is blank

MartinTintin3 avatar Dec 22 '20 06:12 MartinTintin3

Although I get two errors during a Fabric project creation, classes are generated correctly.

I'll try to fix the two errors I get, and hope they are the same causing this issue.

RedNesto avatar Dec 22 '20 10:12 RedNesto

Oh I discovered this happens only if I remove the entry point for the ModNameClient class. If i keep it and then after the project is made, I remove the client folder, my whole project is removed.... why???

MartinTintin3 avatar Dec 22 '20 13:12 MartinTintin3

I also got 2 errors for the plugin: https://hastebin.com/etowanowus.properties

MartinTintin3 avatar Dec 22 '20 13:12 MartinTintin3

Weird, that's not the errors I had, did you click the Load Gradle Project notification action before the set up was complete ?

RedNesto avatar Dec 22 '20 13:12 RedNesto

Ok I will do that but if it doesn't work, I will just send you a recording of me setting up my project

MartinTintin3 avatar Dec 22 '20 16:12 MartinTintin3

You know what Imma reinstall my IDE because now it doesn't even show me the 1.16.4 Fabric API version saying there was an error...

MartinTintin3 avatar Dec 22 '20 16:12 MartinTintin3

I also have this problem!

Mixpa avatar Jun 29 '22 14:06 Mixpa

I know my comment isn't helpful, but I also have this problem. Even though I have the newest version of the Plugin :l

Monsbot avatar Oct 20 '22 18:10 Monsbot

I also have the same problem

darius172 avatar Dec 31 '22 14:12 darius172

Oh I discovered this happens only if I remove the entry point for the ModNameClient class. If i keep it and then after the project is made, I remove the client folder, my whole project is removed.... why???

Where is the entry point ?

darius172 avatar Dec 31 '22 15:12 darius172