MCreator is an open source software used to create Minecraft Java Edition mods, Bedrock Edition add-ons, and data packages using an intuitive, easy-to-learn interface or an integrated code editor. It is used worldwide by Minecraft players, mod makers, for educational purposes, and by STEM workshops.
MCreator Minecraft Mod Maker
By using the MCreator mod generator, you can create Minecraft mods, Bedrock Edition add-ons, and data packs without a single line of code. Although MCreator is a complete IDE, anyone can use it without any prior programming knowledge. MCreator is a great tool for learning how to mod Minecraft and the concepts of software programming.
Design your mods with wizards, WYSIWYG editors and other interface elements that make it easy to implement your mod idea.
Learn how coding can develop 21st century skills such as creativity, critical thinking, confidence, and communication while building academic and soft skills
What is Modding and Why Should You Care?
Modding is jargon for modifying or modifying Minecraft in some way. For example, if you want a block in Minecraft to look like a magic carpet and float like one, you can do so. There are many types of mods with varying degrees of complexity. Superficial changes like creating rainbow chickens can be done without coding, while deeper changes that govern the behavior of actors and even procedurally generate worlds can be done with code.
Gamers love mods as a way to express themselves in the community. By creating mods and add-ons for Minecraft, they learn to code, think critically, and write programs. They will see coding as a tool they can use to bring anything to life in their imaginations.
As coding is the primary method of creating mods in Minecraft, kids learn and apply the basics of programming such as repetition, conditionalities, functions, and variables to create mods and games that they can show off and play with their friends. Kids are incredibly motivated to learn how to mod as it allows them to do a lot more in Minecraft and really customize the worlds to their liking.
A quick note before we start: as of June 2020, this guide is now over 2 years old, it seems that some changes in the last two years (including changes to Gradle) have created additional problems for…
Getting Your Tools: Forge
Now we have to get Minecraft Forge, in particular we will want Minecraft Forge 1.7.10 because we will be modifying Minecraft 1.7.10. It’s important that the versions match, trust me. Head here to download the latest version of Minecraft Forge for version 1.7.10.
This is the Minecraft Forge site. You will notice that there are several downloads available. This time, ignore “Windows Installer” and download “Src”. It will be a .zip file, unpack it and drag the resulting folder to the MinecraftWorkspace directory we created with Eclipse in the previous step. Your MinecraftWorkspace directory should now look something like this:
Mods (short for “mods”) can modify or add items, blocks, entities, and much more. Presumably you already have an idea for the mod you want to create. If you just want to add custom upgrades, features, loot tables, structures, recipes or tags to your game, consider how to create…
Creating a mod for Forge
Identifying your mod
The project shipped with MDK is named “examplemod” with the package name “com.example.examplemod”. You will need to rename your own in the following places – rename class files – build.gradle – META-INF / mods.toml
Package names should be based on the domain name in reverse order, or a name that is not a valid domain name if you are not the owner of the domain name.
[Clearer TODO instructions, configure the MODID variable]
Setting up Item Registration
You can create a class for your definitions. Here we call it RegistryHandler, although some mods have separate classes for each type of object called ModItems, ModBlocks etc; and theoretically, you can just add it to the main class. Having at least one class file (or preferably a package) where registrations can be entered without any code unrelated to registration gives you better organization as you extend your mod.
In your main class, configure it to be automatically called at the appropriate time in the public ExampleMod constructor:
Creating a Custom Tool
Let’s make a simple spear that deals damage similar to a stone sword.
So, first we need to create a new directory in your package called tools. Then create a new Java enumeration named ModItemTier. In this file, you need to enter the following variant:
Then you need to register your item. Go to the item registry class [?] And create a new item like this one here:
The numbers are the base attack damage [added to the damage set in the ItemTier] and the speed modifier, the values chosen for example are the values between the sword and the ax.
Then you need to create a JSON file in src / main / resources / assets / examplemod / models / item named what you set before, for example:
Then go to the textures folder and enter the texture you will create in the next step. If you want to learn more about endurance, I recommend this page.
Custom Layers over Vanilla Textures
Textures from Scratch
Open an image editor, preferably one that supports transparency, and create a new image with a size that is a multiple of 16×16 (e.g. 32×32, 64×64 etc.)
Create a 32×32 pixel canvas in GIMP
This example uses a 32×32 pixel image and is made in GIMP.
Create the file making sure it is in pixels, not inches, millimeters, or any other dimension.
Create a new layer and remove the original canvas. If you don’t, your image will have a white background.
Using a 1×1 pixel brush, start drawing your object. Make sure to use separate layers for separate parts of an item to make it easier to make changes.
When you’re finished creating your artwork, hit the file to save. If you’re using GIMP or any other advanced editor, it won’t be saved as .png. In the case of GIMP, it saves as .xcf.
After making the spear, hit the file then save. Notice the lack of white in the background and the blank .png background instead.
Go to the export drop-down menu or press ctrl + e on Windows or ⌘ + E on macOS. This is to export the file. Make sure you are exporting as .png and not .jpg or any other file extension. If it is not saved as .png, it will have a white background and will not look correct.
Exporting spear stone art to your desktop. Note that it is exported as .png. Some parts have been censored for privacy reasons.
If you’ve been following this tutorial and want to use this image, you can download this pre-made pixel art here.
Creating a Custom Mob
Models from Scratch
The best way to model mobs is probably blockbench (blockbench site). Blockbench is a free modeling tool that would be much faster and easier than adopting another approach that is slow. If you want to model it with it, just make a cube, position it, rotate it, resize and position the model the way you want. If you need more cubes, you can easily make a new one. This is probably the best method for this. It is fast, easy and customizable.