Skip to content

Instantly share code, notes, and snippets.

@memotype
memotype / 1-intro.md
Last active May 13, 2016 04:31 — forked from nornagon/1-intro.md
How to make a Minecraft (1.8) mod

How to make a Minecraft mod

Minecraft mods, especially mods which change the client, are by and large written with Forge. If you visit their website, you'll be greeted abruptly by a mysterious message at the top of an SMF forum, with no clear path towards actually... making a mod. I'm documenting here the steps I went through to get started, in the hopes of helping the next person have an easier time of it.

I'll be using Scala for this guide, but it should be fairly easy to adapt these instructions to any JVM language (e.g. clojure or if you're feeling masochistic, Java). I'm also developing on OS X, so some of the commands will be a little different if you're on Linux or Windows. I'm assuming you have some proficiency with your operating system, so I won't go into details about how to adapt those commands to your system.

Background

Minecraft doesn't have an official mod API (despite early [promises](http://notch.t

*** /home/users/isaac/stuff/graylog2/graylog2-web-interface-0.10.0-rc.1/app/models/ldap_authentication.rb 2012-12-03 11:29:58.000000000 -0500
--- app/models/ldap_authentication.rb 2012-12-06 14:18:39.000000000 -0500
***************
*** 1,6 ****
--- 1,10 ----
+ require "net/ldap/dn"
class LdapAuthentication
def initialize(login, password)
@login = login
+ @login_dn = Net::LDAP::DN.new( ::Configuration.ldap_username_attribute,