QuiltMC / quiltmc.org

The source for quiltmc.org
https://quiltmc.org
Other
58 stars 48 forks source link

Mod ID and Mod name are flipped on Mod Generator #228

Open grape-lol opened 3 months ago

grape-lol commented 3 months ago

In the mod generator lets say for example you put "water" as your mod id and "watermod" as your mod name it will set your main class to water and your "public static final Logger LOGGER = LoggerFactory.getLogger(watermod);" to watermod

Southpaw1496 commented 1 month ago

I can't reproduce this: My main class is correctly set to Water:

public class Water implements ModInitializer {
    public static final Logger LOGGER = LoggerFactory.getLogger("watermod");

What you put in LoggerFactory.getLogger() is merely a stylistic choice: Fabric uses the mod ID, but we've chosen to use the mod name.