Jump to content

Recommended Posts

Posted (edited)

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 by Myxtro
Posted

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.

  • Like 1
Posted
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?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.