• 0

    posted a message on TechGuy's Modding Tutorials
    Quote from LukeZaz

    Post your code so we can look at it. Also, that idea sounds bad but I'll try it.



    Eclipse IDE for Java developers, Should be at the top of the list.

    Thanks for the reply, i made my mod in classic, so maybe that's why i don't get my block :)
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    Which eclipse am i going to download? the Eclipse IDE for java EE developers,Eclipse classic or Eclipse IDE for Java developers?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Mods for SMP?
    Hey,
    Me and my friends want to have something more to do on a server. We think it is a little boring just going around looking for diamonds.
    So if you know about a good mod for SMP (not a money mod or something like that) please post on this thread
    Posted in: Minecraft Mods
  • 0

    posted a message on How can i make my block spawn and smelt?
    Quote from Briggy_Bros

    Copy and paste your code and I can make sure that you did not do anything wrong..

    Here is the two classes i have made:
    package net.minecraft.src;
    public class Mod_lol extends BaseMod
    {
    
    public static final Block HellstoneBlock;
    
    static
    {
     
      HellstoneBlock = (new BlockHellstoneBlock(123, ModLoader.addOverride("/terrain.png","/mods/HellstoneBlock.png" ))).setHardness(3F).setResistance(5F).setStepSound(Block.soundWoodFootstep).setBlockName("Hellstone");
    }
    
    
    public Mod_lol()
    {
      ModLoader.registerBlock(HellstoneBlock);
      ModLoader.addName(HellstoneBlock, "HellstoneBlock Ore");
     
      ModLoader.addSmelting(Block.planks.blockID, new ItemStack(HellstoneBlock, 1));
     
    }
    
    public void load()
    {
     
    }
    
    
    
    public String getVersion()
    {
     
      return "Minecraft 1.2.3 and above Prøving Mod";
     
    }
    }

    And here is the one for the block:
    package net.minecraft.src;
    import java.util.Random;
    public class BlockHellstoneBlock extends BlockStone
    {
    
    public BlockHellstoneBlock(int i, int j)
    {
      super(i, j);
    }
    
    public int quantityDropped(Random random)
    {
      return 1;
     
    }
    
    public int idDropped(int i, Random random, int j)
    {
      return Item.coal.shiftedIndex;
    }
    
    }

    It is going to drop coal until i get the ingot in :)
    Posted in: Modification Development
  • 0

    posted a message on How can i make my block spawn and smelt?
    my code is just as same as yours, so maybe i did something wrong at the instalation. I try out TechGuy's tutorials tomorrow :)
    Thanks for the replies
    Posted in: Modification Development
  • 0

    posted a message on How can i make my block spawn and smelt?
    Hey
    I want to make my own mod, i got all the textures i want to have and all that stuff, but i can't get my block to smelt (have not tried to get it to spawn naturally)
    If you know something, or know about a very good tutorial, please tell me :D
    Posted in: Modification Development
  • 0

    posted a message on A few things that I need help with.
    Quote from wuppy21

    Melthar take a look at this.


    is it not a little outdated?
    Posted in: Modification Development
  • 0

    posted a message on A few things that I need help with.
    I don't know how to help you, but can you help me?
    I need help to get my block to spawn and how to smelt it.
    Also can you please tell me how to create items?
    Posted in: Modification Development
  • 0

    posted a message on Mrsal511's Modding Tutorials (With Video)
    Quote from austinll



    When i posted the error that was an error i had but sometime between when you replied and i posted that i fixed it. when i said i dont care for it i didn't mean it to be jerk i meant it by it had already been dealt with. Now I've stumbled upon another error where the thing says there is no errors in my coding but when i load it the game doesn't crash but the block doesn't spawn or smelt. here is the code:
    the base file
    package net.minecraft.src;
    import java.util.Random;
    public class Mod_Moreore extends BaseMod
    {
    
    public static final Block PlatinumOre;
    
    
    static
    {
    
      PlatinumOre = (new BlockPlatinumOre(201, ModLoader.addOverride("/terrain.png", "/Moreore/PlatinumOre.png"))).setHardness(4.0F).setResistance(6.0F).setStepSound(Block.soundStoneFootstep).setBlockName("PlatinumOre");
    
    }
    
    
    public Mod_Moreore()
    {
    
      ModLoader.registerBlock(PlatinumOre);
      ModLoader.addName(PlatinumOre, "Platinum Ore");
    
      ModLoader.addSmelting(Block.planks.blockID, new ItemStack(PlatinumOre, 1));
    
    }
    
    public void generateSurface(World world, Random rand, int chunkx, int chunkz)
    {
      //Platinum Ore
    
      for(int l = 0; l<45; l++)
      {
    
       int i1 = chunkx +rand.nextInt(16);
       int j1 = rand.nextInt(64);
       int k1 = chunkz + rand.nextInt(16);
    
       (new WorldGenMinable(PlatinumOre.blockID, 20)).generate(world, rand, i1, j1, k1);
    
      }
      //end Platinum Ore
    
    }
    
    
    public void load()
    {
    
    }
    
    
    public String getVersion()
    {
    
      return "Minecraft 1.2.3 Moreore mod";
    
    }
    }


    and the block

    package net.minecraft.src;
    import java.util.Random;
    public class BlockPlatinumOre extends BlockStone
    {
    public BlockPlatinumOre(int i, int j)
    { 
      super(i, j);
    }
    
    public int quantityDropped(Random random)
    {
      return 1;
    
    }
    
    public int idDropped(int i, Random random, int j)
    {
      return Mod_Moreore.PlatinumOre.blockID;
    }
    
    }


    I got the same problem :(
    If you find out how to fix it, PLEASEEEE help me
    Posted in: Tutorials
  • 0

    posted a message on Why did you start playing Minecraft?
    I watched CaptainSparklez TNT parody on youtube, and i thought it was a really crappy game.
    After 2 weeks I was bored, so i just downloaded it to have something to do. I liked it very much, but the first time i killed a monster was after a week in realtime.
    A month later me and my friends bought it in the same week, and I have loved it from that time :)
    Posted in: Discussion
  • 0

    posted a message on Mrsal511's Modding Tutorials (With Video)
    Why won't my block smelt?!?
    I did exactly what you did in the smelting tutorial, i got none errors and stille my block won't smelt.
    Please tell me what wrong. Here is my code
    package net.minecraft.src;
    
    public class Mod_lol extends BaseMod
    {
        
        public static final Block HellstoneBlock;
        
        static
        {
            
            HellstoneBlock = (new BlockHellstoneBlock(123, ModLoader.addOverride("/terrain.png","/mods/HellstoneBlock.png" ))).setHardness(3F).setResistance(5F).setStepSound(Block.soundWoodFootstep).setBlockName("Hellstone");
        }
        
        
        public Mod_lol()
        {
            ModLoader.registerBlock(HellstoneBlock);
            ModLoader.addName(HellstoneBlock, "HellstoneBlock Ore");
            
            ModLoader.addSmelting(Block.planks.blockID, new ItemStack(HellstoneBlock, 1));
            
        }
        
        public void load()
        {
            
        }
        
        
        
        public String getVersion()
        {
            
            return "Minecraft 1.2.3 and above Prøving Mod";
            
        }
        
    
    }
    Posted in: Tutorials
  • 0

    posted a message on Mrsal511's Modding Tutorials (With Video)
    Quote from austinll




    I managed to fix my errors and hopefully i can help you. If you were to look at my code it said ModLoader.addOveride. While making my coding that was what it(eclipse) said it was supposed to be as opposed to ModLoader.addOverride (one more r) When i typed in the extra r it brought up (string, string, int i) or something like that but if i deleted the int i it wouldnt work. If i deleted the int i and took one r off it still didnt work. What i did do to get it to work was deleting and uninstalling EVERYTHING then going on the internet and downloading the newest versions of everything again then installing it all again just to be safe. I then retyped the code and it worked. I dont know how one r was such a pain but it was. If this doesnt help you i hope will help someone else

    Okay, I try it when i get home from school.
    Thanks for the reply :)
    Posted in: Tutorials
  • 0

    posted a message on Mrsal511's Modding Tutorials (With Video)
    Quote from austinll

    I'm trying to make mod with new ores tools and everything but i cant even get the block to work. I have alot of problems with my static line.
    package net.minecraft.src;
    public class Mod_moreore extends BaseMod
    {
    
    public static final net.minecraft.src.BlockPlatinumOre PlatinumOre;
    
    
    static
    {
    
      PlatinumOre = (new BlockPlatinumOre(126, ModLoader.addOveride("/terrain.png", "/moreore/PlatinumOre.png"))).setHardness(5F).setResistance(6F).setBlockName("Platinum Ore");
    
    }
    
    
    public Mod_moreore()
    {
    
    
    }
    
    
    public void load()
    {
    
    
    }
    
    public String getVersion()
    {
    
      return "Minecraft 1.2.3 moreore mod";
    
    }
    
    }


    The errors are:

    - The method addOverride(String, String, int) in the type ModLoader is not applicable for the arguments
    (String, String)
    - The method setHardness(float) is undefined for the type BlockPlatinumOre
    - Syntax error, insert ";" to complete BlockStatements

    I have the same problem :(
    I hope he can say what is wrong about our code :)
    The only difference between your code and my code is that i don't have errors. (I have no idea on how to fix your errors)

    Posted in: Tutorials
  • 0

    posted a message on Mrsal511's Modding Tutorials (With Video)
    What is wrong about my code?!
    I don't get the block when i try to smelt planks , and i can't find the block in my creative inventory
    This is my code please help me

    package net.minecraft.src;

    public class Mod_prøving extends BaseMod
    {

    public static final Block HellstoneBlock;

    static
    {

    HellstoneBlock = (new BlockHellstoneBlock(123, ModLoader.addOverride("/terrain.png", "/mods/HellstoneBlock.png"))).setHardness(3F).setResistance(5F);HellstoneBlock.setStepSound(Block.soundStoneFootstep).setBlockName("HellstoneBlock");

    }

    public void load()
    {

    }

    public Mod_prøving()
    {

    ModLoader.registerBlock(HellstoneBlock);
    ModLoader.addName(HellstoneBlock,"Hellstone Ore");

    ModLoader.addSmelting(Block.planks.blockID,new ItemStack(HellstoneBlock, 1));


    }

    public String getVersion()
    {

    return "Minecraft 1.2 and above Mod";

    }
    }
    Posted in: Tutorials
  • 0

    posted a message on [1.5] The Runic Dust Mod [Mar14]
    Quote from billythegoat101

    Adfly is safe, but don't expect to earn money off it until you get moderately popular
    To get paid each month you need to earn at least $5, and you get *about* $4 per 1000 clicks (it varies based off country clicked from)

    I think I have been using it since mid january and have gotten about 14,000 clicks, but don't expect something like 'I added more blocks/tools/armor' to get many views within any reasonable amount of time

    Thanks for the reply!
    I hope i learn how to make a mod, i have MANY ideas
    Keep working on your mod!
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.