Jump to content

robust0

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by robust0

  1. Thank you, it finally works now. I really don't see why the eclipse export function didn't work. It worked for the 1.11.2 version of the mod, and I was using this same layout for my source and everything.
  2. It can't get any more simple than this. I've modified the build path, so my code is somewhere else on disk.
  3. This may not be the best way of doing things, but it certainly works, I'm just trying to figure out why the mod works in eclipse, but doesn't when it's built.
  4. Here's another way of explaining it.
  5. This is what I mean.
  6. No the project workspace is in the eclipse folder, that you get after doing "gradlew setupDecompWorkspace eclipse". and then I created a new project in the workspace, and removed the original "src" from the build path, and added my own which is in the "source" folder.
  7. My workspace isn't setup normally, I have a seperate directory for all my source, and I can run gradlew build in two seperate directories, the one with the mdk in it, and the eclipse workspace folder, or in the sources folder, where all of my code is.
  8. The build script does that, and it gives me the same error when I just run gradlew build
  9. Nevermind, still getting the same error, any advice?
  10. Oh yeah, I remember why I didn't want to use the build script. C:\projects\source\1.8.9\droidcapes>build Start building... Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain C:\projects\source\1.8.9\droidcapes> EDIT: Do I need a special build folder, or .gradle folder? Maybe a custom build.gradle? This would be the first time I use gradle to build my projects. EDIT2: Just found out why it wasn't working, the build.gradle was for 1.11.2...
  11. Thank you, I did see a build script somewhere but I didn't think I would need to use it. And that's actually really odd, because I didn't need one with the 1.11.2 version.
  12. So I'm building a mod off GitHub, and it seems to all work fine in Debug mode, but when I actually build it into a JAR and put it into my mods folder, it gives me a crash that I can't really understand. The most I see is that it can't access a Minecraft class, I'm not sure why it can't though. WARNING: coremods are present: Contact their authors BEFORE contacting forge // I just don't know what went wrong :( Time: 5/7/17 1:26 PM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.getMinecraft()Lnet/minecraft/client/Minecraft; at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:744) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:495) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) 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 net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.getMinecraft()Lnet/minecraft/client/Minecraft; at com.craftlifegaming.droidcapes.Wrapper.<clinit>(Wrapper.java:10) at com.craftlifegaming.droidcapes.proxy.ClientProxy.postInit(ClientProxy.java:28) at com.craftlifegaming.droidcapes.DroidCapes.postInit(DroidCapes.java:22) 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 net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) ... 10 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 7 (amd64) version 6.1 CPU: 4x Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz Java Version: 1.8.0_121, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 135403152 bytes (129 MB) / 312573952 bytes (298 MB) up to 8576565248 bytes (8179 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.19 Powered by Forge 11.15.1.1902 Optifine OptiFine_1.8.9_HD_U_H8 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJ mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHIJ FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1902-1.8.9.jar) UCHIJ Forge{11.15.1.1902} [Minecraft Forge] (forge-1.8.9-11.15.1.1902-1.8.9.jar) UCHIE droidcapes{1.0} [DroidCapes] (droidcapes-1.8.9-1.0.jar) UCHIJ animations{6.7} [Orange's 1.7 Animations] (Orange's 1.7 Animations-6.7.jar) Loaded coremods (and transformers): GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 376.33' Renderer: 'GeForce GTX 1060 6GB/PCIe/SSE2' OptiFine Version: OptiFine_1.8.9_HD_U_H8 Render Distance Chunks: 8 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.5.0 NVIDIA 376.33 OpenGlRenderer: GeForce GTX 1060 6GB/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 4 The mod isn't conflicting with the other mods I had installed. The GitHub code I'm building, https://github.com/halfpetal/CapesAPI-ForgeMod/ - I'm building the 1.8.9 version, I've already built the 1.11.2 version and that one worked just fine. EDIT: The reason I'm asking instead of going to halfpetal is because I've been trying to fix this problem for days now, and I've already looked through the documentation, and Googled around for hours.
×
×
  • Create New...

Important Information

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