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
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