This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
package lazmod; import net.minecraft.block.Block; import net.minecraft.block.material.MapColor; import net.minecraft.block.material.Material; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.src.BaseMod; import net.minecraft.src.ModLoader; public class mod_forcefield extends BaseMod { public static Block ffield = new BlockFfield(1240, 0).setBlockUnbreakable().setHardness(6000000F).setLightValue(0.4F).setBlockName("ffield"); public static Block irtnk = new BlockIrTnk(1241, 0).setBlockUnbreakable().setHardness(6000000F).setBlockName("irtnk"); public static int texTop=ModLoader.addOverride("/terrain.png", "/lazmod/iron_tank_t.png"); public static int texSides=ModLoader.addOverride("/terrain.png", "/lazmod/iron_tank_s.png"); public String getVersion() { return "0.1 alpha"; } public void load() { ModLoader.registerBlock(ffield); ModLoader.registerBlock(irtnk); ModLoader.addName(ffield, "Force Field"); ModLoader.addName(irtnk, "Iron Tank"); ModLoader.addRecipe(new ItemStack(ffield, 64), new Object[]{ "111", "202", "111", Character.valueOf('1'), Block.glass, Character.valueOf('0'), Block.bedrock, Character.valueOf('2'), Item.redstone}); ffield.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/lazmod/ffield.png"); } }
2012-12-16 18:07:29 [INFO] [ForgeModLoader] Forge Mod Loader version 4.5.62.495 for Minecraft 1.4.5 loading 2012-12-16 18:07:33 [INFO] [STDOUT] 208 recipes 2012-12-16 18:07:33 [INFO] [STDOUT] 27 achievements 2012-12-16 18:07:36 [INFO] [Minecraft] Starting minecraft server version 1.4.5 2012-12-16 18:07:36 [INFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-12-16 18:07:36 [INFO] [STDOUT] MinecraftForge v6.4.2.445 Initialized 2012-12-16 18:07:36 [INFO] [ForgeModLoader] MinecraftForge v6.4.2.445 Initialized 2012-12-16 18:07:36 [INFO] [STDOUT] Replaced 84 ore recipies 2012-12-16 18:07:36 [INFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-12-16 18:07:36 [INFO] [ForgeModLoader] Searching Z:\mcdev\forge\mcp\jars\mods for mods 2012-12-16 18:07:41 [INFO] [ForgeModLoader] Forge Mod Loader has identified 5 mods to load 2012-12-16 18:07:41 [INFO] [STDERR] java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addOverride(Ljava/lang/String;Ljava/lang/String;)I 2012-12-16 18:07:41 [INFO] [STDERR] at lazmod.mod_forcefield.<clinit>(mod_forcefield.java:20) 2012-12-16 18:07:41 [INFO] [STDERR] at java.lang.Class.forName0(Native Method) 2012-12-16 18:07:41 [INFO] [STDERR] at java.lang.Class.forName(Unknown Source) 2012-12-16 18:07:41 [INFO] [STDERR] at cpw.mods.fml.common.ModClassLoader.loadBaseModClass(ModClassLoader.java:87) 2012-12-16 18:07:41 [INFO] [STDERR] at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:488) 2012-12-16 18:07:41 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-12-16 18:07:41 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2012-12-16 18:07:41 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2012-12-16 18:07:41 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-12-16 18:07:41 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) 2012-12-16 18:07:41 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-12-16 18:07:41 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2012-12-16 18:07:41 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2012-12-16 18:07:41 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-12-16 18:07:41 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-12-16 18:07:41 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) 2012-12-16 18:07:41 [INFO] [STDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:478) 2012-12-16 18:07:41 [INFO] [STDERR] at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) 2012-12-16 18:07:41 [INFO] [STDERR] at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:344) 2012-12-16 18:07:41 [INFO] [STDERR] at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:64) 2012-12-16 18:07:41 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457) 2012-12-16 18:07:41 [INFO] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:15) 2012-12-16 18:07:41 [SEVERE] [Minecraft] Encountered an unexpected exception NoSuchMethodError java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addOverride(Ljava/lang/String;Ljava/lang/String;)I at lazmod.mod_forcefield.<clinit>(mod_forcefield.java:20) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadBaseModClass(ModClassLoader.java:87) at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:488) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) at cpw.mods.fml.common.Loader.loadMods(Loader.java:478) at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:344) at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:64) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:15) 2012-12-16 18:07:41 [SEVERE] [Minecraft] This crash report has been saved to: Z:\mcdev\forge\mcp\jars\.\crash-reports\crash-2012-12-16_18.07.41-server.txt 2012-12-16 18:08:07 [INFO] [Minecraft] Stopping server 2012-12-16 18:08:07 [INFO] [Minecraft] Saving worlds 2012-12-16 18:08:07 [INFO] [STDERR] java.lang.NullPointerException 2012-12-16 18:08:07 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:357) 2012-12-16 18:08:07 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:405) 2012-12-16 18:08:07 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:549) 2012-12-16 18:08:07 [INFO] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:15) 2012-12-16 18:08:07 [INFO] [Minecraft] Stopping server
Server error