fisherman77's Modding Tutorials
All should work for 1.6.4, with maybe some minor changes in method names in NPC. Let me know if you have problems.
Hello again. Looks like we're back with an update that changes a lot. So I figured I mine as well document what I learn as I go. This is gonna be pretty relaxed, so I might write up a big, extensive tutorial documenting and explaining everything, I might just copy and paste another tutorial or some code, or I might just put a link to something helpful. The catch is I'm gonna do my best to keep everything updated.
If you have any comments or questions (or requests, once we all get a little more comfortable in 1.6.2), please leave a reply. Also, I admire simo_415's way of doing things (as you can see from my tutorial list), so if you can, please leave a tutorial as a reply on this thread & I can link to it below:
First Steps:
Setting Up MCP & Forge
Minecraft Version: 1.6.4
Authors: Sprite99 (Original Author) & fisherman77
Setting Up Eclipse
Minecraft Version: 1.6.4
Authors: Sprite99 (Original Author) & fisherman77
Setting Up GitHub
Minecraft Version: all
Authors: fisherman77
Creating a Basic Mod
Minecraft Version: 1.6.4
Authors: DeverionX (Original Author, I think) & fisherman77
Packaging Your Mod for Distribution
Minecraft Version: 1.6.4
Authors: fisherman77
Blocks:
Creating a Basic Block
Minecraft Version: 1.6.4
Authors: fisherman77
Crafting and Smelting Recipes
Minecraft Version: 1.6.4
Authors: fisherman77
Items:
Creating a Basic Item
Minecraft Version: 1.6.4
Authors: fisherman77
Crafting and Smelting Recipes
Minecraft Version: 1.6.4
Authors: fisherman77
Mobs:
Creating a Basic NPC
Minecraft Version: 1.6.4
Authors: fisherman77
Creating a Custom Modeled Mob
Minecraft Version: 1.6.4
Authors: fisherman77
1
For the basic set up, take a look over at fisherman77's guide!
= Easy
= Normal
= Advanced
Basic Block
Main Class
BlockCopperOre
CommonProxy
Basic Item
Main Class
Add this under
Add this under PreInit
Common Proxy
Add this!
ItemCopperIngot
Crafting and Smelting Recipe
Imports you will need.
Crafting Recipe
The Recipe will be like this = Empty Empty
================== Empty Empty
================== Empty Empty =
Smelting Recipe
The Recipe will be like this = ->
Texture
This is the code from my BlockCopperOre. Now, how do you do textures? folder is the name of the folder, UnlocalizedName is the name of the texture. THE TEXTURE MUST BE A PNG PICTURE. For example if I used I will have to create a new folder in /forge/mcp/eclipse/Minecraft/bin called assets. inside the assets folder, you will have to create a new folder called ChickensBallz, then, inside THAT folder, create a new folder called textures, then, in the texture folder, create 2 folders called blocks and items. Finally, you can put your textures there.
Enchanted Effect on Items
Change true to false if you don't want the enchanted effect.
Here is the final code.
Tools tutorial coming soon?
Extended Tool Tips for Items
Result
Change the 6 in to other for other cool color/effects!
0 - Black
1 - Dark Blue
2 - Dark Green
3 - Cyan
4 - Dark Red
5 - Purple
6 - Gold
7 - Gray
8 - Dark Gray
9 - Blue
a - Green
b - Aqua
c - Red
d - Pink
e - Yellow
f - White
Format Code -
k - Random Stuffs
l - Bold
m -
Strikethroughn - Underline
o - Italic
Block Generation
Make a new class called CopperOreWorldGeneration
Copy and paste
Now... In your CommonProxy
1
1