Mods/Creating mods

From Minecraft Wiki
Jump to: navigation, search
The contents of this page are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums.

Minecraft modding is one of the most popular features introduced into the community. There are many different kinds of mods. This tutorial will present you information on how to make your very own Minecraft mod, whether it be with Modloader, Minecraft Forge or hard coded in to the core source. Some knowledge of Java is necessary; it is assumed the reader is familiar with common programming terminology. You can create mods for Minecraft on all computer operating systems(Windows, OS X, Linux, Android, IOS and Windows Phone). You can not make mods on consoles or Raspberry Pi.

Other Tutorials[edit | edit source]

For other tutorials not listed on this page (including some that are), the Minecraft Forums Modding Tutorials page will help to create your first mod. There are various tutorials for both ModLoader and Minecraft Forge.

Tools[edit | edit source]

There are many tools that can be used to mod Minecraft. The following is a list of any that people put on here or suggest in the discussion page. Java is the programming language Minecraft is written in, so you almost always will have to code in Java when coding mods for Minecraft. The latest released Java version is Java 8 update 60. The Java 8 update beta testing downloads are here, and the Java 9 beta testing downloads are here. At the moment Java 9 beta does not work with Minecraft, but Java 8 beta does. The different editions of java you can use are:

  • Java SE(Java Standard Edition)(which is available in these packages: the normal runtime environment version of java, which is the JRE(Java Runtime Environment) and the JDK(Java Development Kit)(this package is designed for java developers and coders and is required for coding Minecraft Mods)(JDK can be downloaded along with NetBeans here))
  • Java EE(Java Enterprise Edition)(for businesses, companies and large projects, and comes with lots more classes)
  • Java ME(Java Micro Edition) is a small and portable version of java
  • JavaFX(now included in all the other java packages)
  • Java Embedded(for embedded devices(yes, you can run Minecraft on some embedded devices that have Windows, OS X or Linux operating systems)).

All general-purpose java coding tools on any device can be used to help create mods.

  • Mod loading APIs(Application Programming Interface) standardize things, allowing for compatibility between mods. The official Minecraft API is not published yet. In the meantime, the Minecraft modding community has filled that void:


  • Risugami's ModLoader is among the oldest and was previously one of the most popular mod APIs, although since it has lost most of its popularity to Minecraft Forge. It has been discontinued since the 1.6.2 version and the 1.6.2 bugfix by Acomputerdog. It loads mod class files in each minecraft version .jar file. Prior to 1.6 it and ModLoaderMP loaded mod class files in the old minecraft.jar file in the old "bin" folder. Forge and FML used to load mod class files prior to 1.5, but in 1.5 it started to load .jar and .zip mods in a new folder called "mods". ModLoader and ModloaderMP have to be installed manually by adding the classes to the version .jar files. Forge and FML were installed in the same way until 1.5 where they had installers which installed them in the libraries folder. Modloader has been around since one of the first alpha testing versions of minecraft. The creator of this modloader is called Risugami. ModLoader only works for clientside. ModLoader can be downloaded here. ModLoader is backwards compatible with Forge and ModLoaderMP. Mods for this modloader are java classes.
  • ModLoaderMP has been around since the early versions of beta testing, but development was discontinued in 1.3.2. It is available as both clientside and serverside. The creator of this ModLoader is known as ScottyDoesKnow(SDK). ModLoaderMP is backwards compatible with Forge and ModLoader. Mods for this modloader are java classes.
  • FML(Forge ModLoader) is basically just Forge, but without the Forge API and is just the modloader. FML is also backwards-compatible with ModLoader, ModLoaderMP, LiteLoader and M3L and does the same things. FML supports small mods, but Forge supports small mods and large mods. Lex Manos develops both FML and Forge. FML can be downloaded here. FML is open-source here, here and here. FML has been released separately to Forge since 1.1. Mods for this modloader used to be java classes, but now are .jar and .zip files. FML works for both clientside and serverside.
  • Minecraft Forge is backwards-compatible with ModLoader, ModLoaderMP, LiteLoader and M3L and also adds hundreds of additional methods, classes, and utilities to assist mod authors. It adds a mods folder and comes with a installer. It is available as both clientside and serverside. It has replaced Risugami's ModLoader. Forge is FML along with with the Forge API. Forge has been around since beta 1.7.3. The creator of Forge and FML is known as Lex Manos. Forge can be downloaded here. Forge is open-source here, here, here, here, here, here and here. The Minecraft Support Package, Forge Documentation, ForgeGradle(also open-source here, here, here, here, here, here, here, here and here), Forge Installer, ModsList Outputter and DiscourseForge are all open-source. Forge is incompatible with the broken Java 8 Version 20, but the incompatibility problem for Java Version 20 has been fixed using LegacyJavaFixer Mod. Mods for this modloader used to be java classes, but now are .jar and .zip files. Forge is available for versions beta 1.7.3-official release 1.8. Old Forge downloads can be found here, here and here. LuaForge is in Python and Lua and is open-source here and here.
  • LiteLoader is a lightweight modloader which is designed to load small, clientside mods. LiteLoader is backwards compatible with Forge and FML. LiteLoader comes with a installer. LiteLoader was made by Mumfrey. LiteLoader can be downloaded here and development builds can be downloaded here. LiteLoader is open-source here, here and here. The LiteLoader installer is open-source here and here. LiteLoader's API is called the LiteAPI. Mods for this modloader are .litemod files. LiteLoader is for 1.5-1.8. LiteLoader is not serverside yet.
  • BlazeLoader(BL) is the successor to Risugami's ModLoader and uses the LiteAPI(but works without LiteLoader because the LiteAPI comes with BlazeLoader too). This modloader is for 1.6-1.8, but only a 1.6.4 demo has been publicly released. It can load large mods, but only three mods have been made for BlazeLoader: TerrainEdit(also open-source here), RealisticStone(also open-source here) and The WikiBook Mod. The creator of BlazeLoader is known as Acomputerdog or warriordog. BlazeLoader is open-source here, here, here and here. The BlazeLoader Installer is open-source here and here. The BLVersionLib is open-source here and here. You can download the BlazeLoader 1.6.4 Demo 2 version here and here. Mods for this modloader are .litemod, .zip and .jar files. BlazeLoader is only available for clientside, but will probably be available for serverside in the future.
  • Magic Mojo Mod Loader(M3L) is a ModLoader designed to load mods and reduce mod conflicts, among these aims for there to be no need for coremods that conflict with each other, support for very large mods, organizing your mods and reducing conflicts. It is based off of Forge, and you need to have the recommended version of the Forge API installed in order for you to be able to install M3L at the moment, but the creator of M3L, Cuchaz, will eventually implement M3L's own API. M3L was being developed in 1.7, but has been publicly released in beta testing development for 1.8. Currently only the Tall Worlds Mod works with M3L. M3L can be downloaded here. M3L is open-source here, here, here, here, here and here. Mods for this modloader are .zip and .jar files. M3L is currently just clientside, but serverside is planned to be available in the future.
  • Minecraft External Modloader(ME) is a modloader which loads mods in class files externally without replacing any class files. It is a .jar program. It can work with any version of Minecraft. The creator is MaPePeR. You can download External Modloader here. External Modloader is open-source here.

Server Plug-in Software:

  • Bukkit is a popular server-side-only server plugin API. Bukkit is supported by Dinnerbone, a member of Mojang. Bukkit is the API, CraftBukkit is what you install onto your server which implements Bukkit. BukkitGUI is a Graphical User Interface for Bukkit. DevBukkit is some debug tools for developers. ChatBukkit, ScrapBukkit and HomeBukkit are addons to Bukkit. ChatBukkit improves the chat. HomeBukkit improves your spawn/HUB. ScrapBukkit is for server commands. DevBukkit is a plug-in repository. You can download Bukkit here and here(the settings here). You can download CraftBukkit here, here, here, here, here, here, here, here, here and here. At the moment Bukkit is not downloadable from the official website and is open-source here, here and here. ChatBukkit is open-source here, HomeBukkit here, ScrapBukkit here and DevBukkit here. For more on Bukkit click here. SportBukkit is some bug-fixes which can be downloaded here, the beta testing versions can be downloaded here, and is open-source here. Some more open-source Bukkit files are here. A list of Bukkit java classes is here.
  • Another version of CraftBukkit(actually Bukkit alternatives using and be being based off of Bukkit's source-code) can be found here and here. It is called: Wolf-in-a-bukkit.
  • BukkitForge is a merge of Bukkit and MinecraftForge for 1.5. It is open-source here. Download BukkitForge here.
  • Spigot is like Bukkit and works with Bukkit. Download it here, here, here, here, here, here, here and here. Some add-ons for Spigot are: CheetahSpigot, PaperSpigot and EMC(Empire MineCraft). All the Spigot Stash projects are here. All the Stash repositories are here. All the Spigot java classes are here. You can download PaperSpigot here. Spigot's BungeeChord(connects two servers together is open-source here, and you can download it here. The Spigot API is open-source here and here, and the SpigotPatcher is open-source here. All Spigot Jenkins projects are here.
  • Sponge is made by the organisation SpongePowered. Sponge is available in two flavours: SpongeForge (a Forge Mod) and SpongeVanilla (standalone, based on the Vanilla server). Sponge is a Plugin API like Bukkit, but it's build with version compatibility in mind, thus Sponge plugins will work on different Minecraft versions without changes. SpongeForge is made with Mod compatibility in mind too, it's possible to make a Sponge plugin with Forge additions. While inter-version compatibility makes it easier for plugin developers, it puts more pressure on the people updating Sponge. SpongeForge can be downloaded here and SpongeVanilla here. If you're interested in the Sources, have a look at the SpongePowered Github Repo here. The Sponge Documentation here and the Javadocs here are already available too. If you're interested in Sponge's Plugin Repo, have a look at Ore. There are example Plugins available too, have a look at the Sponge Cookbook. The Sponge plug-in, Pore, lets Sponge load Bukkit plug-ins. You can use SpongeForge on the clientside too!
  • Magma is made by the organisation ObsidianBox, and is what Obsidian is based off of. It is open-source here.
  • Obsidian is made by the organisation ObsidianBox. ObsidianBox's website is down at the moment, but an archived version is available here. Obsidian is open-source here.
  • MCPC+ is another Bukkit alternative. Download MCPC+ here. MCPC+ is open-source here.
  • KCauldron is the successor to Cauldron. Download KCauldron here and here. Download the older KCauldron Backport versions here. KCauldron is open-source here.
  • hMod is another Bukkit alternative. Download the old versions here. The old versions are open-source on GitHub here, and BitBucket here. Get the newer hMod, version 2.0, here. The hMod 2.0 website is here. Here are some hMod 2.0 plug-ins.
  • Other Bukkit alternatives are all listed here.
  • Java tools that have been made by Oracle and Sun Microsystems like JDK will help. Also Lex Manos' Srg2Source will help rename symbols (classes, methods, fields, parameters, and variables) in Java source code using .srg mappings. Also md-5's SpecialSource Generator is a automatic generator and renamer of jar obfuscation mappings. SpecialSource Jenkins builds are here. SpecialSource is open source here, here, here and here. Cantido's Blacksmith is a Eclipse IDE plugin that helps you make Minecraft Forge Mods. The JBPatcher is a classloader which helps patch classes.
  • Decompiling tools help you work with Minecraft's source code, which is not published by Mojang. These tools turn compiled, executable, java code into source code.
  • FMC(Fyddle for MineCraft) is a alternative to MCP.
  • General-purpose Java decompilers, such as JD, JAD and FernFlower, will help you when MCP is not released or unavailable (for example, when modding snapshots). The best one probably is CFR because it is probably the only Java Decomiler that supports the latest Java version and JavaDevelopmentKit(JDK), Java 8. A list of Java Decompilers is here. Also FernFlower is no longer being updated, but lives on in the AndroChef java decompiler which based most of it's code off FernFlower. FernFlower can be downloaded here. Also some open-source FernFlower patches found here and here. FernFlower is open-source here, here, here, here, here, here, here, here, here, here and here. Also I think that the second best decompiler is Procyon which is open source and also supports JDK 8. The main developer for Procyon and the main developer for CFR challenged each other to develop the best java decompiler.
  • An IDE (Integrated Development Environment) is useful for any nontrivial programming. MCP automatically generates project files for use in Eclipse, a popular Java IDE. The most popular IDE at the moment is Eclipse, but the other two competitors are NetBeans(2nd) and IntelliJ(3rd). A list of Java IDEs is here. Overall Xcode is more popular than IntelliJ, but Xcode is only available on Apple Computers.
  • There are a few IDE's made for Minecraft which are open-source here, here and here.
  • Compiling tools turn source code into a high-level, 3rd-5th generation, programming language. You can use these for your own mod's source code and/or the source code of other mods on GitHub and BitBucket.
  • Javac is the most popular compiler at the moment. But the Power J compiler(2nd) is very close and used to be more popular. These are followed by: Jikes(3rd), ECJ(Eclipse Compiler for Java)(4th) and GCJ(GNU Compiler for Java)(5th). A list of Java compilers can be found here and here.
  • ECJ is part of the Eclipse IDE and Power J is part of another IDE.
  • Debugging tools search for issues in the mod's code and help fix them. There is a default java debugger called jdb(Java DeBugger) which comes with JDK.
  • A list of debuggers can be found here and here. A comparison of debuggers can be found here.
  • OpenMods has made some debug tools designed for minecraft.
  • Deobfuscation tools help deobfuscate complex obfuscated code and make it easier to understand. They can help you understand more about how minecraft works and how other mods work. They can be useful when you want to continue a abandoned mod. They also let you make the code of your mod easier for other developers to understand so that the development of the mod is finished more quickly. Don't confuse these with decompiling tools.
  • MCP deals with deobfuscation as well as compiling.
  • Enigma is a deobfuscation tool made using Procycon.
  • Immibis's BON(Bearded Octo Nemesis) is a tool that also can be used for deobfuscating Minecraft-related code. It is recommended that if you want to deobfuscate using BON and also decompile the code it is recommended that you use the JDGui decompiler if you want to and also it is recommended that you use MCP if you want to. BON is open-source here. You can download BON here and here.
  • BON2 is being developed here. You can download BON2 here.
  • Java deobfuscators for general java coding like JMD(Java Multipurpose Deobfuscator) and JBO(Java DeObfuscator) are useful too. The best java deobfuscator is probably JBO because it has got into stable release, as JMD was in development, only available as open source and development on it has stopped long ago. You can still get it and use it if you turn the source code into programming code by compiling. JBO is written in the C# programming language and is used to decompile the java programming language. You can get JBO on SourceForge(I recommend you to download non-development versions from here(in the binary folder)) and on GitHub. You can get JMD on GitHub and JavaSED.
  • Obfuscation tools help make you code harder for other programmers to read so it makes it harder for programmers to copy your code and use it to make a mod that replaces your mod. It help stops people from making unofficial copies of your mod without your permission.
  • General purpose java obfuscators will help make it easier to obfuscate your code so that people can't steal your code. The most popular java obfuscator seems to be ProGuard. There are two lists of java obfuscators found here and here.
  • The class file assembler called Jasmin is used to create java class files to put in a .jar folder. This tool creates class files inside you mod's .jar file to put your mod's code in. It generates these class files from assembly code and changes them into java code class files.
  • Class file disassemblers, such as the default JDK java class file disassembler, javap, or the opposite of Jasmin, Jaspar, are used to take apart java class files.
  • Compiler-compilers (also known as compiler generators, parser generators or lexer generators) generate parsers, lexers, and/or compilers. (Parsers and lexers are parts of a compiler; parsers parse input into "words", which are then processed by a lexer, which strings them into statements. A compiler then takes that and transforms it into another language.) If you want to create your own custom compiler because none of of the compilers that exist for java suit you or maybe you want to create a compiler designed for minecraft modding and modding tools. Compiler-compilers take a set of rules that describe a language, and produce another compiler that compiles that language into machine code. A list of lexer generators is available here, and a list of parser generators is available here. Lexers organise assembly code and source code into high-level 3rd generation java programming language "words" and parsers organise these words into "statements" so that they can be understood as java. Currently you can't get any lexers that are separate from a compiler for java, but you can generate java lexers using java lexer generators.
  • The JavaParser(JP) is a program or parser that gets a certain instruction or command or bit of code then it breaks up that item into bits that can be processed by other programming tools or other bits of a compiler. It also makes sure that all the code put in is necessary, and it excludes the code that is not needed. JavaParser is the only java parser that is not part of a compiler. JDK has it's own parser. JavaParser was first available on GoogleCode, but since GoogleCode has become less popular and you can no longer create new projects, it has now moved to GitHub. Another Java parser called Multi Core Parser(MCP) and is open-source here.
  • JVMs(Java Virtual Machines) are runtime environments which you you use so you can run programs, like Minecraft, that run on java from. Using different JVMs lets you test those JVMs to see which one is best at running Minecraft with your mod or/and other mods. A list is here and a comparison here.
  • JVM languages are programming languages built on top of java and another programming language, so that you can code in that other programming language in java files that works when you run files and have the JVM language installed. The most well known is Jython, the Python programming language in java class files. So if you are better at coding in Python than in Java you can code in Jython, but that means that in order to use your mod people need to install Jython. A list is here. Also Python implementations might also be useful. Python scientific libraries might also be useful. MayaVi is a Python scientific library not included in the Python scientific library list. Java and Python AI networks might also be useful. AI on GitHub and SourceForge.
  • Minecraft Mappings are a bunch of code modders create for their mods to support them for a certain Minecraft and MCP version. Various Minecraft Mappings can be found here, here, here, here, here, here, here, here, here, here and here.
  • Checkmarx is a website that offers various tools from analysing source code to protecting your code by blocking risks to learning how to make your software more secure.
  • Text editors can be used to create mods, but coding using a text editor is super hard. The code they show is normally very hard for someone to understand. You might be able to understand a few bits of the code, but most of it is illegible to people who are not skilled in reading the code shown. Notepad is the default text editor for windows, but Notepad++ is probably the best, especially for coding. A list of text editors is available here and a comparison here.
  • File archivers, such as WinRAR, 7-Zip and WinZip, are useful for compressing, extracting, copying, deleting, editing, renaming and viewing class files within .jar files, .zip files, .rar files and .litemod files. They give you access to the class files within mods. A list of file acrhivers is available here.
  • Revision control software help you create many separate coding projects, some being open-source, undo and redo various edits, assign issues to yourself and others, share your code with other mod developers and code with mod developers all over the world to help create your mod. This kind of software helps you develop code more quickly, share code easily and fix problems. One of the most well known out of revision control software is probably Git which was created by Linus Torvalds(the creator of the operating system Linux). Also the company called Atlassian(the creators of BitBucket) has created tons of revision control software, the main one being JIRA. A list of revision control software is here and a comparison of revision control software is here. A list of text editors is here and a comparison here.
  • Continuous integration(CI) software help mod developers share code easily and integrate code into repositories and when you change code on a computer they can sync it with the repository on the internet. They also help test your mod and let other mod developers help you. CIs let you easily update your software several times a day. CIs also help you combine code together from other repositories. A well known CI is Jenkins which is a online software extension to JIRA and is based off of the Hudson CI tool. Bamboo by Atlassian is also another well known CI. A list of CIs is available here.
  • File synchronization software help sync files between two different locations on a computer or between two computers. When you edit one file the file on the other computer get automatically edited so the files are identical. A list of file synchronization software can be found here. You can sync mods using this.
  • Disk cloning software help clone files from one hard drive to another hard drive. A list of disk cloning software is available here and a comparison here.
  • File sharing applications help share files with other people. You can share your mod with other people using these. A list is here. Pushbullet is a file sharing application not included in this list.
  • File hosting services are an easy way to make your mod publicly available for download or editing on the internet. They can let you upload and edit files on the internet, share links with other people and sync files between the internet and other computers. Some of the most well known file hosting services are Google Drive, Dropbox, Mediafire and MEGA. A list of file hosting services is here. 4shared, Zoolz, Uploaded and are not included in this list. There are two main file hosting websites for minecraft mods called CurseForge(made by Curse, the company that made this wiki,(also you can download(but not create) CurseForge projects from the Curse website) and Planet Minecraft.
  • Crowdfunding websites are websites which you can use to put up your mod and it's ideas and if you raise enough money you can release your mod. Some of the most well-known crowdfunding sites are Kickstarter and Patreon. A list of crowdfunding sites can be found here and a comparison here.
  • Photo software is a bunch of software to do with photos. A list is available here.
  • Photo-sharing/Image hosting websites are websites where you can upload and share your photos. A well-known photo-sharing website is Imgur. A list is available here, here and here.
  • Image organizers are applications you can use to organize images. A list is here and here.
  • Video editing software lets you edit video files. One of the most well-known of these is Windows Movie Maker. A list is here and a comparison can be found here.
  • Video hosting services are tools you can use to upload videos online. YouTube is one of the most well-known. A list is available here and here, and a comparison here.
  • Streaming Media Systems are websites where you can watch videos whilst they are being uploaded. A list is available here and a comparison here. Minecraft has a button which instantly does Twitch live streaming when pressed(one of the F[NUMBER 1-12] buttons by default).
  • Video Streaming Aggregators combine search results from several streaming media systems and make it easier to find certain video streaming media. A list is here.
  • Video converters change the file format of a video. A list is here.
  • Many YouTube video to MP3/MP4/.ogg converters exist online. Many audio and video reversers exist too.
  • Codecs for text, videos or audio provide encoding and decoding for a text, video or audio file. A list is here and a list of video codecs here.
  • A file format are what is used to show which type of file a file is. You may want to distribute your mod as different file types so other people with different computers and operating systems can download your mod. A list is here and here. There are many online and downloadable websites ,software and programs that can convert one file format to a different file format.
  • Blog hosting services let you host blogs about yourself, what you do and what kind of mods you make. One of the most used blog hosting services is Blogger. A list is available here and a comparison here.
  • Backup software help backup, save and rescue files. They help make sure you don't lose or corrupt any important files. A list is here and a comparison here.
  • Online backup services help backup files online. A list is available here.
  • Source code hosting facilities, such as GitHub, BitBucket, Google Code and SourceForge, help create open source software and mods online and edit files and share files with programmers around the world. The can let you undo and redo edits, make downloadable source code and have compiled software downloads. A list is available here. JavaSED is for finding java source code. There are lots of browser extensions for GitHub and BitBucket as well.
  • Web hosting providers are useful if you want to host a website for your mod. A list is here and a comparison here.
  • Web builders help let you create a website. The Google URL Builder will also help. A list is here. You might need to do HTML, CSS and SVG coding to create your website and maybe also code in the programming languages shown here, here and here.
  • Social networking sites and forums can be used to have various discussions on your mod. The Minecraft Forums are forums that are designed for discussions about Minecraft.
  • Paste tools such as pastebin, are useful for putting up messages and links.
  • Free software project directories give you a place to develop software in repositories. A list is available here.
  • Wikia is a website which lets you create wikis about your mod and what it adds into the game and how to use your mod and there are also forums that let people suggest their own ideas to make the mod better. A list of sites like Wikia is here.
  • Simplified mod generators, such as Mod Maker Basic and MCreator, exist for mod authors who don't want to have to write and compile Java code. These are not recommended as they generally create poor quality code, and are very limited. A online mod generator called: McModGen(MineCraft Mod Generator) lets you generate mods without installing programs. Some other ModMakers are: ModMaker Pro, Alex's ModMaker and Linkseyi's ModMaker. MCreator is the most popular Mod Generator, has the most tools, features and options, and is the most up to date(makes mods for Minecraft 1.8).
  • Crash report analysers are forge mods that help analyse crash reports and try to find solutions to the problems. These can help mod developers find out what problems their mod has and fix those problems. The most well known is OpenEye, a 1.7.10 mod, which gathers more information on crashes. OpenEye needs OpenModsLib in order to work. OpenEye was made by OpenMods. Minecraft Crash Report Analyser, a mod for 1.7.10, helps find the solution to crashes by checking if it knows the solution to that crash, and if it does know the solution it will tell you what the solution is. Jenkins builds made by OpenMods.
  • World editing and world generation tools can help you generate or create large and complex structures and copy structures from world to world. You could input these structures into MCreator or use the structures to test how you want structures in your mod to be in your mod. If you want to create a dimension that is created in a certain way like The Lord of the Rings Mod these tools probably will help. The three world editing and world generation tools are: MCEdit, WorldPainter and WorldEdit. World generation plugins can be found here, and world editing plugins here. Some good world generation and world editing mods are Alternative Terrain Generation, Biome Tweaker, Climate Control, MultiWorld and Painted Biomes.
  • MCEdit lets you copy, create, select, manipulate and delete structures in your world. It can also create and export MCEdit schematic files for each structure you create and you can import these to different worlds. It is also possible to create "schematic mods" by adding extra code to the schematic files, and combining the code of various items in minecraft to create new ones. A lot of "schematic mods" use armor stands and item frames for their code. These "schematic mods" are added to world saves. You just need to copy the "schematic mod" world save into your .minecraft saves folder or import the schematic file into one of your worlds using MCEdit, and the "schematic mod" is installed. These "schematic mods" can be used serverside and clientside and are technically vanilla since anyone with vanilla minecraft can use them. A few of the best schematic mods are this Remote Control Helicopter and this Camp Fire Command and Redstone "Schematic Mod". You can also use texture packs for you world saves to go with these "schematic mods".
  • WorldPainter lets you paint part of a world and a part of a world is generated it that particular way. This can be useful for making biomes and dimensions
  • Height mods are useful when you want your mod to generate massive structures above the build limit. Add in a line of code that tests to see if a height mod is installed and your mod generates larger structures. There are many height mods, but the best ones are cubic chunks mods. Normal height mods generate massive vertical chunks the vanilla way which creates tons of lag, but cubic chunks mods split the vertical chunks with horizontal lines and load 16x16 cubic chunks. These cubic chunks reduce lag because they are smaller and the game needs to to load less. So far three cubic chunks mods have been made: Robinton's Cubic Chunks Mod for 1.0.1, Barteks2x's Cubic Chunks Mod for 1.6.2(but it still works on 1.6.4), and Cuchaz's Tall Worlds Cubic Chunks Mod for 1.8.3. Robinton's Cubic Chunks Mod is a Forge mod, Barteks2x's Cubic Chunks Mod is a vanilla class file installation mod and Cuchaz's Tall Worlds Mod is a M3L mod(only M3L mod at the moment)(made using the Procyon decompiler, Cuchaz's Minecraft Mappings and Cuchaz's Enigma(and a bit of MCP), and based off the previous height mods). A list of height mods(except Barteks2x's Cubic Chunks Mod and Cuchaz's Tall Worlds Cubic Chunks Mod) is available here(Dynamic Height is downloadable from here).
  • MCPatcher is a tool that helps "patch" and fix texture errors and issues.
  • Graphics Software can be used to view and create 2D and 3D images and models. A list is available here.
  • Resource pack tools will help you do certain things with textures, sounds and text. RPW(Resource Pack Workbench) helps you create textures, sounds and text files based off vanilla textures, sounds and code, and also is useful if you want to make a mod like Metallurgy 4, which changes vanilla textures, also you could create a resource pack for your mod if you wanted to. HD Font Generator lets you get any font installed and make it into a HD resource pack which can change the font of all the text(not text on images though) in Minecraft to that font and the text becomes HD. RPW is open-source here and here, and HD Font Generator here and here. Download the latest version of RPW here. Download HD Font Generator here.
  • Raster graphics editors and vector graphics editors help let you edit the image files in your mod. Raster graphics editors simply edit the textures, but vector graphics editors allow you to create textures that always remain as high definition as possible. Some of the most well known raster graphics editors are Paint and Paint.NET. A list of raster graphics editors is here and a list of vector graphics editors is here.
  • Protocol analysis tools, many of which are documented on the List #mcdevs wiki, can be useful for debugging multiplayer mods.
  • Java Class Libraries are useful too. They are JCL, GNU Classpath and Apache Harmony. Java Class Libraries have lots of classes you can use to implement things like clocks that tell the real-life time. All the JCL classes can be found here.
  • Java APIs are useful too. A list is here.
  • Other APIs designed for Minecraft can be useful as well. Examples: GuiAPI(GUI stands for Graphical User Interface), LibShapeDraw, Player API, more... Most of 1.7.10 the mods with: Core, Lib, Util or API can be found in this modlist. However, some APIs such as IC2 API, Waila API, MattparksCore, Baubles API API and Galacticraft API are not listed. Another unlisted, but very good API is MCEF(Minecraft Chromium Embedded Framework), which helps you add a web browser to go on the internet, in your mods, and you can browse the World Wide Web in Minecraft! MCEF use JCEF(Java Chromium Embedded Framework) to implement the Chromium Web Browser(the open-source stage of the Google Chrome Web Browser(before the canary, dev, beta and stable channels))(the Chromium Website is here, Chromium is open-source here, download Chromium here, here and here), using CEF(Chromium Embedded Framework)(which can be downloaded here), into the Java code of Minecraft. CEF can be downloaded here and JCEF here. MCEF is open-source here. MCEF is available for Minecraft versions: 1.6.4, 1.7.2, 1.7.10 and 1.8, and requires Minecraft Forge in order to work. MCEF was originally made for the Web Displays Forge Mod(this mod allows you run javascript on web pages in Minecraft, and interacts with ComputerCraft and ComputerCraftEdu computers, as well as displaying the World Wide Web in Minecraft!)(you can download this mod here). JCEF is open-source on BitBucket here, and Google Code here. CEF is open-source on BitBucket here, and Google Code here, too. Frames is a GUI API and is open-source here.
  • There are many browser extensions that add additional features to GitHub and BitBucket. There is also some AdBlockers which let you make money for blocking adds, and some AdBlockers let you block the ads, but still let the advertisers earn money.

Pocket Edition Tools[edit | edit source]

You will probably ME(Micro Edition) SDK(Software Development Kit) to help you code on the PC, as well as the Android SDK if you want to make mods for Android devices. An Android SDK app can be downloaded here. Java tools on the PC can be used on the PC to create mods for Pocket Edition. An app with lots of developer tools for Android is available here. The Android SDK Controller Sensor is available as app here, and this webpage tells you how to get the source code. Java tools on mobile device can be used to create mods for PC Edition too.

  • Mod loading APIs are available for Android, IOS and Windows Phone.
  • BlockLauncher. Designed for Android and Windows Phone. Works for IOS jailbreak. The different versions of the source-code is here, and some source code for the Android and Windows Phone app here. Some add-on source code is here and here. The BlockLauncher app for Android is here and the BlockLauncher Pro Android app is here. The Windows Phone BlockLauncher app is here and the Windows Phone BlockLauncher Pro app is here.
  • PocketMine. Works for Android, Windows Phone and IOS jailbreak. Serverside ModLoader. You can download it here. Plugins can be played on AmazonFire TV. All the versions of the source code are here and here, some plugin source-code is here and here.
  • General-purpose Java IDE's, these can be used to create mods for the PC too, but can only be used on the mobile operating system you can download them from. There are only Java IDE apps for Android so far.
  • IDEs designed for Pocket Edition Minecraft modding.
  • ModPE IDE(ModPE Script Editor). Available for IOS, Android and Windows Phone.
  • ModPEIDE. Available for IOS, Android and Windows Phone.
  • Text Editors can be downloaded from the App Store.
  • Android Text Editors: You can find them all here.
  • IOS Text Editors: You can find them all here.
  • Windows Phone Text Editors: You can find them all here and here.
  • AmazonFire TV Text Editors: You can find them all here.
  • Java Text Editors are text editors designed to assist with Java Coding. One of these is Java Editor.

The Minecraft Forge API[edit | edit source]

The Minecraft Forge API is a very useful tool in creating new mods. Its most important use is preventing conflicts between mods. It also contains convenience methods for creating mods more easily than without it; for example, the addSmelting method adds smelting recipes in one line of code. Many other methods exist. Tutorials on using the Forge API can be found many places, including many YouTube videos. It can be downloaded at official forge downloads.

Learning Java[edit | edit source]

These tutorials use Java terms that may confuse new users. Below are some links about the structure of Java and what certain terms mean. It is recommended that those who are not knowledgeable in the Java programming language read the links.

For more links, see Helpful Links.

Tutorials[edit | edit source]

Warning: These are outdated Risugami's ModLoader tutorials. This page needs more tutorials for the modloaders specified in the talk page.

Setting up the MCP workspace[edit | edit source]

Setting up the MCP workspace allows you to access Minecraft and ModLoader's source code and begin modding. The tutorial provides step-by-step instructions for installing Sun Microsystem's and Oracle's Java SE Developer's Kit(JDK), the Minecraft Coder Pack(MCP), Eclipse IDE for Java Developers, and other programs/mods required to begin modding. The tutorial is written for Windows, Mac, and Linux operating systems.

Starting your first mod[edit | edit source]

This tutorial helps you set up and program the primary file for your mod. This file serves a very important purpose. In future tutorials, they will require that you have entered the code explained in this tutorial. This tutorial requires that you have completed the Setting up the MCP Workspace tutorial first.

Methods in Minecraft[edit | edit source]

This guide contains a table that lists how blocks, items, and entities are referenced in the code. These references are listed as methods. This is useful in many tutorials below.

Adding a block/item[edit | edit source]

This guide will teach you how to create your very own block.

This guide will teach you how to create your very own item.

Mob Creation[edit | edit source]

This tutorial shows you how to create a mob with Techne.

Adding recipes[edit | edit source]

This tutorial teaches you how to create unique and simple crafting recipes for items and/or blocks already in the game. It also guides you in creating shapeless recipes and smelting recipes in the Furnace. This tutorial requires that you have completed the Starting your First Mod tutorial.

Making a recipe is not as hard as it looks. All you have to do is figure out what blocks/items you want to be used in you item. Then you insert the items used and you're done!

Creating an armor set[edit | edit source]

Recompiling and reobfuscating[edit | edit source]

This tutorial is quite small, and allows you to finalize your mod by retrieving the .class files you have created and/or edited to be copied into the minecraft.jar. By sending these .class files to other players, they can play your mod as long as they have ModLoader installed.

Tips[edit | edit source]

  • One of the simplest types of mod is adding new blocks or items. Copy a similar class, and rewrite it as necessary. If the new block or item will share most of its behavior with an existing one, it may be easier to subclass that one and override only the parts that will be different. Depending on the desired behavior and how it will interact with other objects, it may be necessary to modify other classes, which makes it more likely to conflict with other mods.

Creating mods without MCP[edit | edit source]

Sometimes it is useful to create mods without MCP. For example, MCP is usually not released for snapshots.

To create mods without MCP you must either decompile obfuscated code or modify java bytecode. Decompiling is easy, but you can decompile only simple classes.