• 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Quote from PROWNE »
    Quote from BlockAfterBlock »
    Hey, I'm trying to add a new block and a new recipe but when I recompile I get this error.
    sources\minecraft\net\minecraft\src\Block.java:783: cannot find symbol
    symbol: class BlockExample
    location: class net.minecraft.src.Block
    example = (new BlockExample(666,2)).setHardness(1.5F).setResistance(10F).setStepSound(soundStoneFootstep);

    1 error.

    I'm a coding noob and need help.


    Have you made the class "BlockExample.java"? Also, your block ID (666) is way too high for a block. Block IDs must be kept within 1-127 (or 1-255 if you're using Shockah's More Block IDs mod).

    - PROWNE


    Yes, I made a class called BlockExample.java. I changed the block id to 99 and noticed no change. Heres the code I have for
    Block.java
            example = (new BlockExample(99, 2)).setHardness(0.5F).setResistance(0.5F).setStepSound(soundGrassFootstep).setBlockName("test");

    BlockExample.java
    package net.minecraft.src;
    
    import java.util.Random;
    
    public class BlockExample extends Block
    {
        public BlockExample(int i, int j)
        {
            super(i, j, Material.rock);
        }
    
        public int idDropped(int i, Random random)
        {
            return 0;
        }
    }

    CraftingManager.java
            addRecipe(new ItemStack(Block.example, 1), new Object[] {"##", "##", Character.valueOf('#'), Block.dirt
            });


    Help! Please and thanks.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Hey, I'm trying to add a new block and a new recipe but when I recompile I get this error.
    sources\minecraft\net\minecraft\src\Block.java:783: cannot find symbol
    symbol: class BlockExample
    location: class net.minecraft.src.Block
    example = (new BlockExample(666,2)).setHardness(1.5F).setResistance(10F).setStepSound(soundStoneFootstep);

    1 error.

    I'm a coding noob and need help.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Hey, I'm trying to add a new block and a new recipe but when I recompile I get this error.
    sources\minecraft\net\minecraft\src\Block.java:783: cannot find symbol
    symbol: class BlockExample
    location: class net.minecraft.src.Block
    example = (new BlockExample(666,2)).setHardness(1.5F).setResistance(10F).setStepSound(soundStoneFootstep);

    1 error.

    I'm a coding noob and need help.
    Posted in: Tutorials
  • 0

    posted a message on [Adv] Escape The Office (10,000+ DL!)
    The rest of the map was fine, but short. When through the wall where the back door wasn't and got to see a little more.
    Posted in: Maps
  • 0

    posted a message on [Adv] Escape The Office (10,000+ DL!)
    in the room with the broken floor and the chest with a redstone torch, you can simply just open the chest from the water. (You don't actually need to make all of the jumps)
    Posted in: Maps
  • 0

    posted a message on [Map] Deadcraft: Quarantine
    Pictures?
    Posted in: Mods Discussion
  • 0

    posted a message on [Map]Zombie Survival
    Have several rooms that you have to go through to get outside. Make the rooms get more challenging.
    Posted in: Mods Discussion
  • 0

    posted a message on [Map]Zombie Survival
    Fun for a few minutes. No objective. Needs an objective. People could post how many feathers they have as a hi score.
    Posted in: Mods Discussion
  • 0

    posted a message on Diamond Mine (Beta 1.3 Map Updated)
    Quote from Loosedgrunt »
    Quote from BlockAfterBlock »
    dude that was fun. You should add a course 2. (and extend the first course.)
    Very fun. :smile.gif: Here's some diamonds. :Diamond: :Diamond: :Diamond: :Diamond: :Diamond:

    I was thinking of making another. I just need some ideas. The comments you guys leave are very helpful. Would a zombie related map be cool?


    Zombies would be awesome!
    Posted in: Maps
  • 0

    posted a message on Diamond Mine (Beta 1.3 Map Updated)
    Quote from theshinooba »
    hey probably a silly question but how do i get onto the map? i have the file but i don't know how to patch it into the game. :smile.gif: any help would be useful thanks

    You open the .rar file with a program call WinRaR. The you extract the folder inside the .rar to you Minecraft saves folder. To find your Minecraft saves folder, go to start, search for Run, open it, type %appdata%, and click OK. Open the .minecraft folder. Now open the saves folder. Put the folder inside the .rar into the saves folder. Start up minecraft and it should be in the list of worlds.
    Posted in: Maps
  • 0

    posted a message on Diamond Mine (Beta 1.3 Map Updated)
    dude that was fun. You should add a course 2. (and extend the first course.)
    Very fun. :smile.gif: Here's some diamonds. :Diamond: :Diamond: :Diamond: :Diamond: :Diamond:
    Posted in: Maps
  • To post a comment, please .