Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Blackout

Members
  • Posts

    80
  • Joined

  • Last visited

Everything posted by Blackout

  1. I have my idea to solve the problem. In fact gradle uses dependencies to build the .jar but don't include referencies to external jar. So it's like you don't know the jar after the compilation. I think when the external jar is in your classpath (so put into your mods folder), you should do a Class.forname(), It should be works. I don't try, but will try it this week (If I have time, I hope ).
  2. Hi I'm trying to get all logs and planks items registered into the ItemRegistry but I don't know how can I do it Is someone have an idea to solve my problem ? We cannot use ID in 1.7.2, isn't it ? Thanks a lot
  3. Hi, I did it, but I still have this error :'( This is the error report : [19:39:56 INFO]: Client> [19:39:56] [Client thread/INFO] [FML]: FML has found a non-mod file commons-codec-1.6.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [19:39:56 INFO]: Client> [19:39:56] [Client thread/INFO] [FML]: FML has found a non-mod file commons-logging-1.1.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [19:39:56 INFO]: Client> [19:39:56] [Client thread/INFO] [FML]: FML has found a non-mod file fluent-hc-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [19:39:56 INFO]: Client> [19:39:56] [Client thread/INFO] [FML]: FML has found a non-mod file httpclient-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [19:39:56 INFO]: Client> [19:39:56] [Client thread/INFO] [FML]: FML has found a non-mod file httpclient-cache-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [19:39:56 INFO]: Client> [19:39:56] [Client thread/INFO] [FML]: FML has found a non-mod file httpcore-4.3.2.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [19:39:56 INFO]: Client> [19:39:56] [Client thread/INFO] [FML]: FML has found a non-mod file httpmime-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [19:39:58 INFO]: Client> [19:39:58] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [19:39:58 INFO]: Client> [19:39:58 INFO]: Client> Starting up SoundSystem... [19:39:58 INFO]: Client> Initializing LWJGL OpenAL [19:39:58 INFO]: Client> (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [19:40:01 INFO]: Client> OpenAL initialized. [19:40:01 INFO]: Client> [19:40:02 INFO]: Client> [19:40:01] [sound Library Loader/INFO]: Sound engine started [19:40:05 INFO]: Client> [19:40:05] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [19:40:05 INFO]: Client> [19:40:05] [Client thread/INFO]: Created: 256x256 textures/items-atlas [19:40:06 INFO]: Client> [19:40:06] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue [19:40:06 INFO]: Client> [19:40:06] [Client thread/ERROR] [FML]: [19:40:06 INFO]: Client> mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized [19:40:06 INFO]: Client> FML{7.2.165.1065} [Forge Mod Loader] (forge-1.7.2-10.12.1.1065.jar) Unloaded->Constructed->Pre-initialized->Initialized [19:40:06 INFO]: Client> Forge{10.12.1.1065} [Minecraft Forge] (forge-1.7.2-10.12.1.1065.jar) Unloaded->Constructed->Pre-initialized->Initialized [19:40:06 INFO]: Client> externalJarExample{1.0} [External Jar] (externalJarExemple-1.0.jar) Unloaded->Constructed->Pre-initialized->Errored [19:40:06 INFO]: Client> [19:40:06] [Client thread/ERROR] [FML]: The following problems were captured during this phase [19:40:06 INFO]: Client> [19:40:06] [Client thread/ERROR] [FML]: Caught exception from externalJarExample [19:40:06 INFO]: Client> java.lang.NoClassDefFoundError: org/apache/http/HttpEntity Do you have any idea ? Thanks
  4. Thanks a lot, building with gradle works now But I have an other problem, when I launch my game, it's crash because classLoader don't find externals librairies required by my mod. What can I do to solve it please ? Thanks
  5. Hi I'm using the apache library httpcomponents in my mod. So I've 7 jar files, I've added in my buildpath on Eclipse. Then compile with eclipse works. When I launch my mod with eclipse it's work. But when I use gradle build command, the custom buildpath is'nt considered. I see I must modify the build.gradle file. I've try ... dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' compile files('lib/httpcomponents-client/commons-codec-1.6.jar') compile files('lib/httpcomponents-client/commons-logging-1.1.3.jar') compile files('lib/httpcomponents-client/fluent-hc-4.3.3.jar') compile files('lib/httpcomponents-client/httpclient-4.3.3.jar') compile files('lib/httpcomponents-client/httpclient-cache-4.3.3.jar') compile files('lib/httpcomponents-client/httpcore-4.3.2.jar') compile files('lib/httpcomponents-client/httpmime-4.3.3.jar') } but it's doesn't work, "Could not find method compile() for arguments [file collection] on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@76454e71." And I've try to use dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' runtime fileTree(dir: 'lib/httpcomponents-client', include: '*.jar') } but I've an error too, "Could not find method runtime() for arguments [directory 'lib/httpcomponents-client'] on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@40211960." Could you help me please ? Thanks, and sorry for my bad english Blackout
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.