Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[Creating Mods] Minecraft Forge [28/1/12]


  • Please log in to reply
389 replies to this topic

#1

Methuselah96

Posted 10 December 2011 - 03:16 PM

THESE ARE OUT OF DATE AND WILL BE UPDATED ASAP.

Please visit my main modding topic to vote for what tutorial I should make next.

Please Note: The titles that have smaller font are the ones that have been updated recently.

Table of contents:
How to install Minecraft Forge
How to use infinite terrain and sprite indexes
How to make an advanced configuration files
How to make a custom armor set
How to make custom filled buckets
How to make things grow with bonemeal
How to make a new redstone wire
How to make a custom item renderer - Coming Soon!
How to make a custom tool set
How to set the harvesting level for a block
How to remove tool effectiveness from a block
How to add your blocks and damage value items to creative mode
How to make a new ladder - Coming Soon!
How to make your block replaceable - Coming Soon!
How to use the ore dictionary - Coming Soon!
How to use version detect
How to add items to dungeon chests - Coming Soon!
...AND MORE

How to install Minecraft Forge
By: Methuselah96

How to use infinite terrain and sprite indexes

How to make an advanced configuration files

How to make custom filled buckets
By: DiEvAl

In this tutorial we'll be making a mod that allows players to put dirt into buckets (pretty useless as a real mod, but good for a tutorial).

In a real mod, you'll probably use this with custom liquids. This tutorial explains how to add custom liquids: http://www.minecraft...111-generation/ (by Strengthowns)

Spoiler:

How to make a custom armor set
By: Methuselah96

In this tutorial we'll be making a mod that adds a whole new set of armor.
Spoiler:

How to make things grow with bonemeal
By: Methuselah96
In this tutorial we'll be making a mod that allows players to use bonemeal to automatically grow plants.

In a real mod, you'll probably use this with a custom crop. This tutorial explains how to add custom crops and we will be using this code to start: http://www.minecraft...111-generation/ (by Strengthowns)
Spoiler:

How to make a custom tool set
By: Methuselah96

In this tutorial we'll be making a mod that adds a whole new set of tools.
Spoiler:

How to set the harvesting level for a block
By: Methuselah96

In this tutorial I'll be showing you how to set the harvesting level (or what type of pickaxe you need) for a block. This is extremely easy.
Spoiler:

How to remove tool effectiveness from a block
By: Methuselah96

In this tutorial I'll be showing you how to remove the thing that makes diamond pickaxes mine faster for a block. This is also extremely easy.
Spoiler:

How to add your blocks and damage value items to creative mode
Spoiler:

How to make a new redstone wire
By: Methuselah96

In this tutorial I'll be showing you how to make a block that can connect to redstone wire.
Spoiler:

How to use version detect
Spoiler:

Posted Image

Register or log in to remove.

#2

KMeister
    KMeister

    Diamond Miner

  • Members
  • 829 posts
  • Location: Somewhere in South America...
  • Minecraft: KMEISTER

Posted 10 December 2011 - 03:19 PM

Do you know how to install forge on a Mac 

#3

Methuselah96

Posted 10 December 2011 - 03:29 PM

View PostKMeister, on 10 December 2011 - 03:19 PM, said:

Do you know how to install forge on a Mac 

Yes, I do and I can tell you how to as long as you have the ModLoader and ModLoaderMP already installed in MCP.
Posted Image

#4

KMeister
    KMeister

    Diamond Miner

  • Members
  • 829 posts
  • Location: Somewhere in South America...
  • Minecraft: KMEISTER

Posted 10 December 2011 - 08:23 PM

Because I was thinking of making my mod Forge compatible but I wasn't sure if it was worth it

#5

Methuselah96

Posted 10 December 2011 - 09:28 PM

yeah all you have to do is run install.sh instead of install.bat
easy.
Posted Image

#6

DiEvAl
    DiEvAl

    Lapis Lazuli Collector

  • Members
  • 1197 posts
  • Location: UTC+3
  • Minecraft: DiEAl

Posted 13 December 2011 - 10:09 PM

@Methuselah96: Do you need help with writing these tutorials?
  • 1) You are on the internet.
  • 2) You are on minecraftforum.net.
  • 3) You are reading DiEvAl's sig.
  • 5) You didn't notice that there is no 4.
  • 6) You just checked it.

#7

Methuselah96

Posted 13 December 2011 - 10:20 PM

View PostDiEvAl, on 13 December 2011 - 10:09 PM, said:

of?



@Methuselah96: Do you need help with writing these tutorials?

no, i don't NEED help but we can make this like a collaboration tutorial of many writers and this could be like the "official mcforge tuts"

go ahead and write some if you want
Posted Image

#8

oOoTAYoOo
  • Minecraft: iXenocider

Posted 14 December 2011 - 12:59 AM

I can't figure out how to install MCForge, I keep getting errors, in a few files. If you could put a video link or PM me that would be awesome!

Nevermind i downloaded the wrong files
Check out my YOUTUBE
I make Minecraft Videos, So subscribe if you like it and ask me if you want me to do an adventure map!

#9

Rashed97
  • Location: Undisclosed
  • Minecraft: Rashed97

Posted 14 December 2011 - 02:14 AM

Can you describe how to specify the coordinates for the block textures on a personal terrain.png file. My block is black and white and so is my item.

Thanks,
Rashed
Rashed Abdel-Tawab, New Natural Materials Project Leader
Posted Image

#10

Methuselah96

Posted 14 December 2011 - 02:29 AM

does this help?:

Posted Image
Posted Image

#11

oOoTAYoOo
  • Minecraft: iXenocider

Posted 14 December 2011 - 02:30 AM

Can you make a tutorial on how to add things like a new wheat, or could you PM me on how to do that?
Check out my YOUTUBE
I make Minecraft Videos, So subscribe if you like it and ask me if you want me to do an adventure map!

#12

Methuselah96

Posted 14 December 2011 - 02:33 AM

View PostoOoTAYoOo, on 14 December 2011 - 02:30 AM, said:

Can you make a tutorial on how to add things like a new wheat, or could you PM me on how to do that?

sure i should have it up by tomorrow
Posted Image

#13

Valcain
    Valcain

    Gold Miner

  • Members
  • 366 posts
  • Location: Fontana, California
  • Minecraft: Valcain

Posted 14 December 2011 - 02:34 AM

Is there any way you could make videos? I can understand what you have up there so far, but, it's even easier with video tutorials :x

Posted Image


#14

oOoTAYoOo
  • Minecraft: iXenocider

Posted 14 December 2011 - 02:37 AM

View PostMethuselah96, on 14 December 2011 - 02:33 AM, said:

sure i should have it up by tomorrow
Awesome and not to pressure you with stuff but also custom armor that doesn't edit original MC classes(If you know how). BOOKMARKED!
Check out my YOUTUBE
I make Minecraft Videos, So subscribe if you like it and ask me if you want me to do an adventure map!

#15

Rashed97
  • Location: Undisclosed
  • Minecraft: Rashed97

Posted 14 December 2011 - 02:47 AM

View PostMethuselah96, on 14 December 2011 - 02:29 AM, said:

does this help?:

Posted Image

Sorry, but not really, it still shows it black and white. I know how to do it for the items (.setIconCoord(x, y)) but i don't for the terrain.png. I've looked at your mod (CamelOre) and I STILL don't get it...

Thanks in advance

Rashed
Rashed Abdel-Tawab, New Natural Materials Project Leader
Posted Image

#16

DiEvAl
    DiEvAl

    Lapis Lazuli Collector

  • Members
  • 1197 posts
  • Location: UTC+3
  • Minecraft: DiEAl

Posted 14 December 2011 - 08:25 AM

View PostMethuselah96, on 13 December 2011 - 10:20 PM, said:

no, i don't NEED help but we can make this like a collaboration tutorial of many writers and this could be like the "official mcforge tuts"

go ahead and write some if you want
Sorry. I wanted to say "Can I help". I should stop typing after midnight...


I'll write a tut about buckets.


EDIT: in your tutorial about textures you said "path to an items.png". Shouldn't it be "path to items.png" because "items" is plural?
  • 1) You are on the internet.
  • 2) You are on minecraftforum.net.
  • 3) You are reading DiEvAl's sig.
  • 5) You didn't notice that there is no 4.
  • 6) You just checked it.

#17

Methuselah96

Posted 14 December 2011 - 11:39 AM

View PostValcain, on 14 December 2011 - 02:34 AM, said:

Is there any way you could make videos? I can understand what you have up there so far, but, it's even easier with video tutorials :x

i could make video tutorials, but right now i don't think it would be worth it

View PostoOoTAYoOo, on 14 December 2011 - 02:37 AM, said:

Awesome and not to pressure you with stuff but also custom armor that doesn't edit original MC classes(If you know how). BOOKMARKED!

yes, i do know ho to make custom armor without any edited base files

View PostRashed97, on 14 December 2011 - 02:47 AM, said:

Sorry, but not really, it still shows it black and white. I know how to do it for the items (.setIconCoord(x, y)) but i don't for the terrain.png. I've looked at your mod (CamelOre) and I STILL don't get it...

Thanks in advance

Rashed

did you see my picture up above
it starts at the top left corner being 0
then it goes to the square on the right of that being 1
it goes all the way across the top until 15
then it skips down the first square on the second row
and it goes across that row until 31
then 32-63 is on the third row and so on and so on

View PostDiEvAl, on 14 December 2011 - 08:25 AM, said:

Sorry. I wanted to say "Can I help". I should stop typing after midnight...


I'll write a tut about buckets.


EDIT: in your tutorial about textures you said "path to an items.png". Shouldn't it be "path to items.png" because "items" is plural?

haha, thanks for trying to correct my grammer but the noun is singular because it is just one image

i have to go now or else i would explain the grammer thing more
and i will put your tutorial up soon
Posted Image

#18

Rashed97
  • Location: Undisclosed
  • Minecraft: Rashed97

Posted 14 December 2011 - 12:49 PM

Yes I did see the picture. but where do I put these numbers?
If I put them after the block id I tried but it still won't work!
If you need my files I will be happy to send them to you!!!

Thanks again
Rashed
Rashed Abdel-Tawab, New Natural Materials Project Leader
Posted Image

#19

LexManos
    LexManos

    Zombie Killer

  • Members
  • 233 posts

Posted 14 December 2011 - 01:36 PM

When it comes to Blocks, the 2nd int in most constructors is the texture index.
It sets blockIndexInTexture to that number.
Blocks don't have a .setIconCoords function but all that function does is textureID = (y * 16) + x;
Posted Image

#20

Tronnyi
    Tronnyi

    Tree Puncher

  • Members
  • 28 posts

Posted 14 December 2011 - 01:37 PM

Sry if this is a stupid question but dous this ore acually generate? because i cant see the genaration-code anywhere in your tutorial..