• 0

    posted a message on Skyrim Mod
    I think there is allready a Skyrim mod.
    Posted in: Modification Development
  • 0

    posted a message on PLEASE HELP WITH MY MODS
    Well then I don't think you can do anything about it :sad.gif:
    Posted in: Mods Discussion
  • 0

    posted a message on PLEASE HELP WITH MY MODS
    Yes you can probably change them there.
    Posted in: Mods Discussion
  • 1

    posted a message on New Toolset Error
    Try changing the Spade recipe to this:
    ModLoader.AddRecipe(new ItemStack(Spade, 1), new Object[] {
                    " * ", " * ", " * ", Character.valueOf('*'), Block.dirt 
                    });

    EDIT: That will conflict with the sword recipe so use something else.
    Posted in: Modification Development
  • 0

    posted a message on New Toolset Error
    You have outdated code. public mod_****() is now public void load(), and public String Version() is now public String getVersion():
    package net.minecraft.src;
    import java.util.Random;
    
    public class mod_EmeraldTools extends BaseMod
    {
    
            public static final Item Pick = new ItemPickaxe(2001, EnumToolMaterial.DIAMOND).setItemName("emeraldpick");
            public static final Item Spade = new ItemSpade(2002, EnumToolMaterial.DIAMOND).setItemName("emeraldspade");
            public static final Item Axe = new ItemAxe(2003, EnumToolMaterial.DIAMOND).setItemName("emeraldaxe");
            public static final Item Hoe = new ItemHoe(2004, EnumToolMaterial.DIAMOND).setItemName("emeraldhoe");
            public static final Item Sword = new ItemSword(2005, EnumToolMaterial.DIAMOND).setItemName("emeraldsword");
    
            public void load()
            {
    
                    Pick.iconIndex = ModLoader.addOverride("/gui/items.png", "/mods/emeraldpick.png");
                    Spade.iconIndex = ModLoader.addOverride("/gui/items.png", "/mods/emeraldspade.png");
                    Axe.iconIndex = ModLoader.addOverride("/gui/items.png", "/mods/emeraldaxe.png");
                    Hoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/mods/emeraldhoe.png");
                    Sword.iconIndex = ModLoader.addOverride("/gui/items.png", "/mods/emeraldsword.png");
    
                    ModLoader.AddName(Pick, "Emerald pickaxe");
                    ModLoader.AddName(Spade, "Emerald shovel");
                    ModLoader.AddName(Axe, "Emerald axe");
                    ModLoader.AddName(Hoe, "Emerald hoe");
                    ModLoader.AddName(Sword, "Emerald sword");
    
                    ModLoader.AddRecipe(new ItemStack(Pick, 1), new Object[] {
                    "***", " * ", " * ", Character.valueOf('*'), Block.dirt 
                    });
                    ModLoader.AddRecipe(new ItemStack(Axe, 1), new Object[] {
                    "** ", "** ", " * ", Character.valueOf('*'), Block.dirt 
                    });
                    ModLoader.AddRecipe(new ItemStack(Spade, 1), new Object[] {
                    "*", " ** ", " * ", Character.valueOf('*'), Block.dirt 
                    });
                    ModLoader.AddRecipe(new ItemStack(Hoe, 1), new Object[] {
                    "** ", " * ", " * ", Character.valueOf('*'), Block.dirt 
                    });
                    ModLoader.AddRecipe(new ItemStack(Sword, 1), new Object[] {
                    " * ", " * ", " * ", Character.valueOf('*'), Block.dirt
                    });
            }
    
            public String getVersion()
            {
                    return "1.1";
            }
    }


    If I helped feel free to press the over here -->
    Posted in: Modification Development
  • 0

    posted a message on Null Pointer exception
    I'm not sure that you can use potions in crafting recipes.
    Posted in: Modification Development
  • 0

    posted a message on [1.1][SSP] Aluminium Mod (or Aluminum for those americans)[v3.0_1][DISCONTINUED]
    I may release v3.0 tomorrow if all goes well so stay tuned!
    Posted in: Minecraft Mods
  • 0

    posted a message on Making a stew(with Modloader)
    This my canned food code:
    package net.minecraft.src;
    
    import java.util.Random;
    import net.minecraft.src.forge.ITextureProvider;
    
    public class ALItemCanFood extends ItemFood implements ITextureProvider
    {
        public String getTextureFile()
        {
            return "/Aluminium Mod/Items/items.png";
        }
    
        public ALItemCanFood(int i, int j)
        {
            super(i, j, false);
            setMaxStackSize(1);
        }
    
        public ItemStack onFoodEaten(ItemStack itemstack, World world, EntityPlayer entityplayer)
        {
            super.onFoodEaten(itemstack, world, entityplayer);
            return new ItemStack(mod_Aluminium.aluminiumCan);
        }
    }

    That should tell you most of what you need to know.
    Posted in: Modification Development
  • 0

    posted a message on SOLVED
    Its a 150 x 58 pixel image. How am I suposed to see anything in it? just copy and paste all the code and post it here.

    And use code tags :
    
    
    Posted in: Modification Development
  • 0

    posted a message on Error with Custom Furnace.
    The code for my crusher is practically identical to that, and it works fine. I don't really know what could be wrong.
    Posted in: Modification Development
  • 0

    posted a message on SOLVED
    Can you show us your mod_ file and any other related files that might have something to do with this?
    Posted in: Modification Development
  • 0

    posted a message on need help with modding
    Look in the eggs code. Thats where you'll find your answer.
    Posted in: Modification Development
  • 0

    posted a message on How to make a block change on right click?
    Quote from Jotamota

    NOOOO. Say "no!" to the line code!

    	public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
        {
    		for(int a =-1; a<=1; a++)
    		{
    			for(int c =-1; c<=1; c++)
    			{
    				if(a==0)world.setBlockWithNotify(i+a, j, k+c, Block.dirt.blockID);
    				if(c==0)world.setBlockWithNotify(i+a, j, k+c, Block.dirt.blockID);
    			}
    		}
        }



    I know They aren't efficient but he's a noob, you can't expect him to know how loops work. He shoul learn the basics before going on to advanced stuff.

    EDIT: jota your code requires a return true; at the bottom because its a boolean.
    Posted in: Modification Development
  • 3

    posted a message on How to make a block change on right click?
    Just put your blockActivated method in the blocks class, and add the world.setBlockWithNotify with the coordinates you want:
        public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
        {
            world.setBlockWithNotify(i, j, k, Block.dirt.blockID);
            world.setBlockWithNotify(i + 1, j, k, Block.dirt.blockID);
            world.setBlockWithNotify(i, j, k + 1, Block.dirt.blockID);
            world.setBlockWithNotify(i - 1, j, k, Block.dirt.blockID);
            world.setBlockWithNotify(i, j, k - 1, Block.dirt.blockID);
        }

    i = x, j = y, and k = z.



    That code will place dirt blocks like this:
    :: :soil: ::
    :soil: :soil: :soil:
    :: :soil: ::

    If this helped don't forget to click the green over there -->
    Posted in: Modification Development
  • To post a comment, please .