PARTICIPANT IN A FINALISTS JAM
This Blog is an entry in the completed Minetorials : Tutorials with a Minecraft Theme.

Minecraft Blogs / Tutorial

How to make Non-ModLoader mods!

  • 766 views, 1 today
  • 4
  • 2
  • 22
koolkat_gold's Avatar koolkat_gold
Level 44 : Master Nether Knight
54
Hi guys, I was making my second Java mod (actual mod), and I thought I would make a tutorial for making NON-ModLoader mods. (Sorry for no spoilers, but PMC spoilers work weird....) This stuff doesn't require much Java knowledge, because, well.... I am not a very good Java Coder. If you haven't already installed MCP and Eclipse, please do that before reading this tutorial.
PS: If you make any mods with this tutorial, please post the link! I would love to see the work of the people i helped!

Non-ModLoader Mod Types include the following:
1: Changing Entity Drops.
2: Adding vanilla blocks to creative inventory.
3: Re-modeling vanilla mobs.
There are many more kinds of non-modloader mods but these mods are the ones I will be going over.
(#3 will take a while, but I WILL eventually make it. Don't expect it yet.)

Tutorial: After you save .java files!

1: In MCP, run recompile.bat.
2: Then run reobfuscate.bat.
3: Go to the folder "reobf".
4: Keep going until you fin .class files.
5: Extract the .class files out of the folder.
6: Put the .class file(s) in a .zip file so you can upload it to PMC!
7: Go back to MCP and run cleanup.bat. This is so that you can make another mod!

Changing Entity Drops!
1: Locate the Entity____.java file, where ____ is the name of the entity you are modding. Let's use creepers for an example.
2: Open that file.
3: Locate the line that says "return Item.gunpowder.shiftedIndex;".
4: Let's say we wanted the creeper to drop a gold ingot instead. You would change "Item.gunpowder.shiftedIndex;" to "Item.diamond.shiftedIndex;".
5: Repeat on all mobs you want to edit.
6: Save each file.

Adding Vanilla Blocks to Creative Inventory!
1: Locate ContainerCreative.java.
2: If you are adding a block, put ", Block." at the end of the blocks list. A drop-down will show up where you can choose blocks to put there.
3: Save ContainerCreative.java.

Remodeling Vanilla Mobs!
COMING SOON!
CreditMCP, Java, Mojang AB
Tags

Create an account or sign in to comment.

1
08/15/2012 9:31 pm
Level 26 : Expert Dragonborn
Dragonfly3D
Dragonfly3D's Avatar
item.diamond = gold ingot? FAIL.
i know basic code also, but for unity 3d
1
08/09/2012 8:51 pm
Level 35 : Artisan Creeper Hugger
Dave_the_Beast
Dave_the_Beast's Avatar
why no work
1
08/09/2012 8:53 pm
Level 44 : Master Nether Knight
koolkat_gold
koolkat_gold's Avatar
read some professional tutorials. put the modloader files INTO the jars/bin/minecraft.jar. then delete meta-inf its so simple why do you not understand.
1
08/09/2012 7:28 pm
Level 35 : Artisan Creeper Hugger
Dave_the_Beast
Dave_the_Beast's Avatar
I did what you said and no work
1
08/09/2012 8:15 pm
Level 44 : Master Nether Knight
koolkat_gold
koolkat_gold's Avatar
read some professional tutorials.
1
08/09/2012 4:17 pm
Level 35 : Artisan Creeper Hugger
Dave_the_Beast
Dave_the_Beast's Avatar
Help!!! I did modloader and there are no FILES!!!!!
1
08/09/2012 7:26 pm
Level 44 : Master Nether Knight
koolkat_gold
koolkat_gold's Avatar
Please calm down and read some professional tutorials.
1
08/08/2012 10:29 am
Level 35 : Artisan Creeper Hugger
Dave_the_Beast
Dave_the_Beast's Avatar
Wheres JDK???????
1
08/06/2012 8:53 pm
Level 35 : Artisan Creeper Hugger
Dave_the_Beast
Dave_the_Beast's Avatar
It no work D:!Maybe you comeover tommorow
1
08/04/2012 9:55 am
Level 35 : Artisan Creeper Hugger
Dave_the_Beast
Dave_the_Beast's Avatar
And how setup?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome