• 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    OK, thanks. I was just wondering if that error affected it. I have installed modloader and now I have to find out the coding... uhhggg... So do you make a mod_***.java folder AND a Block***.java folder? and do you put anything in the Block.java and the CraftingManager.java??? please help!
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    Ok, everytime I add the ModLoader class files to the minecraft.jar that is located inside the bin folder and the bin folder is located in the jars folder. Is that the right place to put the ModLoader class files? The error says something about hunks and the RenderBlocks.# folder... So can someone explain to me how to fix this?
    Code::
    == ERRORS FOUND ==
    
    2 out of 2 hunks FAILED -- saving rejects to file 'net\minecraft\src\RenderBlock
    s.#'
    ==================
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    OK, is there a way to get colored wool and dyes WITHOUT modloader?!?!? I have been trying to figure out modloader coding but I cant seem to get it. I always get errors whenever I try doing modloader coding! AHH!!!! It is very frustrating. So is there a way to get colored wool without modloader OR can someone PM me a detailed tutorial on modloader coding. Thank you to anyone who helped and THANK YOU to mr.hobo!
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    Hi, I have been working on making my test mod compatible with ModLoader. (uhhg... such a pain). So I have had to manipulate the mod_CompanionCube.java to get rid of A LOT of errors. This is my NEW mod_CompanionCube.java file:
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode 
    
    package net.minecraft.src;
    
        public class mod_OurMods extends BaseMod
        {
           public static final Block CompanionCube;
           
           static
           {
              CompanionCube = (new Block(100, ModLoader.addOverride("/terrain.png", "/CompanionCube.png/CompanionCube.png"), Material.rock)).setHardness(0.0F).setStepSound(Block.soundStoneFootstep).setBlockName("CompanionCube");
           }
           
           public mod_OurMods()
           {
              ModLoader.AddName(CompanionCube, "Companion Cube");
              
              ModLoader.RegisterBlock(CompanionCube);
              
              ModLoader.AddRecipe(new ItemStack(CompanionCube, 1), new Object[] {
              "x#x", "#S#", "x#x", Character.valueOf('x'), Block.obsidian, Character.valueOf('#'), Item.ingotIron, Character.valueOf('S'), Block.stone
            });                          
        
    Ok, that is my new mod_CompanionCube.java file. But this is the error I get::
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\mod_CompanionCube.java:24: reached end of file w
    hile parsing
    });
    ^
    
    1 error
    ==================

    Ok, that is the error. I have been going through it but I cant seem to fix it. Ok, I hope someone helps me!
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    Quote from StrongJoshua

    Next time specify what you are replying to.
    StrongJoshua, do you know what the code is for colored cloth? I'v been wondering this for a while. I am trying to make blocks that need color cloth in order to be crafted. But I dont know what to put for the code in craftingmanager.java. So can you just help me?
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    Quote from Taieb912

    What do you do for mac since there's no Java SDK for it?
    install JDK instead. thats what I did and I made a NEW BLOCK! haha ya just download the JDK thing.
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    Ok I am wondering what is the code for Red Wool and other colors when making a recipe. So I am making a bunch of cubes that are the same, but different colors. Someone please help!

    addRecipe(new ItemStack(Block.CompanionCube, 1), new     Object[] {
                "x#x", "#S#", "x#x", Character.valueOf('x'), Block.obsidian, Character.valueOf('#'), Item.ingotIron, Character.valueOf('S'), Block.stone
     });

    I want to change
    Block.stone

    to cloth, but like, red cloth, and blue cloth! Help!
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    Quote from StrongJoshua

    You need to say [code](new BlockSuperBlock[/code]Next time put your code in code tags [code ][/ code] because it's easier to read.
    Thank you! also thanks for the tip! :laugh.gif: :laugh.gif:
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial]THE QUICKEST PATH TO MODDING: Complete Beginner
    Ok, So just as a test for my first "Block Mod"... I did SuperBlock.

    ERRORS:

    == ERRORS FOUND ==

    src\minecraft\net\minecraft\src\Block.java:856: cannot find symbol
    symbol : class SuperBlock
    location: class net.minecraft.src.Block
    SuperBlock = (new SuperBlock(100, 30)).setHardness(0.5F).setStepSound(soundCloth
    Footstep).setBlockName("SuperBlock");
    ^


    1 error

    ===================
    So can someone please help me!
    Posted in: Tutorials
  • 0

    posted a message on Sneak Class file
    Hey, I was just wondering what the class file is called that lets you sneak. I have been looking through the "src" classes in MCP and I cant find it. I want to make it so that it is toggleable. I might change the name plate settings too. So can you just leave a comment saying what class file its called, Thanks!

    **EDIT**
    Ok, so I got the speed set to: 1.0 for sneak. But now I want to know how to make it toggleable and the nameplate options. Thanks for any help!
    Posted in: Mods Discussion
  • To post a comment, please .