• 0

    posted a message on How do you name items with modloader?
    Mods loaded: 2
    ModLoader 1.1
    mod_superyoshiitems 1

    Minecraft has crashed!
    ----------------------

    --- BEGIN ERROR REPORT dfb7e04a --------
    Generated 2/11/12 7:09 PM

    Minecraft: Minecraft 1.1
    OS: Windows 7 (amd64) version 6.1
    Java: 1.6.0_26, Sun Microsystems Inc.
    VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: GeForce GTS 450/PCI/SSE2 version 4.1.0, NVIDIA Corporation

    java.lang.Exception: net.minecraft.src.ItemYoshicoin@7d5dc37d is missing name tag!
    at net.minecraft.src.ModLoader.AddName(ModLoader.java:291)
    at net.minecraft.src.mod_superyoshiitems.GenerateSurface(mod_superyoshiitems.java:25)
    at net.minecraft.src.ModLoader.PopulateChunk(ModLoader.java:1164)
    at net.minecraft.src.ChunkProvider.populate(ChunkProvider.java:150)
    at net.minecraft.src.Chunk.populateChunk(Chunk.java:866)
    at net.minecraft.src.ChunkProvider.loadChunk(ChunkProvider.java:77)
    at net.minecraft.src.ChunkProvider.provideChunk(ChunkProvider.java:85)
    at net.minecraft.src.World.getChunkFromChunkCoords(World.java:460)
    at net.minecraft.src.ChunkCache.<init>(ChunkCache.java:23)
    at net.minecraft.src.WorldRenderer.updateRenderer(WorldRenderer.java:119)
    at net.minecraft.src.RenderGlobal.updateRenderers(RenderGlobal.java:1232)
    at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:881)
    at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:735)
    at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:17)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:737)
    at net.minecraft.client.Minecraft.run(Minecraft.java:634)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 7564184c ----------
    Posted in: Modification Development
  • 0

    posted a message on How do you name items with modloader?
    I have tried that but it won't work... I put it in a mod_ java file.
    ModLoader.AddName(Item.yoshicoin, "Yoshi coin");
    Posted in: Modification Development
  • 0

    posted a message on How do you name items with modloader?
    I have tried a few things, but they didn't work... What is the right way of naming the items?
    Posted in: Modification Development
  • 0

    posted a message on Error when I try to add a name to my item
    Saw it in a tutorial. Maybe it was outdated?
    EDIT:
    Actually, I only use modloader for some parts. The items and blocks are coded without the help of modloader. I see how that could be a problem...
    Posted in: Modification Development
  • 0

    posted a message on Error when I try to add a name to my item
    package net.minecraft.src;
    
    import java.util.Random;
    
    public class mod_superyoshiitems extends BaseMod{
    
    	public String getVersion()
        {
          return "1";
        }
    
    	@Override
    	public void load() {
    		
    	}
    	public void GenerateSurface(World world, Random random, int i, int j) {
            
            for (int p = 0; p < 2; p++) {
                    int x = i + random.nextInt(16);
                    int y = random.nextInt(16);
                    int z = j + random.nextInt(16);
                    (new WorldGenMinable(Block.oreRainbowDiamond.blockID, 5)).generate(world, random, x, y, z);
            }}
            public mod_superyoshiitems(){
                ModLoader.AddName(Item.yoshiCoin, "Yoshi Coin");
            }
    }
    Posted in: Modification Development
  • 0

    posted a message on Error when I try to add a name to my item
    Whenever I try to add a name to my item, I get this:
    Mods loaded: 2
    ModLoader 1.1
    mod_superyoshiitems 1
    
          Minecraft has crashed!      
          ----------------------      
    
    --- BEGIN ERROR REPORT dfb7e04a --------
    Generated 2/11/12 7:09 PM
    
    Minecraft: Minecraft 1.1
    OS: Windows 7 (amd64) version 6.1
    Java: 1.6.0_26, Sun Microsystems Inc.
    VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: GeForce GTS 450/PCI/SSE2 version 4.1.0, NVIDIA Corporation
    
    java.lang.Exception: net.minecraft.src.ItemYoshicoin@7d5dc37d is missing name tag!
    	at net.minecraft.src.ModLoader.AddName(ModLoader.java:291)
    	at net.minecraft.src.mod_superyoshiitems.GenerateSurface(mod_superyoshiitems.java:25)
    	at net.minecraft.src.ModLoader.PopulateChunk(ModLoader.java:1164)
    	at net.minecraft.src.ChunkProvider.populate(ChunkProvider.java:150)
    	at net.minecraft.src.Chunk.populateChunk(Chunk.java:866)
    	at net.minecraft.src.ChunkProvider.loadChunk(ChunkProvider.java:77)
    	at net.minecraft.src.ChunkProvider.provideChunk(ChunkProvider.java:85)
    	at net.minecraft.src.World.getChunkFromChunkCoords(World.java:460)
    	at net.minecraft.src.ChunkCache.<init>(ChunkCache.java:23)
    	at net.minecraft.src.WorldRenderer.updateRenderer(WorldRenderer.java:119)
    	at net.minecraft.src.RenderGlobal.updateRenderers(RenderGlobal.java:1232)
    	at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:881)
    	at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:735)
    	at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:17)
    	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:737)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:634)
    	at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 7564184c ----------

    any help?
    Posted in: Modification Development
  • 0

    posted a message on How do I add modloader to a mod I am already making?
    Ok, so I am making a mod, and I have realized why so many mods use modloader. Sadly, this was my first mod, so I didn't know modloader was so important. My mod is big already, so I do not want to restart. Is there a way I can add modloader to my mod?
    Posted in: Modification Development
  • 0

    posted a message on How to do I make my ore spawn?
    :sad.gif: I am not using modloader... Is there a way I can add it in?
    Posted in: Modification Development
  • 0

    posted a message on How to do I make my ore spawn?
    I have just created a new ore, but it doesn't seem to spawn. How can I add it to the world generator?
    Posted in: Modification Development
  • 0

    posted a message on Blocks not showing in creative mode inventory?
    Thanks!
    Posted in: Modification Development
  • 0

    posted a message on Blocks not showing in creative mode inventory?
    Sadly I started making my mod without mod loader. Is there a way I can implement it to my mod without having to restart?
    Posted in: Modification Development
  • 0

    posted a message on Blocks not showing in creative mode inventory?
    I am creating a mod that adds new blocks and items to the game, but the blocks will not show up in the creative mode inventory. I am assuming there is some blacklist somewhere or a whitelist of the items that can show up in the creative mode inventory. How can I fix this?
    Posted in: Modification Development
  • 0

    posted a message on Add crafting recipe with damage value?
    I was just wondering how you create a crafting recipe with a damage value(ex. yellow dye) If you know how to do it please help me. Thanks!
    Posted in: Modification Development
  • 0

    posted a message on Anyone have a private server?
    anyone have a private server with some other people on it that I could join? I've been really bored and need a good server to play on. Any ideas?
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on Anyone want to blow a world with me?
    Quote from Zardium

    Zardium
    Sounds like fun!

    76.192.33.23:25565 YOU ARE IN!
    Posted in: Creative Mode
  • To post a comment, please .