• 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Quote from Guff

    bottle isn't a variable declared in your class. If you are trying to use the already existing bottle, you need to use Item.glassBottle, or you need to make a variable in your mod_ file if you are not.

    Ya im trying to use a bottle that i have already created in the recipe...
    So how would i do that?
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    Quote from NerdicusUltimus

    I beleive you use mod_[insert name here].[insert name here] for items, or add .blockId to the end. It might be .blockID. Try both.



    I get this error...

    == MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
    > Recompiling client...
    'javac.exe -g -source 1.6 -target 1.6 -classpath "lib;lib\*;jars\bin\minecraft.j
    ar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\lwjgl_util.jar" -sourcepath s
    rc\minecraft -d bin\minecraft src\minecraft\net\minecraft\client\*.java src\mine
    craft\net\minecraft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patc
    hes\ga.java conf\patches\Start.java' failed : 1
    
    == ERRORS FOUND ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_WaterBottle.java:20: error: cannot find symb
    ol
             "   ", "#$ ", "  ", Character.valueOf('#'), Item.bucketWater, Character
    .valueOf('$'), mod_Bottle.bottle
    
                             ^
    
      symbol:   variable bottle
      location: class mod_Bottle
    1 error
    1 warning
    ==================
    
    FATAL ERROR
    Traceback (most recent call last):
      File "runtime\recompile.py", line 31, in recompile
        commands.recompile(CLIENT)
      File "C:\Users\Admin\Desktop\Everything\Minecraft\Created\Mods\MCP\MCP\runtime
    \commands.py", line 736, in recompile
        self.runcmd(forkcmd)
      File "C:\Users\Admin\Desktop\Everything\Minecraft\Created\Mods\MCP\MCP\runtime
    \commands.py", line 779, in runcmd
        raise CalledProcessError(returncode, forkcmd, output)
    CalledProcessError: Command 'javac.exe -g -source 1.6 -target 1.6 -classpath "li
    b;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\l
    wjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecraft\net\mine
    craft\client\*.java src\minecraft\net\minecraft\isom\*.java src\minecraft\net\mi
    necraft\src\*.java conf\patches\ga.java conf\patches\Start.java' returned non-ze
    ro exit status 1
    Press any key to continue . . .






    This is My code...

    package net.minecraft.src;
    
    public class mod_WaterBottle extends BaseMod
    {
       public String Version()
       {
          return "1.1.0";
       }
    
    
    
      
    
      public mod_WaterBottle()
      {
             WaterBottle.iconIndex = ModLoader.addOverride("/gui/items.png", "/Doombob/Water Bottle.png");
             ModLoader.AddName(WaterBottle, "Water Bottle");
             
             ModLoader.AddRecipe(new ItemStack(WaterBottle, 1), new Object[] { 
             "   ", "#$ ", "  ", Character.valueOf('#'), Item.bucketWater, Character.valueOf('$'), mod_Bottle.bottle
             });
      }
    
      
       public static Item WaterBottle = (new ItemFood(401, 4, 1F, false)).setItemName("Water Bottle");
      
      
      
      
    @Override
    public String getVersion() {
            // TODO Auto-generated method stub
            return null;
    }
    
    @Override
    public void load() {
            // TODO Auto-generated method stub
            
    }  
    }
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    ok but i get this then...
    == MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
    > Recompiling client...
    'javac.exe -g -source 1.6 -target 1.6 -classpath "lib;lib\*;jars\bin\minecraft.j
    ar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\lwjgl_util.jar" -sourcepath s
    rc\minecraft -d bin\minecraft src\minecraft\net\minecraft\client\*.java src\mine
    craft\net\minecraft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patc
    hes\ga.java conf\patches\Start.java' failed : 1
    
    == ERRORS FOUND ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_WaterBottle.java:20: error: cannot find symb
    ol
             "   ", "#$ ", "  ", Character.valueOf('#'), Item.bucketWater, Character
    .valueOf('$'), bottle
    
                   ^
    
      symbol:   variable bottle
      location: class mod_WaterBottle
    1 error
    1 warning
    ==================
    
    FATAL ERROR
    Traceback (most recent call last):
      File "runtime\recompile.py", line 31, in recompile
        commands.recompile(CLIENT)
      File "C:\Users\Admin\Desktop\Everything\Minecraft\Created\Mods\MCP\MCP\runtime
    \commands.py", line 736, in recompile
        self.runcmd(forkcmd)
      File "C:\Users\Admin\Desktop\Everything\Minecraft\Created\Mods\MCP\MCP\runtime
    \commands.py", line 779, in runcmd
        raise CalledProcessError(returncode, forkcmd, output)
    CalledProcessError: Command 'javac.exe -g -source 1.6 -target 1.6 -classpath "li
    b;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\l
    wjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecraft\net\mine
    craft\client\*.java src\minecraft\net\minecraft\isom\*.java src\minecraft\net\mi
    necraft\src\*.java conf\patches\ga.java conf\patches\Start.java' returned non-ze
    ro exit status 1
    Press any key to continue . . .


    My code...

    package net.minecraft.src;
    
    public class mod_WaterBottle extends BaseMod
    {
       public String Version()
       {
          return "1.0.0";
       }
    
    
    
      
    
      public mod_WaterBottle()
      {
             WaterBottle.iconIndex = ModLoader.addOverride("/gui/items.png", "/Doombob/Water Bottle.png");
             ModLoader.AddName(WaterBottle, "Water Bottle");
             
             ModLoader.AddRecipe(new ItemStack(WaterBottle, 1), new Object[] { 
             "   ", "#$ ", "  ", Character.valueOf('#'), Item.bucketWater, Character.valueOf('$'), bottle
             });
      }
    
      
       public static Item WaterBottle = (new ItemFood(401, 4, 1F, false)).setItemName("Water Bottle");
      
      
      
      
    @Override
    public String getVersion() {
            // TODO Auto-generated method stub
            return null;
    }
    
    @Override
    public void load() {
            // TODO Auto-generated method stub
            
    }  
    }
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    I have a question. How do you add a modded item to a recipe?
    Posted in: Tutorials
  • 0

    posted a message on [Tutorial] I can help people make mods [12/12/11]
    I have a question. How do you add a modded item to a recipe?
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    I have a question. How do you add a modded item to a recipe?
    Posted in: Tutorials
  • 0

    posted a message on [Modding] ★ !~T90's Modding Tutorials~! ★ [1.1]
    I have a question. How do you add a modded item to a recipe?
    Posted in: Tutorials
  • 0

    posted a message on What mods would you recommend
    ADVENTURE CRAFT!
    Posted in: Mods Discussion
  • 2

    posted a message on TechGuy's Modding Tutorials
    Hi. I have a quick question... How do you add a modded item to a recipe?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Modded Item...
    Please Help me. I am wondering how to add a modded item to my recipe.
    Thanks in advance.
    - Doombob
    Posted in: Mods Discussion
  • 0

    posted a message on [1.1] The Early Sunrise [16x]
    Quote from lolo64

    feeedbaccck!


    Thank You!
    Posted in: Resource Packs
  • 0

    posted a message on [HELP] Error when De compiling MCP.
    Hey modders.
    I want to ask a favour from you guys. Everytime i decompile MCP i get a Error.

    == MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
    !! Updates available. Please run updatemcp to get them. !!
    > Creating Retroguard config files
    == Decompiling Client ==
    !! Modified jar detected. Unpredictable results !!
    > Creating SRGS for client
    > Applying Retroguard to client
    > Applying Exceptor to client
    > Unzipping the client jar
    > Applying jadretro
    > Decompiling...
    > Copying the client sources
    > Applying patches
    'runtime\bin\applydiff.exe -p1 -u -i ..\..\temp\temp.patch -d src\minecraft' fai
    led : 1
    
    
    
    
    
    == ERRORS FOUND ==
    
    1 out of 1 hunk FAILED -- saving rejects to file 'net\minecraft\src\RenderBlocks
    .#'
    ==================
    
    
    
    
    
    
    > Removing comments
    > Renaming sources
    > Reformating sources
    > Commenting OpenGL constants
    > Creating reobfuscation tables
    > Done in 108.94 seconds
    == Decompiling Server ==
    !! Missing jar file jars\minecraft_server.jar. Aborting !!
    == Post decompiling operations ==
    > Recompiling
    > Recompiling client...
    > Done in 12.51 seconds
    > Recompiling server...
    !! Can not find server sources !!
    > Generating the md5 (client)
    > Generating the md5 (server)
    Press any key to continue . . .


    If anyone could help me I would really Appreciate it.
    Thanks in Advance.
    - Doom-bob
    Posted in: Mods Discussion
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    hey i might have missid something but can you update the tuts for 1.1?
    Posted in: Tutorials
  • 0

    posted a message on Sonic Ether's Unbelievable Shaders [compatible with Minecraft 1.12.2 via OptiFine]
    Quote from sonicether

    I know all you guys are twiddling your thumbs in anticipation for 1.1!!! I swear I'm just wrapping everything up, the update will be in the original post within the hour!! It's gonna be worth the wait, the shadows have a new special surprise sincerely from me :smile.gif:

    NOOOOOOOOOOOOOOO!!!!!!!! 1 more hour!!!!!!!! NOOOOOOOOOOOOOOOOOOOOOOOOOO
    Posted in: Minecraft Mods
  • To post a comment, please .