Posted January 2, 20187 yr I'm new to modding and I follow various tutorials to learn the basics. There's one thing I don't really understand: the naming part. What is the correct way of naming your mod in eclipse? I'm talking about the name of the package in src/main/java folder. I see people using "com.[username].[modname]" while others use things like "[modname].mod" or "com.[modname].[subname]" What is the correct way of doing it? Edited January 2, 20187 yr by Myxtro
January 2, 20187 yr If you own a domain, it'd be [tld].[domain].[packagename] So, do not use com.[username] unless you actually own [username].com. If you don't own a domain, just use your username as the base package.
January 2, 20187 yr Author 3 minutes ago, Ugdhar said: If you own a domain, it'd be [tld].[domain].[packagename] So, do not use com.[username] unless you actually own [username].com. If you don't own a domain, just use your username as the base package. What do you mean with tld?
January 2, 20187 yr Author So if you have no domain, you just leave it empty? So for example, mine should look like: "myxtro.[modname]"?
January 2, 20187 yr 10 minutes ago, Myxtro said: So for example, mine should look like: "myxtro.[modname]"? Yup, looks good to me!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.