• 0

    posted a message on Minecraft ModLoader 1.5.1 Tutorial
    2013-03-29 18:07:38 [INFO] [ForgeModLoader] Forge Mod Loader version 5.0.35.597 for Minecraft 1.5.1 loading
    2013-03-29 18:07:38 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_43, running on Mac OS X:x86_64:10.8.3, installed at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    2013-03-29 18:07:38 [INFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    2013-03-29 18:07:39 [INFO] [STDOUT] 229 recipes
    2013-03-29 18:07:39 [INFO] [STDOUT] 27 achievements
    2013-03-29 18:07:40 [INFO] [Minecraft-Client] Setting user: Player100
    2013-03-29 18:07:40 [INFO] [STDOUT] (Session ID is -)
    2013-03-29 18:07:40 [INFO] [STDERR] Client asked for parameter: server
    2013-03-29 18:07:40 [INFO] [Minecraft-Client] LWJGL Version: 2.4.2
    2013-03-29 18:07:40 [INFO] [MinecraftForge] Attempting early MinecraftForge initialization
    2013-03-29 18:07:40 [INFO] [STDOUT] MinecraftForge v7.7.0.597 Initialized
    2013-03-29 18:07:40 [INFO] [ForgeModLoader] MinecraftForge v7.7.0.597 Initialized
    2013-03-29 18:07:40 [INFO] [STDOUT] Replaced 85 ore recipies
    2013-03-29 18:07:40 [INFO] [MinecraftForge] Completed early MinecraftForge initialization
    2013-03-29 18:07:40 [INFO] [ForgeModLoader] Reading custom logging properties from /Users/Aditya/Desktop/MCP/jars/config/logging.properties
    2013-03-29 18:07:40 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
    2013-03-29 18:07:40 [INFO] [ForgeModLoader] Searching /Users/Aditya/Desktop/MCP/jars/mods for mods
    2013-03-29 18:07:41 [INFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
    2013-03-29 18:07:41 [INFO] [mcp] Activating mod mcp
    2013-03-29 18:07:41 [INFO] [FML] Activating mod FML
    2013-03-29 18:07:41 [INFO] [Forge] Activating mod Forge
    2013-03-29 18:07:41 [INFO] [mod_Carpet] Activating mod mod_Carpet
    2013-03-29 18:07:41 [INFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
    2013-03-29 18:07:42 [INFO] [STDERR] java.lang.RuntimeException: Don't register null!
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.renderer.texture.TextureMap.registerIcon(TextureMap.java:229)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.block.Block.registerIcons(Block.java:1380)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.renderer.texture.TextureMap.refreshTextures(TextureMap.java:68)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.renderer.RenderEngine.refreshTextureMaps(RenderEngine.java:520)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:440)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:729)
    2013-03-29 18:07:42 [INFO] [STDERR] at java.lang.Thread.run(Thread.java:680)
    2013-03-29 18:07:42 [INFO] [STDERR] java.lang.NullPointerException
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.renderer.texture.TextureMap.refreshTextures(TextureMap.java:102)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.renderer.RenderEngine.refreshTextureMaps(RenderEngine.java:520)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:440)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
    2013-03-29 18:07:42 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:729)
    2013-03-29 18:07:42 [INFO] [STDERR] at java.lang.Thread.run(Thread.java:680)
    Posted in: Tutorials
  • 0

    posted a message on Minecraft ModLoader 1.5.1 Tutorial
    package net.minecraft.src;

    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;

    public class mod_Carpet extends BaseMod{
    public static final Block carpet = (new Block(170, Material.grass));

    public void load() {
    ModLoader.registerBlock(carpet);
    ModLoader.addName(carpet, "Carpet");
    };
    public String getVersion() {
    return "Carpet Mod";
    }
    }

    I made this code but it is saying that it is registering null, any help please?
    Posted in: Tutorials
  • To post a comment, please .