• 0

    posted a message on Post your good seeds here
    R0C2Z0951781 is a pretty cool seed.

    I spawned in a large snow biome with some neat overhangs/mountains around.

    images with their respective coordinates;


    -89, 71, 17


    5, 82, 33


    -84, 73, 268
    Posted in: Seeds
  • 0

    posted a message on Inacio's advPNG: DoF. AO. 512px. Bump. No patchers.
    Quote from BishyT »
    Ugh, reading this thread made my head hurt.

    You can say that for every thread in this forum.
    Posted in: Resource Packs
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Quote from Dannyl »
    I'm having some problems, too. I tried the example Block and when I remcompiled it gave me 100 Errors.

    The first few of the in the log are like this:

    ^
    sources\minecraft\net\minecraft\client\Minecraft.java:7: ';' expected
    import AxisAlignedBB;
                         ^
    sources\minecraft\net\minecraft\client\Minecraft.java:8: class, interface, or enum expected
    import Block;
           ^
    sources\minecraft\net\minecraft\client\Minecraft.java:9: '.' expected
    import BlockGrass;
                     ^
    sources\minecraft\net\minecraft\client\Minecraft.java:9: ';' expected
    import BlockGrass;
                      ^
    sources\minecraft\net\minecraft\client\Minecraft.java:10: class, interface, or enum expected
    import ChunkProviderLoadOrGenerate;
           ^
    sources\minecraft\net\minecraft\client\Minecraft.java:11: '.' expected
    import EffectRenderer;


    I checked the file, the semicolons are in there according place, I also ran update_names.bat, no change, errors are still there.


    Help, please?

    Copy the files you made into your MCP folder. Then run "cleanup.bat", then "updatenames.bat", then decompile again and redo any java files you edited before. Also paste the java files you created back into the src folder.

    If you did that and you're still getting errors, please post the code for your java files.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    What would I need to do to get a block to destroy the block under it when activated by redstone?
    How can I make a block not stay in the air if the block under it is broken?

    This is all I need help with and then I'm done this mod.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Alright, I've got the block working in-game and the item places "blockdynamite".

    However, the block looks like this.


    The texture is supposed to be a dynamite stick.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Quote from Evenprime »
    Quote from Diealready »


    Minecraft crashes when I try to place the dynamite on the ground.

    Crash Log:
    --- BEGIN ERROR REPORT a1dce528 --------
    Generated 2/12/11 9:40 PM
    
    Minecraft: Minecraft Beta 1.2_02
    OS: Windows XP (x86) version 5.1
    Java: 1.6.0_23, Sun Microsystems Inc.
    VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: ATI Radeon HD 4800 Series version 2.1.7659 Release, ATI Technologies Inc.
    
    java.lang.ArrayIndexOutOfBoundsException: -43
    	at ib.a(SourceFile:314)
    	at dn.b(SourceFile:437)
    	at dn.e(SourceFile:478)
    	at ItemDynamite.a(ItemDynamite.java:45)
    	at gm.a(SourceFile:77)
    	at kb.a(SourceFile:89)
    	at net.minecraft.client.Minecraft.a(SourceFile:968)
    	at net.minecraft.client.Minecraft.i(SourceFile:1130)
    	at net.minecraft.client.Minecraft.run(SourceFile:642)
    	at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT d5884eb5 ----------


    So if someone could help me finish this mod, I would be really happy.


    Looks like the ID is to high. Placable Blocks have to have (afaik) IDs lower than or equal to 127, because at some point in the minecraft code they are addressed like this:

    byte x = blockId;
    something = array[x];


    byte can only hold values from -128 to 127, so if the blockId is bigger than 127, it will "wrap around", e.g. 128 would become -128, 130 would become -126 aso.

    That's the problem then, thanks! I had the ID at 213.

    I still need help on how to make the item place blockdynamite, and how to make blockdynamite destroy the block it's placed on when activated with redstone.
    Posted in: Tutorials
  • 0

    posted a message on FoodCraft-[With Images]
    So is someone planning to make/already making a mod of this? I wouldn't get my hopes up on notch doing this, but in the meantime someone could make this. It would be a pretty simple mod.
    Posted in: Suggestions
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    I'm reposting this from the last page because no one helped me at all.

    Everything works up until this point, I've made the item and block, the item works in-game but minecraft crashes as soon as I try to place the block.

    ItemDynamite: I want it to place "BlockDynamite", I don't know how to do that though.
    package net.minecraft.src;
    
    public class ItemDynamite extends Item
    {
    
        public ItemDynamite(int i)
        {
            super(i);
            maxStackSize = 64;
        }
    }


    BlockDynamite: When I place the block, minecraft crashes. I want to block to be the 1/8th sized block used for minecart tracks and redstone wire, and using the same texturing method. I want the block to instantly destroy the block it was placed on when activated with a redstone circuit, but I don't know what I have to do to make that work.
    package net.minecraft.src;
    
    import java.util.Random;
    
    public class BlockDynamite extends Block
    {
        public BlockDynamite(int i, int j)
        {
            super(i, j, Material.tnt);
    	setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.125F, 1.0F);
        }
    
        public int idDropped(int i, Random random)
        {
            return 0;
        }
    }



    Minecraft crashes when I try to place the dynamite on the ground.

    Crash Log:
    --- BEGIN ERROR REPORT a1dce528 --------
    Generated 2/12/11 9:40 PM
    
    Minecraft: Minecraft Beta 1.2_02
    OS: Windows XP (x86) version 5.1
    Java: 1.6.0_23, Sun Microsystems Inc.
    VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: ATI Radeon HD 4800 Series version 2.1.7659 Release, ATI Technologies Inc.
    
    java.lang.ArrayIndexOutOfBoundsException: -43
    	at ib.a(SourceFile:314)
    	at dn.b(SourceFile:437)
    	at dn.e(SourceFile:478)
    	at ItemDynamite.a(ItemDynamite.java:45)
    	at gm.a(SourceFile:77)
    	at kb.a(SourceFile:89)
    	at net.minecraft.client.Minecraft.a(SourceFile:968)
    	at net.minecraft.client.Minecraft.i(SourceFile:1130)
    	at net.minecraft.client.Minecraft.run(SourceFile:642)
    	at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT d5884eb5 ----------


    So if someone could help me finish this mod, I would be really happy.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    I was finally able to start making my mod that I wanted to make for so long, but I've got a problem.

    I have an item, "ItemDynamite". It is craftable, and the item works fine so far. What I want it to do is place "BlockDynamite" when you right click.

    ItemDynamite: I want it to place "BlockDynamite". I really just took the "ItemRedstone" code and edited it. I don't know what to do D:
    package net.minecraft.src;
    
    public class ItemDynamite extends Item
    {
    
        public ItemDynamite(int i)
        {
            super(i);
            maxStackSize = 64;
        }
    
        public boolean onItemUse(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
        {
            if(l == 0)
            {
                j--;
            }
            if(l == 1)
            {
                j++;
            }
            if(l == 2)
            {
                k--;
            }
            if(l == 3)
            {
                k++;
            }
            if(l == 4)
            {
                i--;
            }
            if(l == 5)
            {
                i++;
            }
            if(!world.isAirBlock(i, j, k))
            {
                return false;
            }
            if(Block.dynamite.canPlaceBlockAt(world, i, j, k))
            {
                itemstack.stackSize--;
                world.setBlockWithNotify(i, j, k, Block.dynamite.blockID);
            }
            return true;
        }
    }


    BlockDynamite: I took the block bounds from "BlockRedstoneWire", I want the 1/8th block instead of the full sized block.
    package net.minecraft.src;
    
    import java.util.Random;
    
    public class BlockDynamite extends Block
    {
        public BlockDynamite(int i, int j)
        {
            super(i, j, Material.tnt);
    	setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.0625F, 1.0F);
        }
    
        public int idDropped(int i, Random random)
        {
            return 0;
        }
    }





    Minecraft crashes when I try to place the dynamite on the ground.

    Crash Log:
    --- BEGIN ERROR REPORT a1dce528 --------
    Generated 2/12/11 9:40 PM
    
    Minecraft: Minecraft Beta 1.2_02
    OS: Windows XP (x86) version 5.1
    Java: 1.6.0_23, Sun Microsystems Inc.
    VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: ATI Radeon HD 4800 Series version 2.1.7659 Release, ATI Technologies Inc.
    
    java.lang.ArrayIndexOutOfBoundsException: -43
    	at ib.a(SourceFile:314)
    	at dn.b(SourceFile:437)
    	at dn.e(SourceFile:478)
    	at ItemDynamite.a(ItemDynamite.java:45)
    	at gm.a(SourceFile:77)
    	at kb.a(SourceFile:89)
    	at net.minecraft.client.Minecraft.a(SourceFile:968)
    	at net.minecraft.client.Minecraft.i(SourceFile:1130)
    	at net.minecraft.client.Minecraft.run(SourceFile:642)
    	at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT d5884eb5 ----------


    So if someone could help me finish this mod, I would be really happy. I want "BlockDynamite" to instantly destroy the block it was placed on when activated with a redstone circuit, but I don't know what I have to do to make that work.
    Posted in: Tutorials
  • 0

    posted a message on [Outdated] Advanced modding
    I want to make a mod. I really don't have any clue where to start though.

    The mod is this: Craftable sticks of dynamite that are activated by redstone or punching. It instantly destroys the single block that it was placed on. It sits on top of the block and works the same way as TNT except, it is not a full-sized block. It is placed using the same block as tracks or redstone are used on (1/8th block).

    What class files would I need to edit to do this? The tutorials I've been looking at are outdated, and I'd really like to make this.
    Posted in: Tutorials
  • 0

    posted a message on [HELP]How do you Change the Water Texture?
    Quote from monokr0me »
    I believe I read about a patch for that, try searching for it.
    EDIT: I think this is it.

    Thanks, I'll need to figure out how to animate the texture now.
    Posted in: Mods Discussion
  • 0

    posted a message on [HELP]How do you Change the Water Texture?
    I'm working on a 16x16 texture pack and I'd like to change the water texture to something different. I changed the water section in my custom terrain.png and it didn't change the water in-game after reloading the client.
    So I looked for a water.png file, and I found it in the "misc" folder in minecraft.jar. I changed it to my texture, saved it in the .jar file and in my texture pack and the water still hasn't changed.

    Someone please tell me how to change the water texture.
    Posted in: Mods Discussion
  • 0

    posted a message on Cheeseyx's Mods
    Quote from Evrim »
    YOU DOWNLOAD EITHER 303'S MODIFIED OR RISUGAMI'S

    NOT BOTH

    If you read my post, I installed 303's first, and it didn't work. Then I deleted and redownloaded minecraft.jar and THEN installed the OTHER mod loader. I didn't install both at the same time.
    Posted in: Mods Discussion
  • 0

    posted a message on Cheeseyx's Mods
    I just downloaded the Hookshot mod, 303's Mod Loader, and Risugami's Mod Loader.
    I place 303's mod loader into minecraft.jar, and then placed the hookshot mod in minecraft.jar, then deleted META-INF from the minecraft.jar file.
    I got a black screen when I logged in, and nothing happened.
    I deleted the bin folder and re-downloaded Minecraft, then did the same process again but with Risugami's mod loader.
    Mod loader first, hookshot second, then delete meta-inf.
    I still got a black screen after doing everything that the instructions say to do, but it doesn't work.

    I'm running Windows XP with the most recent version of Minecraft, no other mods are installed and nothing is wrong with my computer.
    Posted in: Mods Discussion
  • 0

    posted a message on BiomeTerrain Mod v11.2_3 (12/5) - SMP updated
    Can you work on the dungeon frequency option next? It would be so awesome to have dungeons everywhere.
    Posted in: Mods Discussion
  • To post a comment, please .