Jump to content

Issue with programming a mod using FML.


Sadrien

Recommended Posts

I am attempting to follow a tutorial on mod development. I followed exactly, twice. Both times after reaching the step where you run minecraft and see 5 mods loaded, the in development mod being built in an eclipse workspace and the forge mods, it only showed 5 mods. This is the console output.

 

Notes:: Errors are in RED; Script after exiting Minecraft is in ORANGE.

 

2018-06-05 05:16:17,111 main WARN Disabling terminal, you're running in an unsupported environment.

[05:16:17] [main/INFO] [GradleStart]: Extra: []

[05:16:17] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/DAVE/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

[05:16:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker

[05:16:17] [main/INFO] [FML]: Forge Mod Loader version 14.23.4.2705 for Minecraft 1.12.2 loading

[05:16:17] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_171, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_171

[05:16:17] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.

[05:16:17] [main/ERROR] [FML]: Full: C:\Users\DAVE\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar

[05:16:17] [main/ERROR] [FML]: Trimmed: c:/users/dave/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/

[05:16:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[05:16:17] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin

[05:16:17] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin

[05:16:17] [main/INFO] [FML]: Searching C:\Users\DAVE\Desktop\Minecraft Modding\PracticeMod\run\.\mods for mods

[05:16:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[05:16:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin

[05:16:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[05:16:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[05:16:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[05:16:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[05:16:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[05:16:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[05:16:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[05:16:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[05:16:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

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

[05:16:20] [main/INFO] [net.minecraft.client.Minecraft]: Setting user: Player596

[05:16:24] [main/INFO] [net.minecraft.client.Minecraft]: LWJGL Version: 2.9.4

[05:16:25] [main/INFO] [FML]: Could not load splash.properties, will create a default one

[05:16:25] [main/INFO] [FML]: -- System Details --

Details:

Minecraft Version: 1.12.2

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0_171, Oracle Corporation

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

Memory: 705662992 bytes (672 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

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

FML:

Loaded coremods (and transformers):

GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13507 Compatibility Profile Context 23.20.15033.5003' Renderer: 'AMD Radeon R9 200 Series'

[05:16:25] [main/INFO] [FML]: MinecraftForge v14.23.4.2705 Initialized

[05:16:25] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.

[05:16:25] [main/INFO] [FML]: Replaced 1036 ore ingredients

[05:16:26] [main/INFO] [FML]: Searching C:\Users\DAVE\Desktop\Minecraft Modding\PracticeMod\run\.\mods for mods

[05:16:26] [main/ERROR] [FML]: Unable to construct net.minecraftforge.fml.common.Mod container

java.lang.reflect.InvocationTargetException: null

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_171]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_171]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_171]

at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_171]

at net.minecraftforge.fml.common.ModContainerFactory.build(ModContainerFactory.java:73) [ModContainerFactory.class:?]

at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:135) [DirectoryDiscoverer.class:?]

at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:104) [DirectoryDiscoverer.class:?]

at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:104) [DirectoryDiscoverer.class:?]

at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:104) [DirectoryDiscoverer.class:?]

at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:62) [DirectoryDiscoverer.class:?]

at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:47) [ContainerType.class:?]

at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:74) [ModCandidate.class:?]

at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:93) [ModDiscoverer.class:?]

at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:425) [Loader.class:?]

at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566) [Loader.class:?]

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:225) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]

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:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]

at GradleStart.main(GradleStart.java:25) [start/:?]

Caused by: java.lang.IllegalArgumentException: The modId PMod must be all lowercase.

at net.minecraftforge.fml.common.FMLModContainer.sanityCheckModId(FMLModContainer.java:147) ~[FMLModContainer.class:?]

at net.minecraftforge.fml.common.FMLModContainer.<init>(FMLModContainer.java:131) ~[FMLModContainer.class:?]

... 31 more

[05:16:26] [main/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[05:16:27] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge] at CLIENT

[05:16:27] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge] at SERVER

[05:16:27] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge

[05:16:27] [main/INFO] [FML]: Processing ObjectHolder annotations

[05:16:27] [main/INFO] [FML]: Found 1168 ObjectHolder annotations

[05:16:27] [main/INFO] [FML]: Identifying ItemStackHolder annotations

[05:16:27] [main/INFO] [FML]: Found 0 ItemStackHolder annotations

[05:16:27] [main/INFO] [FML]: Configured a dormant chunk cache size of 0

[05:16:27] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json

[05:16:27] [main/INFO] [FML]: Applying holder lookups

[05:16:27] [main/INFO] [FML]: Holder lookups applied

[05:16:27] [main/INFO] [FML]: Applying holder lookups

[05:16:27] [main/INFO] [FML]: Holder lookups applied

[05:16:27] [main/INFO] [FML]: Applying holder lookups

[05:16:27] [main/INFO] [FML]: Holder lookups applied

[05:16:27] [main/INFO] [FML]: Applying holder lookups

[05:16:27] [main/INFO] [FML]: Holder lookups applied

[05:16:27] [main/INFO] [FML]: Injecting itemstacks

[05:16:27] [main/INFO] [FML]: Itemstack injection complete

[05:16:28] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null

[05:16:28] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 533865187 nanos

[05:16:31] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem...

[05:16:31] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL

[05:16:31] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[05:16:31] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: OpenAL initialized.

[05:16:31] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Sound engine started

[05:16:36] [main/INFO] [FML]: Max texture size: 16384

[05:16:36] [main/INFO] [net.minecraft.client.renderer.texture.TextureMap]: Created: 512x512 textures-atlas

[05:16:38] [main/INFO] [FML]: Applying holder lookups

[05:16:38] [main/INFO] [FML]: Holder lookups applied

[05:16:38] [main/INFO] [FML]: Injecting itemstacks

[05:16:38] [main/INFO] [FML]: Itemstack injection complete

[05:16:38] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[05:16:38] [main/INFO] [com.mojang.text2speech.NarratorWindows]: Narrator library for x64 successfully loaded

[05:16:39] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient]: Could not authorize you against Realms server: Invalid session id

[05:16:51] [main/INFO] [net.minecraft.client.Minecraft]: Stopping!

[05:16:51] [main/INFO] [net.minecraft.client.audio.SoundManager]: SoundSystem shutting down...

[05:16:51] [main/WARN] [net.minecraft.client.audio.SoundManager]: Author: Paul Lamb, www.paulscode.com

Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

 

The short question is "Does anyone know how to fix this?" 

really though, What apache product would I reinstall to fix Maven folder issues (I'm sure they will cause problems for other things if they are actually wrong)? Will that even fix this particular issue?

 

The tutorial I am following is found at https://www.youtube.com/watch?v=rmWBP5ifDlw, in case that is relevant to anyone's response.

 

If anyone wants the current code of my project, I am happy to attach source files on request - assuming it is allowed.

Edited by Sadrien
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.