Jump to content

Forge 1.8 does not run my Mod, but only the example mod


Bedrock_Miner

Recommended Posts

Heyho Guys!

 

I have created a simple Mod to test the features of Forge 1.8. Unfortunately, My Mod is not started at all. I don't know what's wrong, every structure is the same as I found in the examplemod which is run completely fine.

 

Any Ideas?

 

 

package com.bedrockminer.experiments;

import com.bedrockminer.experiments.proxies.CommonProxy;

import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;

@Mod(modid = Experiments.modid, version = Experiments.version)
public class Experiments {

public static final String modid = "experiments";
public static final String version = "0.1-a.0";

@SidedProxy(clientSide = "com.bedrockminer.experiments.proxies.ClientProxy", serverSide = "com.bedrockminer.experiments.proxies.ClientProxy.CommonProxy")
public static CommonProxy proxy;

@EventHandler
public void init(FMLInitializationEvent event) {
	proxy.init(event);
	FMLLog.info("init fired!");
}
}

 

 

Thanks in advance!

Link to comment
Share on other sites

Log please.

 

[13:10:05] [main/INFO] [GradleStart]: Extra: []
[13:10:06] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.8, --assetsDir, C:/Users/Julian/.gradle/caches/minecraft/assets, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[13:10:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:10:06] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:10:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[13:10:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[13:10:06] [main/INFO] [FML]: Forge Mod Loader version 8.0.26.1299 for Minecraft 1.8 loading
[13:10:06] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_60-ea, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[13:10:06] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[13:10:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[13:10:06] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[13:10:06] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[13:10:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:10:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:10:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:10:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:10:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:10:06] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[13:10:09] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[13:10:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:10:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:10:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:10:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:10:10] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[13:10:12] [Client thread/INFO]: Setting user: Player14
[13:10:17] [Client thread/INFO]: LWJGL Version: 2.9.1
[13:10:20] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[13:10:20] [Client thread/INFO] [FML]: MinecraftForge v11.14.0.1299 Initialized
[13:10:20] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[13:10:21] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[13:10:21] [Client thread/INFO] [FML]: Searching C:\Users\Julian\Desktop\Modding\Experimente\Experiments\mods for mods
[13:10:36] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[13:10:37] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod] at CLIENT
[13:10:37] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod] at SERVER
[13:10:37] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
[13:10:37] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[13:10:37] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[13:10:37] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[13:10:37] [Client thread/INFO] [FML]: Applying holder lookups
[13:10:37] [Client thread/INFO] [FML]: Holder lookups applied
[13:10:39] [sound Library Loader/INFO]: Starting up SoundSystem...
[13:10:39] [Thread-7/INFO]: Initializing LWJGL OpenAL
[13:10:39] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[13:10:40] [Thread-7/INFO]: OpenAL initialized.
[13:10:40] [sound Library Loader/INFO]: Sound engine started
[13:10:59] [Client thread/INFO]: Created: 512x512 textures-atlas
[13:11:00] [Client thread/INFO] [sTDOUT]: [com.example.examplemod.ExampleMod:init:18]: DIRT BLOCK >> tile.dirt
[13:11:01] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[13:11:01] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
[13:11:01] [Client thread/INFO]: SoundSystem shutting down...
[13:11:01] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[13:11:01] [sound Library Loader/INFO]: Starting up SoundSystem...
[13:11:01] [Thread-9/INFO]: Initializing LWJGL OpenAL
[13:11:01] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[13:11:01] [Thread-9/INFO]: OpenAL initialized.
[13:11:01] [sound Library Loader/INFO]: Sound engine started
[13:11:04] [Client thread/INFO]: Created: 512x512 textures-atlas
[13:11:36] [Client thread/INFO]: Stopping!
[13:11:36] [Client thread/INFO]: SoundSystem shutting down...
[13:11:37] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

 

Link to comment
Share on other sites

I did it in two projects to make it easier to have several mods with one forge version. I have one folder with Forge in it. For every Mod I create a new workspace, create the mod's project and import the Forge folder as an existing project. Then I add it to the build path of the mod project and everything works fine.

 

I think, I'm going to check my Java. I installed Java 8 recently and I think, not everything was updated correctly because I had several co-existent Java versions.

Link to comment
Share on other sites

GOT IT! Auch ein blindes Huhn findet mal ein Korn... (= Even a blind chicken finds something to eat sometimes)

 

There are two different versions of everything we need for a mod: The @Mod annotation, the Init events, the @EventHandler Annotation and so on, once in the package cpw.mods.fml.common and once in the package net.minecraftforge.mods.common. Although there are exactly the same, they are obviously not interchangeable. I had the wrong one imported (cpw.mods.fml.common). Was this used in 1.7? Otherwise I cannot explain why my mod worked in 1.7 with exactly the same main class...

 

@diesieben07: I'm still interested in this library thing you mentioned. Which one do I have to import? I cannot find anything that works.

Link to comment
Share on other sites

You don't have to import the forge library. You just have to run

gradlew setupDecompWorkspace eclipse

and you import your project in eclipse. Done. No need for a seperate 'Forge' project.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

and you import your project in eclipse.

Actually this is exactly what I did. "Import existing project into workspace". But this creates a new project in the eclipse workspace, so I called it like this.

Then why don't you have your code in
src/main/java

?

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

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.