Jump to content

lucasdidur

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by lucasdidur

  1. I do not know, I tried searching for how to Bukkit, but not found.
  2. 2012-07-24 22:42:10 [sEVERE] java.lang.NoClassDefFoundError: Lid; 2012-07-24 22:42:10 [sEVERE] at java.lang.Class.getDeclaredFields0(Native Method) 2012-07-24 22:42:10 [sEVERE] at java.lang.Class.privateGetDeclaredFields(Unknown Source) 2012-07-24 22:42:10 [sEVERE] at java.lang.Class.getDeclaredFields(Unknown Source) 2012-07-24 22:42:10 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.findSidedProxyOn(FMLBukkitHandler.java:619) 2012-07-24 22:42:10 [sEVERE] at cpw.mods.fml.common.modloader.ModLoaderModContainer.findSidedProxy(ModLoaderModContainer.java:689) 2012-07-24 22:42:10 [sEVERE] at cpw.mods.fml.common.FMLCommonHandler.injectSidedProxyDelegate(FMLCommonHandler.java:623) 2012-07-24 22:42:10 [sEVERE] at cpw.mods.fml.common.Loader.preModInit(Loader.java:247) 2012-07-24 22:42:10 [sEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:607) 2012-07-24 22:42:10 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134) 2012-07-24 22:42:10 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135) 2012-07-24 22:42:10 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) 2012-07-24 22:42:10 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-07-24 22:42:10 [sEVERE] Caused by: java.lang.ClassNotFoundException: id 2012-07-24 22:42:10 [sEVERE] at java.net.URLClassLoader$1.run(Unknown Source) 2012-07-24 22:42:10 [sEVERE] at java.net.URLClassLoader$1.run(Unknown Source) 2012-07-24 22:42:10 [sEVERE] at java.security.AccessController.doPrivileged(Native Method) 2012-07-24 22:42:10 [sEVERE] at java.net.URLClassLoader.findClass(Unknown Source) 2012-07-24 22:42:10 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 2012-07-24 22:42:10 [sEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 2012-07-24 22:42:10 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 2012-07-24 22:42:10 [sEVERE] ... 12 more 2012-07-24 22:42:10 [sEVERE] Unexpected exception java.lang.NoClassDefFoundError: Lid; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredFields(Unknown Source) at cpw.mods.fml.server.FMLBukkitHandler.findSidedProxyOn(FMLBukkitHandler.java:619) at cpw.mods.fml.common.modloader.ModLoaderModContainer.findSidedProxy(ModLoaderModContainer.java:689) at cpw.mods.fml.common.FMLCommonHandler.injectSidedProxyDelegate(FMLCommonHandler.java:623) at cpw.mods.fml.common.Loader.preModInit(Loader.java:247) at cpw.mods.fml.common.Loader.loadMods(Loader.java:607) at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassNotFoundException: id at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 12 more My simple mod: package net.minecraft.src; import net.minecraft.src.forge.NetworkMod; public class mod_EhCoin extends NetworkMod { public static Item ehCoin_Bronze; public mod_EhCoin(){} public String getVersion() { return "0.1"; } public void load() { ehCoin_Bronze = new ItemEhCoin(3500).setItemName("EhCoinBronze"); } public boolean clientSideRequired() { return true; } public boolean serverSideRequired() { return false; } } What can be this?
  3. Hello, I'm getting some problems when I tried to make a config file. Always when the game starts, he overriden the current save file, and rename to mod_***.cfg.bak and create a new file with defaults config. But I dont know why this is happening. I use this code to load my config: public static void configurationProperties() { Configuration config = new Configuration(new File(new File(mc.getMinecraftDir(), "config"), "mod_***.cfg")); config.load(); currVer = config.getOrCreateProperty("mod.versao", config.CATEGORY_GENERAL, defautlVer).value; config.save(); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.