Jump to content

Latest forge kept telling me that my mod file isn't valid


Recommended Posts

I apologize in advance if I did anything stupid while downloading this.

So, I'm currently on minecraft 1.15.2, my forge is 1.15.2-31.1.19, the mod I installed is an x-ray mod from http://www.9minecraft.net/xray-mod/ , I installed the v68-1.15.2 version.

And when I entered the game, it said my mod file isn't a valid mod file though I installed the same 1.15.2 version mod and forge.

I tried to reinstall both my forge launcher and my mod file several times and followed several instruction videos online, but still can't get it to work.

Here are my latest logs;                                     Tell me if any other info is needed, I'll reply as soon as I can


[13三月2020 12:15:53.456] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, samtsai3731, --version, 1.15.2-forge-31.1.19, --gameDir, C:\Users\samts\AppData\Roaming\.minecraft, --assetsDir, C:\Users\samts\AppData\Roaming\.minecraft\assets, --assetIndex, 1.15, --uuid, b75917bc22c24767af96bffeeebb9b3b, --accessToken, ????????, --userType, mojang, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 31.1.19, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20200122.131323]
[13三月2020 12:15:53.463] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 1.8.0_51 by Oracle Corporation
[13三月2020 12:15:53.883] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[13三月2020 12:15:54.187] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file Mod File: C:\Users\samts\AppData\Roaming\.minecraft\mods\XRay-Mod-v68-1.15.2.jar is missing mods.toml file
[13三月2020 12:15:54.187] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/SCAN]: File C:\Users\samts\AppData\Roaming\.minecraft\mods\XRay-Mod-v68-1.15.2.jar has been ignored - it is invalid
[13三月2020 12:15:55.060] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.15.2-forge-31.1.19, --gameDir, C:\Users\samts\AppData\Roaming\.minecraft, --assetsDir, C:\Users\samts\AppData\Roaming\.minecraft\assets, --uuid, b75917bc22c24767af96bffeeebb9b3b, --username, samtsai3731, --assetIndex, 1.15, --accessToken, ????????, --userType, mojang, --versionType, release]
[13三月2020 12:15:57.624] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: samtsai3731
[13三月2020 12:16:06.466] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10
[13三月2020 12:16:08.108] [modloading-worker-1/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 31.1.19, for MC 1.15.2 with MCP 20200122.131323
[13三月2020 12:16:08.108] [modloading-worker-1/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v31.1.19 Initialized
[13三月2020 12:16:12.352] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
[13三月2020 12:16:12.518] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources
[13三月2020 12:16:15.799] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[13三月2020 12:16:17.090] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: AHEAD Current: 31.1.19 Target: null
[13三月2020 12:16:19.325] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
[13三月2020 12:16:19.326] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
[13三月2020 12:16:19.613] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[13三月2020 12:16:19.677] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x4 minecraft:textures/atlas/signs.png-atlas
[13三月2020 12:16:19.679] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[13三月2020 12:16:19.686] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[13三月2020 12:16:19.692] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[13三月2020 12:16:19.694] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[13三月2020 12:16:19.697] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[13三月2020 12:16:20.728] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[13三月2020 12:16:20.739] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[13三月2020 12:16:20.741] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas






Link to comment
Share on other sites

9Minecraft is a repost site that redistributes mod, which will potentially edit them and rename them. You should never download from such sites.

In this case, 9Minecraft wrongly labeled your mod. It is not for 1.15.

Edited by DavidM

Some tips:


Modder Support:


1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.



Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.



The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:


1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.



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.

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.


  • Create New...

Important Information

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