Jump to content

Recommended Posts

Posted

Maybe it's just because I have no idea where I should be looking, but I can't seem to find complete guides on how exactly forge works. Right now, the best tutorials I have found are bedrock miner's. And don't get me wrong, they are by all standards excellent, they are still a work in progress. To be more specific, I am interested in creating server side mods right now, but don't know where to look to learn how to do things like create commands. I'd be grateful if someone could point me in the right direction.

Posted

Most of the time:

1. Think of something

2. Think - "Is this in vanilla? Or maybe something simillar?"

3. Look for keywords using IDE seach.

4. Read tons of code

5. <magic happens>

6. Profit

 

As to more basic stuff: (links)

http://www.minecraftforge.net/forum/index.php/topic,26267.0.html

http://greyminecraftcoder.blogspot.co.at/p/list-of-topics.html

http://jabelarminecraft.blogspot.com/

 

As for commands (because you asked):

You extend CommandBase or make your own implementation. In:

@EventHandler
public void serverLoad(FMLServerStartingEvent event)
{
// Initialize commands
event.registerServerCommand(new MyCommand());
}

1.7.10 is no longer supported by forge, you are on your own.

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.