Jump to content

Forge not picking up a class when run outside of dev environment


Recommended Posts

Posted

I've managed to successfully implement code for an adapter for Clojure, but it only works within the dev environment due to forge not picking it up outside of the dev environment.

 

The jar name is test-mod-1.0.jar if that helps.

 

My current folder structure is:

main folder: forge_clj

subfolder:forge_clj/testmod (contains a sample mod that uses the code)

subfolder:forge_clj/core (contains the class I need)

 

I've referenced it directly in the code (so the resulting name it looks for is "forge_clj.core.ClojureAdapter"). This actually works in the dev environment, and I can't see any other differences besides being in a jar file. Any ideas as to why that class isn't loading?

 

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Posted

What is Clojure? Is it a library?

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

What is Clojure? Is it a library?

 

Clojure is a programming language built on top of the jvm. My current project is adding support for it to minecraft forge. I've managed to get around certain problems via an ILanguageAdapter implementation known as ClojureAdapter. From what I can see, forge uses Class.forname on a string that is given in the mod definition in order to find the Adapter. This strategy worked when in a dev environment, but it can't find the class file when run in a normal minecraft installation.

 

Mind you, I have been needing to place clojure.jar (the compiler) into the mods folder as well, though I doubt this is the problem.

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Posted

I think you should have 2 mods for that.

first mod is java mod and contains ILanguageAdapter.

second mod is clojure mod loaded by first mod.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

Can you post console log? It would be so helpful.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

Can you post console log? It would be so helpful.

 

Well, if you insist. I don't think it'll be that helpful but:

 

 

 

[20:35:44] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[20:35:44] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[20:35:44] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[20:35:44] [main/INFO] [FML]: Forge Mod Loader version 7.99.30.1492 for Minecraft 1.7.10 loading

[20:35:44] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_60, running on Mac OS X:x86_64:10.10.5, installed at /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre

[20:35:45] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[20:35:45] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[20:35:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[20:35:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[20:35:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[20:35:47] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557

[20:35:47] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc

[20:35:47] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[20:35:47] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[20:35:48] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

[20:35:48] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

[20:35:48] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[20:35:50] [main/INFO]: Setting user: yoshiquest01

[20:35:52] [main/INFO] [sTDOUT]: [net.minecraft.client.main.Main:main:144]: Completely ignored arguments: [--nativeLauncherVersion, 283]

[20:35:52] [Client thread/INFO]: LWJGL Version: 2.9.1

[20:35:53] [Client thread/INFO] [sTDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----

// Daisy, daisy...

 

Time: 9/14/15 8:35 PM

Description: Loading screen debug info

 

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Mac OS X (x86_64) version 10.10.5

Java Version: 1.7.0_60, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 277509352 bytes (264 MB) / 386400256 bytes (368 MB) up to 3817865216 bytes (3641 MB)

JVM Flags: 2 total; -Xmx4G -XX:MaxPermSize=256M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML:

GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.6.33' Renderer: 'Intel Iris OpenGL Engine'

[20:35:53] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[20:35:53] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1492 Initialized

[20:35:53] [Client thread/INFO] [FML]: Replaced 183 ore recipies

[20:35:54] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[20:35:54] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[20:35:54] [Client thread/INFO] [FML]: Searching /Users/Ryan/Library/Application Support/minecraft/mods for mods

[20:36:01] [Client thread/INFO] [FML]: Attempting to reparse the mod container clojure-1.7.0.jar

[20:36:01] [Client thread/ERROR] [FML]: Error constructing custom mod language adapter forge_clj.core.ClojureAdapter (referenced by yoshiquest.testmod.TestMod) (modid: test-mod)

java.lang.ClassNotFoundException: forge_clj.core.ClojureAdapter

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_60]

at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) [FMLModContainer.class:?]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

Caused by: java.lang.NullPointerException

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]

... 27 more

[20:36:01] [Client thread/ERROR] [FML]: Unable to construct cpw.mods.fml.common.Mod container

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

Caused by: cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: forge_clj.core.ClojureAdapter

 

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:111) ~[FMLModContainer.class:?]

... 21 more

Caused by: java.lang.ClassNotFoundException: forge_clj.core.ClojureAdapter

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_60]

at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) ~[FMLModContainer.class:?]

... 21 more

Caused by: java.lang.NullPointerException

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_60]

at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) ~[FMLModContainer.class:?]

... 21 more

[20:36:01] [Client thread/INFO] [FML]: Attempting to reparse the mod container testmod-1.0.jar

[20:36:01] [Client thread/ERROR] [FML]: Error constructing custom mod language adapter forge_clj.core.ClojureAdapter (referenced by yoshiquest.testmod.TestMod) (modid: test-mod)

java.lang.ClassNotFoundException: forge_clj.core.ClojureAdapter

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_60]

at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) [FMLModContainer.class:?]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:75) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

[20:36:01] [Client thread/ERROR] [FML]: Unable to construct cpw.mods.fml.common.Mod container

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:75) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

Caused by: cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: forge_clj.core.ClojureAdapter

 

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:111) ~[FMLModContainer.class:?]

... 21 more

Caused by: java.lang.ClassNotFoundException: forge_clj.core.ClojureAdapter

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_60]

at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) ~[FMLModContainer.class:?]

... 21 more

[20:36:01] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load

[20:36:01] [Client thread/INFO] [FML]: FML has found a non-mod file clojure-1.7.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

[20:36:01] [Client thread/INFO] [FML]: FML has found a non-mod file forge_clj-1.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

[20:36:01] [Client thread/INFO] [FML]: FML has found a non-mod file testmod-1.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

[20:36:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT

[20:36:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER

[20:36:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge

[20:36:02] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[20:36:02] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[20:36:02] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[20:36:02] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[20:36:02] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[20:36:02] [Client thread/INFO] [FML]: Applying holder lookups

[20:36:02] [Client thread/INFO] [FML]: Holder lookups applied

[20:36:02] [Client thread/INFO] [FML]: Injecting itemstacks

[20:36:02] [Client thread/INFO] [FML]: Itemstack injection complete

[20:36:02] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[20:36:02] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[20:36:03] [Thread-7/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[20:36:03] [Thread-7/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[20:36:03] [Thread-7/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[20:36:03] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[20:36:03] [sound Library Loader/INFO]: Sound engine started

[20:36:03] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas

[20:36:03] [Client thread/INFO]: Created: 16x16 textures/items-atlas

[20:36:03] [Client thread/INFO] [FML]: Injecting itemstacks

[20:36:03] [Client thread/INFO] [FML]: Itemstack injection complete

[20:36:03] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods

[20:36:03] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge

[20:36:03] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[20:36:04] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[20:36:04] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[20:36:04] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...

[20:36:04] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:    Author: Paul Lamb, www.paulscode.com

[20:36:04] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[20:36:04] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[20:36:04] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[20:36:04] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[20:36:04] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[20:36:04] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[20:36:05] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[20:36:05] [sound Library Loader/INFO]: Sound engine started

 

 

 

Note that minecraft doesn't crash. Forge simply can't find the language adapter and doesn't load the mod as a result.

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Posted

So forge_clj.core.ClojureAdapter does exist, but forge can't find the class?

It might be a problem with underbar(_), so try removing it.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

So forge_clj.core.ClojureAdapter does exist, but forge can't find the class?

It might be a problem with underbar(_), so try removing it.

 

Doubt it, it works within the dev environment. Besides, it's important for this thing to be able to support underscores.

 

After a lot of research, it seems to be a problem with the classloader. I don't think that the mod is included in the classpath normally, and as such forge can't find the mod. It's really complicated though. It would honestly be way easier if there was a way to simply give it an instance of ILanguageAdapter directly instead of all this classloader nonsense.

 

Anyways, it seems I need to either a.) find out what the heck is wrong with the name (I doubt there's anything wrong with it since the same name is used without issue in the dev environment, and I've changed the names before as well with no effect). Or b.) figure out why it isn't included in the classpath, or how to place that specific file on the classpath.

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Posted

Oh, yeah probably. Lemme go ahead and post them...

 

https://dl.dropboxusercontent.com/u/84398982/jarfiles.zip

 

There are three files in there. The first is clojure.jar (the compiler), the second is forge_clj.jar (the wrapper around forge), and the third is testmod.jar (a simple mod to test functionality). In a dev environment, only the last two are needed, though the problem occurs when running it with a standard minecraft installation.

 

If you need the source code as well just ask, though you might not understand it....

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Posted

Oh dear god Clojure make horrible bytecode...

Either way the issue is you're using .'s instead of /'s

Specify the class name correctly.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Nope. Same problem.

 

New crash report if ya want it (it's pretty much the same problem, except now it crashes in the dev environment too):

 

 

 

[00:22:35] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[00:22:35] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[00:22:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[00:22:35] [main/INFO] [FML]: Forge Mod Loader version 7.99.30.1492 for Minecraft 1.7.10 loading

[00:22:35] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_60, running on Mac OS X:x86_64:10.10.5, installed at /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre

[00:22:35] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[00:22:35] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[00:22:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[00:22:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[00:22:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[00:22:37] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557

[00:22:37] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc

[00:22:37] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[00:22:37] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[00:22:38] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

[00:22:38] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

[00:22:38] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[00:22:40] [main/INFO]: Setting user: yoshiquest01

[00:22:42] [main/INFO] [sTDOUT]: [net.minecraft.client.main.Main:main:144]: Completely ignored arguments: [--nativeLauncherVersion, 283]

[00:22:42] [Client thread/INFO]: LWJGL Version: 2.9.1

[00:22:43] [Client thread/INFO] [sTDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----

// You're mean.

 

Time: 9/15/15 12:22 AM

Description: Loading screen debug info

 

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Mac OS X (x86_64) version 10.10.5

Java Version: 1.7.0_60, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 293018376 bytes (279 MB) / 389545984 bytes (371 MB) up to 3817865216 bytes (3641 MB)

JVM Flags: 2 total; -Xmx4G -XX:MaxPermSize=256M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML:

GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.6.33' Renderer: 'Intel Iris OpenGL Engine'

[00:22:43] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[00:22:43] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1492 Initialized

[00:22:43] [Client thread/INFO] [FML]: Replaced 183 ore recipies

[00:22:43] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[00:22:43] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[00:22:43] [Client thread/INFO] [FML]: Searching /Users/Ryan/Library/Application Support/minecraft/mods for mods

[00:22:50] [Client thread/INFO] [FML]: Attempting to reparse the mod container clojure-1.7.0.jar

[00:22:50] [Client thread/ERROR] [FML]: Error constructing custom mod language adapter forge_clj/core/ClojureAdapter (referenced by yoshiquest.testmod.Testmod) (modid: testmod)

java.lang.ClassNotFoundException: forge_clj/core/ClojureAdapter

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) [FMLModContainer.class:?]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

[00:22:50] [Client thread/ERROR] [FML]: Unable to construct cpw.mods.fml.common.Mod container

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

Caused by: cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: forge_clj/core/ClojureAdapter

 

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:111) ~[FMLModContainer.class:?]

... 21 more

Caused by: java.lang.ClassNotFoundException: forge_clj/core/ClojureAdapter

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) ~[FMLModContainer.class:?]

... 21 more

[00:22:50] [Client thread/INFO] [FML]: Attempting to reparse the mod container testmod-1.0.jar

[00:22:50] [Client thread/ERROR] [FML]: Error constructing custom mod language adapter forge_clj/core/ClojureAdapter (referenced by yoshiquest.testmod.Testmod) (modid: testmod)

java.lang.ClassNotFoundException: forge_clj/core/ClojureAdapter

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) [FMLModContainer.class:?]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:75) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

[00:22:50] [Client thread/ERROR] [FML]: Unable to construct cpw.mods.fml.common.Mod container

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_60]

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_60]

at cpw.mods.fml.common.ModContainerFactory.build(ModContainerFactory.java:79) [ModContainerFactory.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:83) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:75) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]

at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

Caused by: cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: forge_clj/core/ClojureAdapter

 

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:111) ~[FMLModContainer.class:?]

... 21 more

Caused by: java.lang.ClassNotFoundException: forge_clj/core/ClojureAdapter

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_60]

at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_60]

at cpw.mods.fml.common.FMLModContainer.<init>(FMLModContainer.java:105) ~[FMLModContainer.class:?]

... 21 more

[00:22:50] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load

[00:22:51] [Client thread/INFO] [FML]: FML has found a non-mod file clojure-1.7.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

[00:22:51] [Client thread/INFO] [FML]: FML has found a non-mod file forge_clj-1.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

[00:22:51] [Client thread/INFO] [FML]: FML has found a non-mod file jarfiles.zip in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

[00:22:51] [Client thread/INFO] [FML]: FML has found a non-mod file testmod-1.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

[00:22:51] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT

[00:22:51] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER

[00:22:51] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge

[00:22:51] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[00:22:51] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[00:22:51] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[00:22:51] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[00:22:52] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[00:22:52] [Client thread/INFO] [FML]: Applying holder lookups

[00:22:52] [Client thread/INFO] [FML]: Holder lookups applied

[00:22:52] [Client thread/INFO] [FML]: Injecting itemstacks

[00:22:52] [Client thread/INFO] [FML]: Itemstack injection complete

[00:22:52] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:22:52] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[00:22:52] [Thread-7/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[00:22:52] [Thread-7/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[00:22:52] [Thread-7/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[00:22:53] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:22:53] [sound Library Loader/INFO]: Sound engine started

[00:22:53] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas

[00:22:53] [Client thread/INFO]: Created: 16x16 textures/items-atlas

[00:22:53] [Client thread/INFO] [FML]: Injecting itemstacks

[00:22:53] [Client thread/INFO] [FML]: Itemstack injection complete

[00:22:53] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods

[00:22:53] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge

[00:22:53] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[00:22:54] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[00:22:54] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:22:54] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...

[00:22:54] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:    Author: Paul Lamb, www.paulscode.com

[00:22:54] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:22:54] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:22:54] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[00:22:54] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[00:22:54] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[00:22:54] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[00:22:55] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:22:55] [sound Library Loader/INFO]: Sound engine started

 

 

 

But yeah, I didn't think that was it. Underneath, I'm setting the ILanguageAdapter to the ClojureAdapter class via the @Mod annotation. I noticed that the string obtained from there is used by FMLModContainer, and it loads the class via Class.forName() (which takes a package name, not a path). From what I've researched, Class.forName() only fails if either the name is wrong, or the file isn't on the classpath. Maybe the issue has to do with the latter?

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Posted

Interesting it looks like your jar containing the adapter isn't being added to the classpath until after it's trying to load. Will need to poke cpw about this as he write it all.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Interesting it looks like your jar containing the adapter isn't being added to the classpath until after it's trying to load. Will need to poke cpw about this as he write it all.

 

Ah, I figured as much. Thanks for the help.

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Posted

Ok, let me give an update on the situation.

 

I think I've found a way to do what I want to do without having to use the ClojureAdapter at all. As such, assuming the fixes needed would require a change to Forge, I'll work on that implementation instead. If they don't and there's a way to add the jar to the classpath, I then I might use that, but over all I think the new method I've come up with will be best. Thanks for the support.

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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