• 0

    posted a message on [1.4.7] Koadmaster's Mods [Modloader]
    Quote from Weaponguy117

    this might be a little 'harry potter' but... PUMPKIN JUICE!!! it can be made by putting a pumpkin above a bottle of water in the crafting grid. it can restore 1 or 2 health when drunk and maybe even has another effect a chance of 5 second regeneration. also, can you remove the need for cooking this because it already takes a bit of trouble to make.

    Problem: you eat the bottle, or it is to cheep. Thought: make "Bottle" out of something else. Also: 1-2 hearts, or 1-2 Hunger?

    EDIT: flint roof will have to come later, as I can't find out how to make half-steps/stairs.
    Posted in: Minecraft Mods
  • 0

    posted a message on TechGuy's Modding Tutorials
    Um, I still can't get it to work, Thought: did you modify you mod_ class to do this?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.4.7] Koadmaster's Mods [Modloader]
    Quote from JRucker81

    As for ideas for your mod be sure not to copy our mod More Uses For Pumpkins.

    Don't worry, I wasn't thinking to do much more with pumpkins anyway.
    Posted in: Minecraft Mods
  • 0

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

    It works for me. This is my item class:


    package net.minecraft.src;
    
    public class ItemNamehere extends Item
    {
    	public ItemNamehere(int i)
    	{
    		super(i);
    		maxStackSize = 64;		
    	}
    	
    	public boolean onItemUse(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
        {
            if (!entityplayer.canPlayerEdit(i, j, k))
            {
                return false;
            }
       	
            
                int i1 = world.getBlockId(i, j, k);
                if (i1 == Block.sapling.blockID)
                {
                    if (!world.multiplayerWorld)
                    {
                        ((BlockSapling)Block.sapling).growTree(world, i, j, k, world.rand);
                        itemstack.stackSize--;
                    }
                    return true;
                }
                if (i1 == Block.mushroomBrown.blockID || i1 == Block.mushroomRed.blockID)
                {
                    if (!world.multiplayerWorld && ((BlockMushroom)Block.blocksList[i1]).fertilizeMushroom(world, i, j, k, world.rand))
                    {
                        itemstack.stackSize--;
                    }
                    return true;
                }
                if (i1 == Block.melonStem.blockID || i1 == Block.pumpkinStem.blockID)
                {
                    if (!world.multiplayerWorld)
                    {
                        ((BlockStem)Block.blocksList[i1]).fertilizeStem(world, i, j, k);
                        itemstack.stackSize--;
                    }
                    return true;
                }
                if (i1 == Block.crops.blockID)
                {
                    if (!world.multiplayerWorld)
                    {
                        ((BlockCrops)Block.crops).fertilize(world, i, j, k);
                        itemstack.stackSize--;
                    }
                    return true;
                }
                if (i1 == Block.grass.blockID)
                {
                    if (!world.multiplayerWorld)
                    {
                        itemstack.stackSize--;
                        label0:
                        for (int j1 = 0; j1 < 128; j1++)
                        {
                            int k1 = i;
                            int l1 = j + 1;
                            int i2 = k;
                            for (int j2 = 0; j2 < j1 / 16; j2++)
                            {
                                k1 += itemRand.nextInt(3) - 1;
                                l1 += ((itemRand.nextInt(3) - 1) * itemRand.nextInt(3)) / 2;
                                i2 += itemRand.nextInt(3) - 1;
                                if (world.getBlockId(k1, l1 - 1, i2) != Block.grass.blockID || world.isBlockNormalCube(k1, l1, i2))
                                {
                                    continue label0;
                                }
                            }
    
                            if (world.getBlockId(k1, l1, i2) != 0)
                            {
                                continue;
                            }
                            if (itemRand.nextInt(10) != 0)
                            {
                                world.setBlockAndMetadataWithNotify(k1, l1, i2, Block.tallGrass.blockID, 1);
                                continue;
                            }
                            if (itemRand.nextInt(3) != 0)
                            {
                                world.setBlockWithNotify(k1, l1, i2, Block.plantYellow.blockID);
                            }
                            else
                            {
                                world.setBlockWithNotify(k1, l1, i2, Block.plantRed.blockID);
                            }
                        }
                    }
                    return true;
                }
            
            return false;
        }
    }



    Huh, well I guess that I will try it more efficiently tomorrow.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    I tried your fertilizer and it didn't work. no errors, it just didn't do anything when I tried to use it (tested on mushrooms, sapling, and grass).
    Posted in: Mapping and Modding Tutorials
  • 0

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

    StrongJoshua has a tutorial on making a new furnace type block. I'll eventually upload one, but it might take a while.

    Right, I will look into it, and thanks.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [ModLoader] StrongJoshua's Advanced Tutorials(25/09/11)
    I am working on a mod and I want to make a furnace like block but to make it have an interface like this:
    :: :: :: ----> ::
    :: :: :: ----> ::
    :: :: :: ----> ::
    The idea is to put 3 different items into the ones on the left and have them convert into a stack on the right, but they all wouldn't do it at once, the second and third line would only activate if the first line was empty, but the idea is to be able to put in a lot of items so that you don't have to check on it very often, I was just wondering if you could help me with this or if I have to make it more simple so that I can actually do it.
    EDIT: it is suppose to be something like a slow crafting, like you put it in and it "Crafts" into a new item except that it takes like 50 seconds. Also: I don't need the three I could make it work with only one.
    -Thank You-
    Posted in: Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    I had a thought for a mod that used an block that changed blocks/items into different ones (like a furnace or brewing stand) but I have no idea how to make something do that, so I was wondering if you knew how to add that and if you do if you could tell me :smile.gif:
    -Thank You-
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.4.7] Koadmaster's Mods [Modloader]
    Quote from CannonFoddr

    Also coming up with ideas for Flint and Feathers that are 'realistic' must also be a problem
    (Just had another thought.... Flint 'posts' - anything bumping into them causes (small) Cactus like damage - but unlike Cactus which grows to 3 block height - it's always only 1 'block' high)

    I actually like that idea of yours... gives people a chance to have shallow 'tiled' black roofs instead of Wood or Cobblestone - how about extending it to having 'black' steps as well ??

    Could you use 'feathers' to produce WHITE half/blocks & steps as well ??? effectively using feathers as some form of 'dye' (yeah I know it's not 'realistic' but what ELSE can be done with Feathers ??)

    Flint posts my have merit, may make sometime.
    The flint stairs are a great idea I think that I will start on that soon :smile.gif:
    Feathers for roofing is a strange thought I don't think that that will happen, but you are right, coming up with uses for feathers is hard.
    Posted in: Minecraft Mods
  • 0

    posted a message on weied things on jungle trees
    I have my hopes that they are cocoa beans
    Posted in: Survival Mode
  • 0

    posted a message on Zombies breaking doors doesn't make the game any more difficult
    I think that it is a bad idea as it makes wooden doors worthless unless you do something like this in witch it is there for looks(superflat for clarity)

    As it takes like 30 seconds to do this, and the zombies won't even try to get to you.
    Posted in: 1.1 Update Discussion
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    I would like to ask is you knew how to or would make a tutorial on how to make a block have a function similar to that of a furnace or brewing stand. Also: I can't find your stairs tutorial.
    -Thank You-
    Posted in: Tutorials
  • 0

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

    I have a problem if I put he files in MP then run it i get errors when i just copy ur code and change the names whats the problem. like 1 problem is with ModLoader it says that the M is suppost to be lover case but u have it upper im so confused if i post my code could u Edit it THX and Here is the code!!

    package net.minecraft.src;

    public class mod_BedrockOre extends BaseMod
    {
    public static final BedrockOre = (new BlockBedrockOre(153, 0)).setHardness(3F).setResistance(5F).setStepSound(soundStoneFootstep).setBlockName("BedrockOre");

    public void load()
    {
    BedrockOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/BedrockStuff/BedrockOre.png");
    ModLoader.RegisterBlock(BedrockOre);
    ModLoader.AddName(BedrockOre, "BedrockOre");
    }

    public String getVersion()
    {
    return "1.1";
    }
    }
    What is the problem also here is the block file
    package net.minecraft.src;

    public class mod_BedrockOre extends BaseMod
    {
    public static final BedrockOre = (new BedrockOre(157, 0)).setHardness(3F).setResistance(5F).setStepSound(soundStoneFootstep).setBlockName("BedrockOre");

    public void load()
    {
    BedrockOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/BedrockStuff/BedrockOre.png");
    ModLoader.RegisterBlock(BedrockOre);
    ModLoader.AddName(BedrockOre, "BedrockOre");
    }

    public String getVersion()
    {
    return "1.1";
    }
    }


    Plz help I pretty sure it should work!!! Thx

    I know that I am not the one that you asked for help but: the content in the two spoilers is the same, also I think that it would be helpful if you posted the error report.
    Posted in: Mapping and Modding Tutorials
  • 0

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

    Well, this is your fertilising code. I have already remove the meta data check.:


    public boolean onItemUse(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
    {
        if (!entityplayer.canPlayerEdit(i, j, k))
        {
            return false;
        }
    
        
            int i1 = world.getBlockId(i, j, k);
            if (i1 == Block.sapling.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    ((BlockSapling)Block.sapling).growTree(world, i, j, k, world.rand);
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.mushroomBrown.blockID || i1 == Block.mushroomRed.blockID)
            {
                if (!world.multiplayerWorld && ((BlockMushroom)Block.blocksList[i1]).fertilizeMushroom(world, i, j, k, world.rand))
                {
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.melonStem.blockID || i1 == Block.pumpkinStem.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    ((BlockStem)Block.blocksList[i1]).fertilizeStem(world, i, j, k);
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.crops.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    ((BlockCrops)Block.crops).fertilize(world, i, j, k);
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.grass.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    itemstack.stackSize--;
                    label0:
                    for (int j1 = 0; j1 < 128; j1++)
                    {
                        int k1 = i;
                        int l1 = j + 1;
                        int i2 = k;
                        for (int j2 = 0; j2 < j1 / 16; j2++)
                        {
                            k1 += itemRand.nextInt(3) - 1;
                            l1 += ((itemRand.nextInt(3) - 1) * itemRand.nextInt(3)) / 2;
                            i2 += itemRand.nextInt(3) - 1;
                            if (world.getBlockId(k1, l1 - 1, i2) != Block.grass.blockID || world.isBlockNormalCube(k1, l1, i2))
                            {
                                continue label0;
                            }
                        }
    
                        if (world.getBlockId(k1, l1, i2) != 0)
                        {
                            continue;
                        }
                        if (itemRand.nextInt(10) != 0)
                        {
                            world.setBlockAndMetadataWithNotify(k1, l1, i2, Block.tallGrass.blockID, 1);
                            continue;
                        }
                        if (itemRand.nextInt(3) != 0)
                        {
                            world.setBlockWithNotify(k1, l1, i2, Block.plantYellow.blockID);
                        }
                        else
                        {
                            world.setBlockWithNotify(k1, l1, i2, Block.plantRed.blockID);
                        }
                    }
                }
                return true;
            }
        
        return false;
    }



    It would fit in your item class like this:

    package net.minecraft.src;
    
    
    
    public class ItemNamehere extends Item
    {
            public ItemNamehere(int i)
            {
                    super(i);
                    maxStackSize = 64;              
            }
    
    	public boolean onItemUse(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
    {
        if (!entityplayer.canPlayerEdit(i, j, k))
        {
            return false;
        }
    
        
            int i1 = world.getBlockId(i, j, k);
            if (i1 == Block.sapling.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    ((BlockSapling)Block.sapling).growTree(world, i, j, k, world.rand);
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.mushroomBrown.blockID || i1 == Block.mushroomRed.blockID)
            {
                if (!world.multiplayerWorld && ((BlockMushroom)Block.blocksList[i1]).fertilizeMushroom(world, i, j, k, world.rand))
                {
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.melonStem.blockID || i1 == Block.pumpkinStem.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    ((BlockStem)Block.blocksList[i1]).fertilizeStem(world, i, j, k);
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.crops.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    ((BlockCrops)Block.crops).fertilize(world, i, j, k);
                    itemstack.stackSize--;
                }
                return true;
            }
            if (i1 == Block.grass.blockID)
            {
                if (!world.multiplayerWorld)
                {
                    itemstack.stackSize--;
                    label0:
                    for (int j1 = 0; j1 < 128; j1++)
                    {
                        int k1 = i;
                        int l1 = j + 1;
                        int i2 = k;
                        for (int j2 = 0; j2 < j1 / 16; j2++)
                        {
                            k1 += itemRand.nextInt(3) - 1;
                            l1 += ((itemRand.nextInt(3) - 1) * itemRand.nextInt(3)) / 2;
                            i2 += itemRand.nextInt(3) - 1;
                            if (world.getBlockId(k1, l1 - 1, i2) != Block.grass.blockID || world.isBlockNormalCube(k1, l1, i2))
                            {
                                continue label0;
                            }
                        }
    
                        if (world.getBlockId(k1, l1, i2) != 0)
                        {
                            continue;
                        }
                        if (itemRand.nextInt(10) != 0)
                        {
                            world.setBlockAndMetadataWithNotify(k1, l1, i2, Block.tallGrass.blockID, 1);
                            continue;
                        }
                        if (itemRand.nextInt(3) != 0)
                        {
                            world.setBlockWithNotify(k1, l1, i2, Block.plantYellow.blockID);
                        }
                        else
                        {
                            world.setBlockWithNotify(k1, l1, i2, Block.plantRed.blockID);
                        }
                    }
                }
                return true;
            }
        
        return false;
    }
    }



    Awesome! and Thank You!(will test soon) Also: I tried your potion effect in food tutorial and it worked fine except that (I think) the explanation of the 30 in your tutorial seems incorrect I tried 20 and it gave me like 20 something seconds of effect but then I tried 5 and it gave me like 5 seconds of effect, just thought you might like to know.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.4.7] Koadmaster's Mods [Modloader]
    Quote from CannonFoddr

    Weell... I did have other ideas - just not sure if it was too much 'creative licencing' to suggest ...


    Craft 'feathered shoes' to make you run walk/faster over snow (not as fast as running but faster than walking) &/or swim faster in water
    :: :: ::
    :feather: :: :feather:
    :feather: :: :feather:

    'Feathered Clothes' (Jacket/Trousers) makes you float/don't sink in water
    :feather: :: :feather:
    :feather: :feather: :feather:
    :feather: :feather: :feather:

    :feather: :feather: :feather:
    :feather: :: :feather:
    :feather: :: :feather:

    Got these ideas since the Chicken (or are they Ducks ??...maybe even 'Chicken' + 'Duck' = 'Chucks' ??) float on water

    Use Flint in weapons/Tools - causes slightly more damage/last a little longer than a wooden but less than a Stone version
    :: :Flint: ::
    :: :Flint: ::
    :: :|: ::

    :Flint: :Flint: ::
    :Flint: :|: ::
    :: :|: ::

    Use Flint to make a 'Stone Brick' (NOT a slab) - then use 3 'Stone Bricks' to craft a Stone Slab
    :: :: ::
    :: :: :: = :_:
    :Flint: :Flint: ::

    Not sure how to do armor :sad.gif: (will learn sometime) , and I am not sure if making a set of tools for flint would really help as you would get stone and then just use that, The idea of making flint into stone is an interesting thought, but I am not sure how realistic it would be :smile.gif: Please don't be offended by what I said above, I don't what to make you feel like your ideas are bad and I do want to make flint/feathers into something but I also want it to be something that I think the general minecrafter would want to use.
    Also: sorry I didn't get back to your first post sooner but I had someone stealing my mod to deal with :dry.gif:
    Edit: actually I had a thought, what if I made flint into flint half blocks, then if you build with obsidian you will have something dark to use as half blocks.
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.