Results 1 to 7 of 7
  1. #1
    Cal's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    MPGH faggots.
    Posts
    5,553
    Reputation
    394
    Thanks
    825

    [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

  2. The Following 2 Users Say Thank You to Cal For This Useful Post:

    dimy (04-22-2011),joquelekok (09-05-2011)

  3. #2
    Jakob's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    4,721
    Reputation
    237
    Thanks
    510
    My Mood
    Psychedelic
    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.

  4. #3
    Cal's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    MPGH faggots.
    Posts
    5,553
    Reputation
    394
    Thanks
    825
    Thanks man, If people like it ill add part 4 tonight.

  5. #4
    Jakob's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    4,721
    Reputation
    237
    Thanks
    510
    My Mood
    Psychedelic
    Doesnt concern me. although iv done everything youve posted, and irs all worked heaps well. Your a god.

  6. #5
    Cal's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    MPGH faggots.
    Posts
    5,553
    Reputation
    394
    Thanks
    825
    Quote Originally Posted by Drummermoose 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! .

  7. #6
    Jakob's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    4,721
    Reputation
    237
    Thanks
    510
    My Mood
    Psychedelic
    Epicness

  8. #7
    Cal's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    MPGH faggots.
    Posts
    5,553
    Reputation
    394
    Thanks
    825
    Well tell me when i should make it and itll happen LOL