Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Failure message: Missing License Information in file Mod File


Recommended Posts

Dear Modding Community,

 

I started Modding with Minecraft Version 1.15.2, however when i updated to 1.16.3 i ran into an error (see title).

I couldn't find anything in the forum, I'll post the whole crash log as an attachment.

 

Looks like something is wrong with the mods.toml file, but i couldn't find any errors.

 

Thank you in advance

Aaron

crash-2020-10-11_11.45.48-fml.txt

Edited by arkeN
Link to post
Share on other sites
  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

It won't run the mods even if you add license info. If the mods do not have license info, that means they are 1.15 mods, they will not run on 1.16.

Part of diesieben's point is that if the mod was written for 1.15, it will not run on any 1.16 version, regardless of whether you add the license thing.

Posted Images

34 minutes ago, ChampionAsh5357 said:

1.15.2 has an optional license information. 1.16.3 requires that the license information be present in the toml. You can simply add license="<your license here>" into your mods.toml near the top and that should fix it. You can view some licenses here.

Thank you very much, this fixed it for me.

 

Aaron

Link to post
Share on other sites
  • 4 weeks later...

Hey!

I just had the same problem. I added this:

license="<MIT License

          Copyright (c) [2020] [Itz_Just_Nico]

          Permission is hereby granted, free of charge, to any person obtaining a copy
          of this software and associated documentation files (the "Software"), to deal
          in the Software without restriction, including without limitation the rights
          to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
          copies of the Software, and to permit persons to whom the Software is
          furnished to do so, subject to the following conditions:

          The above copyright notice and this permission notice shall be included in all
          copies or substantial portions of the Software.

          THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
          IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
          FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
          AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
          LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
          OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
          SOFTWARE.
>"

Did I do something wrong?

It says:

Invalid character 'S' after table entry "[license]" = MIT License

         Copyright (c) [year] [fullname]

         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:69)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:101)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:72)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.modsTomlParser(ModFileParser.java:59)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:46)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.loading.moddiscovery.ModFile.identifyMods(ModFile.java:113)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:116)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:213)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:107)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:114)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:269)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1628)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.run(Launcher.java:75)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[13:08:31] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105)
Exception in thread "main"
Process finished with exit code 1

 

Link to post
Share on other sites

hello theydies and gentlethems,

 

I tried to add the license field to a mods.toml file.
I did this on a mac.

I made the .jar file again from terminal using the modded .toml.

I got an error, 'not a valid mod file'.

I tried restoring the original .toml but still used terminal's jar cf command and got the same error.

Is the mac .jar different than others?
How does one successfully mod a .toml?

 

I am a novice at all this command line stuff and just trying to get the newest Forge to load NetherEx mod for my 8 year old.

Link to post
Share on other sites

Its just a text file.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to post
Share on other sites
  • 3 weeks later...
16 minutes ago, EpicGamer27 said:

I had the same problem with my license thing, then rebuilt my mod and when I launch minecraft it immediately crashes.. Could someone pls help? thanks! 

Have you read what the logs say? If the message is the same as the other people above then solutions were already given. If the error message is not the same as above, i think you should make your own topic and provide debug logs

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

Link to post
Share on other sites

Dude, it's a Forge feature, Forge doesn't have to "update to automatically include it," it is Forge.

Check your resources folder.

https://mcforge.readthedocs.io/en/1.15.x/gettingstarted/structuring/#the-modstoml-file

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to post
Share on other sites

Good thing the documentation I linked tells you where it goes so you can create it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to post
Share on other sites

image.thumb.png.bf9959a729c03d85bf2030a8181e7089.png

This is the thing Draco said you should look at, it says exactly what folder the relevant file is in.
If it doesn't exist, that might mean you need to create it.
 

On 10/11/2020 at 1:06 PM, ChampionAsh5357 said:

1.15.2 has an optional license information. 1.16.3 requires that the license information be present in the toml. You can simply add license="<your license here>" into your mods.toml near the top and that should fix it. You can view some licenses here.

Add license="<your license here>" to that file.

Edited by Vinyarion

Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!

Link to post
Share on other sites
1 hour ago, AFKaptain said:

Because the game won't run Forge (or any other mods) due to "missing license information". That's why I'm here, to fix that.

It won't run the mods even if you add license info. If the mods do not have license info, that means they are 1.15 mods, they will not run on 1.16.

  • Like 1
Link to post
Share on other sites
On 12/10/2020 at 1:13 AM, diesieben07 said:

It won't run the mods even if you add license info. If the mods do not have license info, that means they are 1.15 mods, they will not run on 1.16.

I installed the newest version of Forge and I got that error message when the game loaded. That's why I'm here.

Link to post
Share on other sites

Part of diesieben's point is that if the mod was written for 1.15, it will not run on any 1.16 version, regardless of whether you add the license thing.

  • Like 1

Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!

Link to post
Share on other sites
  • 2 weeks later...

Hello, I have a similar problem to this one. The message says: Missing License Information file Mod File. I realised this is the same problem. Can someone tell me how to fix this?

 

Debug log:

[25Dec2020 11:32:23.572] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, FrogSticks_, --version, 1.16.4-forge-35.1.13, --gameDir, C:\Users\FrogS\AppData\Roaming\.minecraft, --assetsDir, C:\Users\FrogS\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, 1c6843ac1bcd48f48d6618a73184c239, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 35.1.13, --fml.mcVersion, 1.16.4, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20201102.104115]
[25Dec2020 11:32:23.588] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.6+85+master.325de55 starting: java version 1.8.0_51 by Oracle Corporation
[25Dec2020 11:32:23.655] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED
[25Dec2020 11:32:24.616] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[25Dec2020 11:32:24.697] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/FrogS/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=CLIENT
[25Dec2020 11:32:27.952] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.16.4-forge-35.1.13, --gameDir, C:\Users\FrogS\AppData\Roaming\.minecraft, --assetsDir, C:\Users\FrogS\AppData\Roaming\.minecraft\assets, --uuid, 1c6843ac1bcd48f48d6618a73184c239, --username, FrogSticks_, --assetIndex, 1.16, --accessToken, ????????, --userType, msa, --versionType, release]
[25Dec2020 11:32:30.302] [pool-3-thread-1/INFO] [net.minecraftforge.coremod.CoreMod.itemphysic/COREMODLOG]: start
[25Dec2020 11:32:40.163] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[25Dec2020 11:32:42.830] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: FrogSticks_
[25Dec2020 11:32:43.185] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10
[25Dec2020 11:32:45.278] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/CORE]: Error during pre-loading phase
net.minecraftforge.fml.ModLoadingException: Missing License Information in file Mod File: C:\Users\FrogS\AppData\Roaming\.minecraft\mods\TreeChop-1.15.2-0.11.0.jar
    at net.minecraftforge.fml.ModLoader.lambda$new$4(ModLoader.java:121) ~[?:?]
    at net.minecraftforge.fml.ModLoader$$Lambda$2904/783172425.apply(Unknown Source) ~[?:?]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_51]
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51]
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_51]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51]
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51]
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51]
    at net.minecraftforge.fml.ModLoader.<init>(ModLoader.java:122) ~[?:?]
    at net.minecraftforge.fml.ModLoader.get(ModLoader.java:148) [?:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$1(ClientModLoader.java:103) [?:?]
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2898/2047770317.run(Unknown Source) [?:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) [?:?]
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2899/1424188812.run(Unknown Source) [?:?]
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:103) [?:?]
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:437) [?:?]
    at net.minecraft.client.main.Main.main(Main.java:149) [?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.4-35.1.13.jar:35.1]
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$435/442205321.call(Unknown Source) [forge-1.16.4-35.1.13.jar:35.1]
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.6.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.6.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.6.jar:?]
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.6.jar:?]
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.6.jar:?]
[25Dec2020 11:32:45.447] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.sound.SoundLoadEvent to a broken mod state
[25Dec2020 11:32:45.883] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ColorHandlerEvent$Block to a broken mod state
[25Dec2020 11:32:45.890] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ColorHandlerEvent$Item to a broken mod state
[25Dec2020 11:32:47.995] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ParticleFactoryRegisterEvent to a broken mod state
[25Dec2020 11:32:48.510] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
[25Dec2020 11:32:48.804] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Hafen_2.17.zip
[25Dec2020 11:32:49.203] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ModelRegistryEvent to a broken mod state
[25Dec2020 11:32:49.228] [Worker-Main-8/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:49.228] [Worker-Main-12/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:49.230] [Worker-Main-11/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:55.492] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:55.791] [Worker-Main-14/WARN] [net.minecraft.client.renderer.texture.AtlasTexture/]: Texture minecraft:entity/conduit/open_eye with size 8x8 limits mip level from 4 to 3
[25Dec2020 11:32:56.837] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:56.844] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:56.893] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:56.906] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:56.910] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:56.919] [Worker-Main-14/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[25Dec2020 11:32:59.156] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
[25Dec2020 11:32:59.158] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
[25Dec2020 11:33:00.576] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[25Dec2020 11:33:01.024] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:01.031] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[25Dec2020 11:33:01.055] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:01.056] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[25Dec2020 11:33:01.124] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:01.124] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[25Dec2020 11:33:01.258] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:01.259] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[25Dec2020 11:33:01.428] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:01.429] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[25Dec2020 11:33:01.506] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:01.506] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[25Dec2020 11:33:01.525] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:02.739] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ModelBakeEvent to a broken mod state
[25Dec2020 11:33:03.676] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[25Dec2020 11:33:03.717] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:03.719] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x512x0 minecraft:textures/atlas/paintings.png-atlas
[25Dec2020 11:33:03.727] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:03.728] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[25Dec2020 11:33:03.755] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[25Dec2020 11:33:04.531] [Render thread/INFO] [STDOUT/]: [net.minecraft.crash.CrashReport:func_85057_a:196]: Negative index in crash report handler (23/26)
[25Dec2020 11:33:04.557] [Render thread/FATAL] [net.minecraftforge.fml.client.ClientModLoader/]: Crash report saved to C:\Users\FrogS\AppData\Roaming\.minecraft\crash-reports\crash-2020-12-25_11.33.04-fml.txt
 

Link to post
Share on other sites

If you have the same problem did you see the original answer?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Twitch Launcher: If you are using the Twitch Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Twitch's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to post
Share on other sites
Guest
This topic is now closed to further replies.



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • I am trying to make a Biome(and plan to make multiple more) But I can't figure out what's wrong with my registry, It gives me a red line for this code BIOMES.register("chocolate_forest", ChocolateForest::new); it tells me that "no instance(s) of type variable(s) exist so that ChocolateForest conforms to Biome inference variable I has incompatible bounds: equality constraints: Biome lower bounds: ChocolateForest" here's the full code public class ModBiomes { public static final DeferredRegister<Biome> BIOMES = DeferredRegister.create(ForgeRegistries.BIOMES, chocolate.MODID); public static void init() { BIOMES.register(FMLJavaModLoadingContext.get().getModEventBus()); } public static final RegistryObject<Biome> CHOCOLATE_FOREST = BIOMES.register("chocolate_forest", ChocolateForest::new); } I have tried to extend Biome to my ChocolateForest class as was shown in an 1.15 tutorial, but I guess something was switched around since then as it tells me that Biome doesn't have a default constructor to take from. I have also tried looking for something similar and possibly renamed in the code but without any luck. And heres my ChocolateForest class just in case you need it. public class ChocolateForest{ protected ChocolateForest() { super(); } protected void configureBiome(Biome.Builder builder) { builder.precipitation(Biome.RainType.RAIN).category(Biome.Category.FOREST).depth(-0.1F).temperature(0.6F).downfall(0.9F); builder.setEffects((new BiomeAmbience.Builder()).setWaterColor(329011).setWaterFogColor(329011).setFogColor(12638463).withSkyColor(5).withGrassColor(0x85CE71).withFoliageColor(0x63BF66).build()); } protected void configureGeneration(BiomeGenerationSettings.Builder builder) { builder.withSurfaceBuilder(ConfiguredSurfaceBuilders.GRASS); DefaultBiomeFeatures.withOverworldOres(builder); DefaultBiomeFeatures.withCavesAndCanyons(builder); DefaultBiomeFeatures.withLavaAndWaterLakes(builder); DefaultBiomeFeatures.withMonsterRoom(builder); } protected void configureMobSpawns(MobSpawnInfo.Builder builder) { builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SHEEP, 12, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.PIG, 10, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.CHICKEN, 10, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.COW, 8, 4, 4)); builder.withSpawner(EntityClassification.AMBIENT, new MobSpawnInfo.Spawners(EntityType.BAT, 10, 8, 8)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SPIDER, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ZOMBIE, 95, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ZOMBIE_VILLAGER, 5, 1, 1)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SKELETON, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.CREEPER, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SLIME, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ENDERMAN, 10, 1, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.WITCH, 5, 1, 1)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(ModEntities.CHOCOLATE_SLIME.get(), 100, 3, 7)); } } I haven't completely finished it as of yet because I've been trying to work out the registry problem.  
    • Hey! When logging onto my new Valhelsia server I got this error message. Unexpected custom data from client. Please help. Here is the console data. It is on apex server hosting. Please help.   14.04 18:59:12 [Server] Netty Epoll Server IO #8/INFO [co.li.co.ConfigSyncManager/]: Skipping config sync, No mods have registered a syncable config. 14.04 18:59:13 [Server] User Authenticator #3/INFO UUID of player Julesiac669 is fbbbf514-f3d4-49f1-8847-134097e88ddd 14.04 18:59:13 [Server] Netty Epoll Server IO #8/ERROR [ne.mi.fm.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake 14.04 18:59:13 [Server] Netty Epoll Server IO #8/INFO Disconnecting com.mojang.authlib.GameProfile@41363519[id=fbbbf514-f3d4-49f1-8847-134097e88ddd,name=Julesiac669,properties={textures=[com.mojang.authlib.properties.Property@4e635308]},legacy=false] (/67.180.183.224:56122): Unexpected custom data from client 14.04 18:59:13 [Disconnect] User com.mojang.authlib.GameProfile@41363519[id=fbbbf514-f3d4-49f1-8847-134097e88ddd,name=Julesiac669,properties={textures=[com.mojang.authlib.properties.Property@4e635308]},legacy=false] (/67.180.183.224:56122) has disconnected, reason: Unexpected custom data from client
    • How do you make sure the same mods are installed on your client? I have the same issue please help.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.