[Tutorial]Become a MC Modder EASY [Part 3]

Posts 1–7 of 7 · Page 1 of 1
[Tutorial]Become a MC Modder EASY [Part 3]


Creating a block drop mod.
This will allow you to drop 64 stone when you mine normal stone

Information:
This next tutorial youll learn how to change block drop value.
Enjoy. Hoping you have followed How to become a MC Modder Then you should be all set. i suggest you read part 2 aswell.

Instructions:
Open Notepade++
Open your MCP (Minecraft COders Pack) Folder
Open your srs/Source colder and find BlockStone
Now, first, if it isnt already there add this
Code:
import java.util.Random;
After this:
Code:
package net.minecraft.src;
Now, even if it was already this, you have to do this if your doing this to other things that done have a drop/drop value.
Now scrool right to the bottom
Now first things first, find this
Code:
public int idDropped(int i, Random random)
    {
        return Block.cobblestone.blockID;
    }
Now edit it and change it to this
Code:
public int idDropped(int i, Random random)
    {
        return Block.stone.blockID;
    }
This makes it drop pure stone instead of gay cobble stone, well you can change this if you need to.
Now we add the new drop value
Code:
 public int quantityDropped(Random random)
    {
        return 0;
    }
add that right at the bottom butt before the
Code:
}
at the end.

Now Recompile with recompile.bat in your Minecraft Coders Pack folder.
Now edit the config file in the MCP/Config the .txt document and add what you modified, so we modified entityplayer so add that and save it
now start the reobfuscate and get the class files in the final_out folder


Enjoy. Credits to me
oh wow. in like what 20 mins? Fantastic job man. if anyway flames at you for spamming, 1. blame me :P 2. it isnt spam if its awesone tuts. good job.
Thanks man, If people like it ill add part 4 tonight.
Doesnt concern me. although iv done everything youve posted, and irs all worked heaps well. Your a god.
Quote Originally Posted by Jakob View Post
Doesnt concern me. although iv done everything youve posted, and irs all worked heaps well. Your a god.
Thanks alot, next will be how to make TNT massive! .
Epicness
Well tell me when i should make it and itll happen LOL
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us