• 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    I made my script and I got this error: 'cannot find symbol : class Random'

    And it points to

    public int idDropped(int i, Random random)


    My code:

    package net.minecraft.src;
    
    public class BlockMithrilOre extends Block
    {
    
    	protected BlockMithrilOre(int i, int j)
    	{
    		super(i, j, Material.iron);
    	}
    
    public int idDropped(int i, Random random)
        {
                  return mod_Mithril.mithrilItem.shiftedIndex;
        }
    }
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    I was making the new ore tutorial that gets the furnace and I made this because there wasn't no private int getSmeltingResult(int i) .

    private int getSmeltingResultItem(int i)
          {
            if(i == Block.oreIron.blockID)
            {
                return Item.ingotIron.shiftedIndex;
            }
            if(i == Block.oreGold.blockID)
            {
                return Item.ingotGold.shiftedIndex;
            }
            if(i == Block.oreDiamond.blockID)
            {
                return Item.diamond.shiftedIndex;
            }
            if(i == Block.sand.blockID)
            {
                return Block.glass.blockID;
            }
            if(i == Item.porkRaw.shiftedIndex)
            {
                return Item.porkCooked.shiftedIndex;
            }
            if(i == Item.fishRaw.shiftedIndex)
            {
                return Item.fishCooked.shiftedIndex;
            }
            if(i == Block.cobblestone.blockID)
            {
                return Block.stone.blockID;
            }
            if(i == Item.clay.shiftedIndex)
            {
                return Item.brick.shiftedIndex;
            } 
            if(i == Block.oreInfinium.blockID)
            {
                return Item.ingotInfinium.shiftedIndex;
            } else
            {
                return -1;
            }


    It is below the getItemBurnTime. [FIXED.]


    Can you give me the terrain.png 16p file with the slots 113-120? I can't see how to locate them.
    Posted in: Tutorials
  • 0

    posted a message on Slot file
    Bump.


    Other question:

    What is wrong with this? I get unknown symbol after Block!

    if(i == Block.oreInfinium.blockID)
    {
    return Item.ingotInfinium.shiftedIndex;
    }
    Posted in: Tutorials
  • 0

    posted a message on Slot file
    Where can I locate those slot files? Is any easier way? PS. I want 113.
    Posted in: Tutorials
  • 0

    posted a message on Help! Compilin' error!
    Bump.
    Posted in: Tutorials
  • 0

    posted a message on Help! Compilin' error!
    I was makin my Minecraft mod without MCP and I got this:

    public void TakenFromFurnace(gh, ii);
                                          ^   ^         -- Identifier expected
    public void TakenFromCrafting(gh, ii);

    same error.


    Any fix?


    SCRIPT:

    public class mod_AchievementsTweak extends BaseMod{
        public static nc smeltGoldIngot;
        public static nc craftCookie;
        public static nc craftDiamondTool;
        public mod_AchievementsTweak();
        public void TakenFromCrafting(gh, ii);
        public void TakenFromFurnace(gh, ii);
        static {};
    }    
    Posted in: Tutorials
  • 0

    posted a message on [1.5_01][16p]ModCraft 1.1.1 - NEW: BETA GUI, 1.2 DELAYED!
    @Mincrafter Here: viewtopic.php?f=25&t=102024

    @FANTASMIC your english is very bad.
    Posted in: Resource Packs
  • 0

    posted a message on [1.5_01][16p]ModCraft 1.1.1 - NEW: BETA GUI, 1.2 DELAYED!
    Bump.
    Posted in: Resource Packs
  • 0

    posted a message on [1.5_01][16p]ModCraft 1.1.1 - NEW: BETA GUI, 1.2 DELAYED!
    1.1_01 released.
    Posted in: Resource Packs
  • 0

    posted a message on How to Reset your stats and achievements!
    GIVE ME CREDIT FOR IT! I MADE A TOPIC ABOUT THIS BEFORE THIS FORUM CAME!!!
    Posted in: Achievements & Stats
  • 0

    posted a message on Black screen for about 5 minutes
    Two days ago, I just ran the Windows Update (I have Windows 7) to update the service pack to 1 and to update my video card. When it was installing the video card, it didn't respond and it was malfunctioned, so I reseted my PC. After that, I was going to run Minecraft and I put my login and password. I clicked 'Yes' to update, and when it was done, I got a black screen and it is for about 5 minutes whenever I'm starting. It doesn't shows the mojang logo untill 5 Minutes. Any fix?


    Tried deleting .minecraft but didn't worked.
    Posted in: Legacy Support
  • 0

    posted a message on This game is too much smart!
    It's not in the border of two biomes, is it? I just taked off the snow to make my house!
    Posted in: Survival Mode
  • 0

    posted a message on This game is too much smart!
    Today I was making my house on peacefull then it start raining. I noticed that it was with snow but IT IS VERY, VERY RARE TO RAIN AND SNOW AT SAME TIME (as i think)! YOU CAN SEE A SCREENSHOT HERE:


    Posted in: Survival Mode
  • 0

    posted a message on [1.5_01][16p]ModCraft 1.1.1 - NEW: BETA GUI, 1.2 DELAYED!
    1.1 made and currently avaliable for download.
    Posted in: Resource Packs
  • 0

    posted a message on [CLEAN]Minecraft Stats
    Do you want your stats clean? Well, you can do it! Just go to %appdata%/.minecraft then delete/backup the file 'stats_namehere_unsent.dat'. It will generate other one that is clean!


    Good luck! BUGS? Post them here!
    Posted in: Tutorials
  • To post a comment, please .