Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
grape-lol opened this issue Jun 11, 2024 · 1 comment
Open

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

grape-lol opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@grape-lol
Copy link

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
Copy link
Contributor

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.

@ix0rai ix0rai added the bug Something isn't working label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants