Jump to content

Recommended Posts

Posted (edited)

So, I made my own Mod, and i Tried to Run it with the 1.8FML Versison (I used the MDK for 1.8, i tried download the 1.8 forge but it gave me 1.8.9 instead so i was need to use to the 1.8FML Forge Versison)

 

And when i try Run it on my MC it keeps getting the Error "java.lang.NoClassSeffounder" Error,

 

My Code is Completly fine and All.

 

What's Wrong?

Do i need To Add a specific code to my Mod?

 

By the way, i did exchanged it to a Jar file. so it wont be that problem.

 

Please Answer.

 

Thanks.

 

Edited by Modder123
Error Changed, diffrent Error got solved.
Posted
4 minutes ago, Modder123 said:

So, I made my own Mod, and i Tried to Run it with the 1.8FML Versison (I used the MDK for 1.8, i tried download the 1.8 forge but it gave me 1.8.9 instead so i was need to use to the 1.8FML Forge Versison)

 

And when i try Run it on my MC it keeps getting the Error "java.lang.NoClassSeffounder" Error,

 

My Code is Completly fine and All.

 

What's Wrong?

Do i need To Add a specific code to my Mod?

 

By the way, i did exchanged it to a Jar file. so it wont be that problem.

 

Please Answer.

 

Thanks.

 

When i'm looking at the Minecraft Log it saying it Missing "signature files" How i Get "Signature files?"

Posted

Post the FML log (logs/fml-client-latest.log in the game directory) using Gist or Pastebin.

 

How exactly did you build you mod?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
5 minutes ago, Choonster said:

Post the FML log (logs/fml-client-latest.log in the game directory) using Gist or Pastebin.

 

How exactly did you build you mod?

I built it using Eclipse and here is the Error log:

09:20:43 FML Client thread error Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
09:20:43 FML Client thread error mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{8.0.127.1103} [Forge Mod Loader] (fml-1.8-8.0.127.1103.jar) Unloaded->Constructed->Pre-initialized HM{1.0} [Hypixel Chat Manager Mod] (HM-1.0.jar) Unloaded->Constructed->Errored
09:20:43 FML Client thread error The following problems were captured during this phase
09:20:43 FML Client thread error Caught exception from HM java.lang.NoClassDefFoundError: net/minecraftforge/common/MinecraftForge at com.XxDanielMCYTxX.hypixelchat1.HypixelChat1.preInit(HypixelChat1.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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:212) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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:119) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:527) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:245) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:414) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:326) at net.minecraft.client.main.Main.main(SourceFile:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.ClassNotFoundException: net.minecraftforge.common.MinecraftForge at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 38 more
09:20:43 STDOUT Client thread info [net.minecraft.init.Bootstrap:func_179870_a:492]: ---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 7/5/17 9:20 AM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/common/MinecraftForge at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:163) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:529) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:245) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:414) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:326) at net.minecraft.client.main.Main.main(SourceFile:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoClassDefFoundError: net/minecraftforge/common/MinecraftForge at com.XxDanielMCYTxX.hypixelchat1.HypixelChat1.preInit(HypixelChat1.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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:212) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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:119) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:527) ... 10 more Caused by: java.lang.ClassNotFoundException: net.minecraftforge.common.MinecraftForge at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 38 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 110142736 bytes (105 MB) / 280391680 bytes (267 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.10 FML v8.0.127.1103 3 mods loaded, 3 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{8.0.127.1103} [Forge Mod Loader] (fml-1.8-8.0.127.1103.jar) Unloaded->Constructed->Pre-initialized HM{1.0} [Hypixel Chat Manager Mod] (HM-1.0.jar) Unloaded->Constructed->Errored Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '3.1.0 - Build 9.17.10.3040' Renderer: 'Intel(R) HD Graphics 3000
Posted

In future, please post the entire FML log. The snippets you posted appear to be from a different log.

 

Quote

java.lang.NoClassDefFoundError: net/minecraftforge/common/MinecraftForge
...
FML: MCP v9.10 FML v8.0.127.1103 3 mods loaded, 3 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    FML{8.0.127.1103} [Forge Mod Loader] (fml-1.8-8.0.127.1103.jar) Unloaded->Constructed->Pre-initialized
    HM{1.0} [Hypixel Chat Manager Mod] (HM-1.0.jar) Unloaded->Constructed->Errored

 

You appear to be running FML without Forge, but your mod uses at least one class from Forge (and using FML by itself isn't supported). Forge includes FML, so use Forge.

 

You should be able to download a 1.8 version of Forge from the main Files site.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted (edited)
23 minutes ago, Choonster said:

In future, please post the entire FML log. The snippets you posted appear to be from a different log.

 

 

You appear to be running FML without Forge, but your mod uses at least one class from Forge (and using FML by itself isn't supported). Forge includes FML, so use Forge.

 

You should be able to download a 1.8 version of Forge from the main Files site.

I Tried that, but when it opening the minecraft it opens 1.8.9 And not 1.8 as the download (main site) said.

but I'll try again.

Edited by Modder123
Posted
22 minutes ago, Choonster said:

In future, please post the entire FML log. The snippets you posted appear to be from a different log.

 

 

You appear to be running FML without Forge, but your mod uses at least one class from Forge (and using FML by itself isn't supported). Forge includes FML, so use Forge.

 

You should be able to download a 1.8 version of Forge from the main Files site.

And the For the full log:https://pastebin.com/yJW8GGqM

Posted
2 minutes ago, Modder123 said:

I Tried that, but when it opening the minecraft it opens 1.8.9 And not 1.8 as the download (main site) said.

but I'll try again.

The game loaded up But the Mod didn't work (it said a Signature Error)

 

is there Fix for that?

Posted
7 minutes ago, Modder123 said:

And the For the full log:https://pastebin.com/yJW8GGqM

 

That's the crash report, not the FML log. As I said previously, the FML log is the logs/fml-client-latest.log file in the game directory.

 

16 minutes ago, Modder123 said:

I'll Tried that, but when it opening the minecraft it opens 1.8.9 And not 1.8 as the download (main site) said.

 

Did you select the correct Forge version in the launcher profile?

 

MGMiefA.png

 

 

12 minutes ago, Modder123 said:

The game loaded up But the Mod didn't work (it said a Signature Error)

 

Post the full FML log (the actual FML log, not a different log or a crash report) from a session where this happens.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
Just now, Choonster said:

 

That's the crash report, not the FML log. As I said previously, the FML log is the logs/fml-client-latest.log file in the game directory.

 

 

Did you select the correct Forge version in the launcher profile?

 

MGMiefA.png

 

 

 

Post the full FML log (the actual FML log, not a different log or a crash report) from a session where this happens.

FML Log:https://pastebin.com/94dipRZ5

Posted
16 minutes ago, Modder123 said:

 

That's not the full log. It doesn't appear to be the FML log, either.

 

The missing signature data error is bad if you're running Minecraft outside of the development environment, but it doesn't crash the game.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
Just now, Choonster said:

 

That's not the full log. It doesn't appear to be the FML log, either.

 

The missing signature data error is bad if you're running Minecraft outside of the development environment, but it doesn't crash the game.

here is the FULL log from the logs floder:

https://pastebin.com/KsTBhsyi

Posted
24 minutes ago, Modder123 said:

here is the FULL log from the logs floder:

https://pastebin.com/KsTBhsyi

 

That's closer, but it's still not the FML log. The FML log should have several DEBUG and TRACE messages, the log you linked doesn't.

 

There's no error in that log. What issue are you currently experiencing?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
3 minutes ago, Choonster said:

 

That's closer, but it's still not the FML log. The FML log should have several DEBUG and TRACE messages, the log you linked doesn't.

 

There's no error in that log. What issue are you currently experiencing?

OK, firstable, why you Respond like 30 minutes after i reply, And I seriously Don't understand how that's not the Log i Litearlly went to my Logs floder in .minecraft And Took it from there... Secondly, my Code is all Good but the Mod wont work.

 

Aka Signature problem.

 

Thats the problem.

Posted
29 minutes ago, Modder123 said:

OK, firstable, why you Respond like 30 minutes after i reply

Because I'm doing other things and this thread is becoming frustrating.

 

32 minutes ago, Modder123 said:

And I seriously Don't understand how that's not the Log i Litearlly went to my Logs floder in .minecraft And Took it from there..

Are you absolutely sure that you posted fml-client-latest.log? Like I said, it doesn't appear to be the correct log.

 

34 minutes ago, Modder123 said:

Secondly, my Code is all Good but the Mod wont work.

 

Aka Signature problem.

"The mod doesn't work" doesn't really tell me anything. How does it not work?

 

What's the "signature problem"? If you mean the "FML appears to be missing any signature data. This is not a good thing" message, I explained that this is bad but it doesn't crash the game or stop anything from working.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted (edited)
13 minutes ago, Choonster said:

Because I'm doing other things and this thread is becoming frustrating.

 

Are you absolutely sure that you posted fml-client-latest.log? Like I said, it doesn't appear to be the correct log.

 

"The mod doesn't work" doesn't really tell me anything. How does it not work?

 

What's the "signature problem"? If you mean the "FML appears to be missing any signature data. This is not a good thing" message, I explained that this is bad but it doesn't crash the game or stop anything from working.

For some reason, in the Logs floder in .minecraft I cannot find anything like You mentioded.

 

I see there files with Dates like: 2017-07-05 And not fml-client-lastest.log or something like that.

 

And by what i mean That mod doesn't work:

 

Ok, basically i made a Mod thats if you click a Specific Button (Basically i added a Keybind to my mod) it will execute a Command to the Server.

The thing is, it wont Send it, maybe it does send but i dont see the message, Anyways, Just incase I may coded wrong the 

Send Command to the Server code, here is the Codes:

 

KeyBinds:https://pastebin.com/hprVPhAd

 

KeybindInputHandler(the class which executes the Code for the keybind.):https://pastebin.com/Kp2QY1g1

Quick Note - About the Command inside this ^ code i typed there a command that the Server added to himself, basically, a Custom Command of the server i use the Mod to. (the server is not mine) 

 

NOTE: Those are not ALL of the mod Class codes.

 

I Hope you can tell me whats wrong with my code or with the mod.

 

Thanks.

Modder123.

Edited by Modder123
Posted

EntityPlayerSP#sendChatMessage is the correct method to send a chat message from the client (which may be a command). ClientCommandHandler#executeCommand can only execute client-side commands, not server-side commands.

 

KeyBindings should be checked in ClientTickEvent (make sure you check TickEvent#phase to avoid checking the KeyBindings in both phases of the event) rather than KeyInputEvent.

 

Have you registered an instance of KeyInputHandler with the appropriate event bus? Is the onKeyInput method being called? Set a breakpoint in the method and run Minecraft in debug mode if you're not sure.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
19 minutes ago, Choonster said:

Have you registered an instance of KeyInputHandler with the appropriate event bus? Is the onKeyInput method being called? Set a breakpoint in the method and run Minecraft in debug mode if you're no

Yeah I did.

 

20 minutes ago, Choonster said:

EntityPlayerSP#sendChatMessage is the correct method to send a chat message from the client (which may be a command).

Wait, Can you give me an Example of where to put the Command In? it would help me.

 

21 minutes ago, Choonster said:

KeyBindings should be checked in ClientTickEvent (make sure you check TickEvent#phase to avoid checking the KeyBindings in both phases of the event) rather than KeyInputEvent

Where exactly to Put those methods?

 

 

I'm not the best In those Stuff... You can just ignore that message if you want... i'm really not the best in Java Coding...

 

Uh.. can you maybe Make a pastebin Explaining where goes each thing? it would help me a bit...

 

Thanks.

Modder123

Posted (edited)
10 minutes ago, Modder123 said:

Yeah I did.

So you've set a breakpoint inside the if statement in onKeyInput and it was hit? Did you try stepping through the code to see what happened?

 

10 minutes ago, Modder123 said:

Wait, Can you give me an Example of where to put the Command In? it would help me.

The way you're sending the command chat message with EntityPlayerSP#sendChatMessage should work.

 

10 minutes ago, Modder123 said:

Where exactly to Put those methods?

ClientTickEvent is an event just like KeyInputEvent, you subscribe to it in the same way. It's even fired on the same event bus (the FML bus).

 

Forge's documentation has an introduction to events here.

 

Edited by Choonster

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • When I first heard about Bitcoin back in 2018, I was skeptical. The idea of a decentralized, digital currency seemed too good to be true. But I was intrigued as I learned more about the technology behind it and its potential. I started small, investing just a few hundred dollars, dipping my toes into the cryptocurrency waters. At first, it was exhilarating to watch the value of my investment grow exponentially. I felt like I was part of the future, an early adopter of this revolutionary new asset. But that euphoria was short-lived. One day, I logged into my digital wallet only to find it empty - my Bitcoin had vanished without a trace. It turned out that the online exchange I had trusted had been hacked, and my funds were stolen. I was devastated, both financially and emotionally. All the potential I had seen in Bitcoin was tainted by the harsh reality that with decentralization came a lack of regulation and oversight. My hard-earned money was gone, lost to the ether of the digital world. This experience taught me a painful lesson about the price of trust in the uncharted territory of cryptocurrency. While the technology holds incredible promise, the risks can be catastrophic if you don't approach it with extreme caution. My Bitcoin investment gamble had failed, and I was left to pick up the pieces, wiser but poorer for having placed my faith in the wrong hands. My sincere appreciation goes to MUYERN TRUST HACKER. You are my hero in recovering my lost funds. Send a direct m a i l ( muyerntrusted ( @ ) mail-me ( . )c o m ) or message on whats app : + 1 ( 4-4-0 ) ( 3 -3 -5 ) ( 0-2-0-5 )
    • You could try posting a log (if there is no log at all, it may be the launcher you are using, the FAQ may have info on how to enable the log) as described in the FAQ, however this will probably need to be reported to/remedied by the mod author.
    • So me and a couple of friends are playing with a shitpost mod pack and one of the mods in the pack is corail tombstone and for some reason there is a problem with it, where on death to fire the player will get kicked out of the server and the tombstone will not spawn basically deleting an entire inventory, it doesn't matter what type of fire it is, whether it's from vanilla fire/lava, or from modded fire like ice&fire/lycanites and it's common enough to where everyone on the server has experienced at least once or twice and it doesn't give any crash log. a solution to this would be much appreciated thank you!
    • It is 1.12.2 - I have no idea if there is a 1.12 pack
  • Topics

×
×
  • Create New...

Important Information

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