• 0

    posted a message on [Beginner - Advanced] Madgoblins Modloader Tutorials! for [1.8.1] {closed}
    Quote from edencampo

    @cowmonkey
    I have a question,how i can make a block when breaked drop Item,Not Block.?


    refer to his simple generation + ore tutorial.
    Posted in: Tutorials
  • 0

    posted a message on [Beginner - Advanced] Madgoblins Modloader Tutorials! for [1.8.1] {closed}
    Quote from cowmonkey

    your wrong mate. the names are wrong!

    you made in your mod_Glass, RedGlass, not redGlass

    rename in your blockRedGlass the redGlass's to RedGlass

    that should work :biggrin.gif:


    oops, that was my fault. :ohmy.gif: Not his. I gave him the wrong code, but I fixed it in the post where I gave it to him. Just a simple lowercase letter can give all those errors! :/
    Posted in: Tutorials
  • 0

    posted a message on [Beginner - Advanced] Madgoblins Modloader Tutorials! for [1.8.1] {closed}
    Quote from Mine123crafter

    than i get another error :tongue.gif:


    ... what error? Also make sure the two files are called mod_Glass.java and BlockRedGlass.java
    Posted in: Tutorials
  • 1

    posted a message on [Beginner - Advanced] Madgoblins Modloader Tutorials! for [1.8.1] {closed}
    Quote from Mine123crafter

    thanks for trying to help me :smile.gif:

    but now im getting this error:


    :sad.gif:
    package net.minecraft.src;
    
    public class mod_Glass extends BaseMod
    {
       public static final Block RedGlass = new BlockRedGlass(97, 0).setHardness(0.5F).setResistance(5.0F).setBlockName("RedGlass");
    
    public mod_Glass()
    {
    ModLoader.RegisterBlock(RedGlass);
    RedGlass.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/red glass.png");
       ModLoader.AddName(RedGlass, "Red glass");
       mod_Glass.RedGlass.ModLoader.AddRecipe(new ItemStack(Block.RedGlass, 1), new Object[] {"X", Character.valueOf('X'), Block.dirt});
    }
    public String Version()
       {
       return "1.7.3";
       }
    
    }



    package net.minecraft.src;
    
    import java.util.Random;
    
    public class BlockRedGlass extends Block
    {
    
        protected BlockRedGlass(int i, int j)
        {
            super(i, j, Material.glass);
        }
    }


    can anyone help me with this error?


    Try this:
    package net.minecraft.src;
    
    public class mod_Glass extends BaseMod
    {
    	public mod_Glass()
    	{
    		//Constructor
    		ModLoader.RegisterBlock(RedGlass);
    		ModLoader.AddName(RedGlass, "Red Glass");
    		ModLoader.AddRecipe(new ItemStack(RedGlass, 1), new Object[] {
    			"X", Character.valueOf('X'), Block.dirt
    		});
    	}
    	
    	public static Block RedGlass;
    	
    	static
    	{
    		redGlass = new BlockRedGlass(200, ModLoader.addOverride("/terrain.png", "/red glass.png")).setHardness(0.5F).setResistance(5.0F).setBlockName("RedGlass");
    	}
    	
    	public String Version()
    	{
    		return "1.7.3";
    	}
    }


    package net.minecraft.src;
    
    import java.util.Random;
    
    public class BlockRedGlass extends Block
    {
    
        protected BlockRedGlass(int i, int j)
        {
            super(i, j, Material.glass);
        }
        
        public int idDropped(int i, Random random)
        {
    	return mod_Glass.RedGlass.blockID;
        }
    }


    Hopefully it works!

    EDIT: For some reason it added double tabs before each line when I only had single tabs. I don't think It'll matter, but that's weird.
    Posted in: Tutorials
  • 0

    posted a message on [Beginner - Advanced] Madgoblins Modloader Tutorials! for [1.8.1] {closed}
    Quote from cowmonkey

    hmm, yeah i know, it is abit buggy, but its the best one i could make, sorry


    No need to apologize. I appreciate all your help. :smile.gif:
    Posted in: Tutorials
  • 0

    posted a message on [Beginner - Advanced] Madgoblins Modloader Tutorials! for [1.8.1] {closed}
    Quote from cowmonkey

    well, i got a lot of errors, but yours is easy to fix...

    just chuck this in like this:

    public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
        {
            entity.fallDistance = 0.0F;
            entity.motionY += 1.6;
        }
    
    	public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
        {
            if(world.getBlockMetadata(i, j, k) == 1.5)
            {
                return AxisAlignedBB.getBoundingBoxFromPool(i, j, k, i, j, k);
            } else
            {
                return AxisAlignedBB.getBoundingBoxFromPool(i, j, k, i + 1.5, j, k + 1.5);
            }
        }


    therefor it would look like this:

     package net.minecraft.src;
    import java.util.Random;
    
    public class BlockTankitejump extends Block
    {
    
            public BlockTankitejump(int i, int j)
                    {
                            super(i, j, Material.rock);
                    }
            
            public int idDropped(int i, Random random)
                    {
                            return mod_Tankite.tankitejump.blockID;
                    }
             public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
        {
            entity.fallDistance = 0.0F;
            entity.motionY += 1.6;
        }
    
    	public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
        {
            if(world.getBlockMetadata(i, j, k) == 1.5)
            {
                return AxisAlignedBB.getBoundingBoxFromPool(i, j, k, i, j, k);
            } else
            {
                return AxisAlignedBB.getBoundingBoxFromPool(i, j, k, i + 1.5, j, k + 1.5);
            }
        }
    }


    Thanks so much! It worked. Now I have one more problem though. I need to know how to make it so when you land on the ground, or the trampoline you take no fall damage. Whenever I shoot really high I just take damage.

    EDIT: Also, sometimes it launches you really high, and sometimes it launches you really low. It's all random. I'd like to make it so that you went a little higher every jump. Is this possible? Thanks for all the help! :smile.gif:
    Posted in: Tutorials
  • 0

    posted a message on [Beginner - Advanced] Madgoblins Modloader Tutorials! for [1.8.1] {closed}
    I want to make a trampoline mod. (yes I know there already is one) To do this I would have to have a block that reacts to a person standing on it, like a pressure plate, and then launch the person (or mob) into the air. Is there any way this could be done? I already created the block. I just started modding like today so if anyone could help me I would greatly appreciate it. :smile.gif:

    EDIT: I saw the whole entity.motionY += 2.0; thing, but that didn't work. Here's the error:

    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\BlockBox.java:11: cannot find symbol
    symbol  : variable entity
    location: class net.minecraft.src.BlockBox
    entity.motionY += 2.0;
    ^
    
    1 error
    ==================


    And here's my code:

    package net.minecraft.src;
    
    import java.util.Random;
    
    public class BlockBox extends Block
    {
    	public BlockBox(int i, int j)
    	{
    		super(i, j, Material.cloth);
    		setStepSound(soundClothFootstep);
    		entity.motionY += 2.0;
    	}
    	
    	public int idDropped(int i, Random random)
    	{
    		return mod_Box.box.blockID;
    	}
    }
    Posted in: Tutorials
  • 1

    posted a message on [Puz] [Adv] [Solo] Best Friend [A Custom Map] 1.8.1
    Awesome map! I had a lot of fun. :smile.gif: Just next time... less spawners! lol :biggrin.gif:
    Posted in: Maps
  • 0

    posted a message on [1.0.0] Clay Soldiers Classic
    Quote from epicpie123

    Will the mod work with yogbox and Aether? Please respond!!!


    it will. As long as you have modloader with all modloader compatible mods (you do) then it will work. modloader makes it so that all of your mods will work together.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.0.0] Clay Soldiers Classic
    Quote from Gregorious8

    SUCH AN EPIC MOD :biggrin.gif: I AM SO GETTING IT :biggrin.gif:.....one problem tho, i installed the Aether mod yesterday and it uses the same modloader so do i have to put in modloader again or just all the files in the clayman mod file ???


    You only have to install modloader once. I also have aether mod and it works fine.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.0.0] Clay Soldiers Classic




    after a battle of 111 on 111 on 111 on 111, green is victorious. :biggrin.gif:
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.0.0] Clay Soldiers Classic
    Quote from undeadwarrior12

    can you plese tell me how to chang the skin of the clay men


    there is a claymans folder in the .jar with all of the skins.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.0.0] Clay Soldiers Classic
    Flawless... *slow clap* A million :Diamond:'s to you my friend. :biggrin.gif:
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] Aether Collaboration Mod - V1.02 - NEW MOBS, FIXES, ITEMS AND FEATURES!
    Pro Tip: Use the seed "Aether" for amazing stuff to happen. :biggrin.gif:

    (The Aether portal leads straight into a dungeon)
    Posted in: Minecraft Mods
  • 0

    posted a message on ~§tyx Reborn~ "Greatest Architecture!" Now looking for a new host.
    In-Game Name: PYROMANIAC702HD

    Joindate: october 2010

    Your Talents: I am fairly good at building, and architecture.

    Info About Yourself: I have embarked on many creations, most of the time being the leader. I am currently taking a stanford EPGY course on the C programming language, which is the only programming language i know. Owning a server of my own, I always know how to help out and what to do in certain situations. I'm not gonna lie and say i've never been banned. I've been falsely banned twice. One for griefing, and one for spamming. Neither were true.

    Age: 15

    Why do you think you would be a great member?: I have a very distinct personality and always love to help others out. Griefing is for the week minded. I am not week minded. I really think i would be a great addition to the server.

    Strong Points: Building is my thing, and I am wonderful at meeting new people. There is usually nobody that dislikes me.

    Weak Points: To be honest, I don't really think I have any "weak points." I think it is a bit of a rhetorical question.

    Other Info / Pictures of your Work: n/a
    Posted in: Minecraft Survival Servers (archive)
  • To post a comment, please .