Hello! I'm working on my first mod and following a tutorial by Kaupenjoe on Youtube to do so. I used the same mod ID as him initially, and I named the mod tutorial mod. Well, I tried to change the name later to "Starlight", and it's not working now for some reason... I'm using IntelliJ to code. Does anyone know what this error means or how I can fix it?
"Class 'Starlight' is public, should be declared in a file named 'Starlight.java' :22"
The java file you are writing your code in might be called something different than Starlight.java. You should just be able to go to your project folder, find you main java file and then rename it to "Starlight.java"