Fabric Generator Crashes on Load

Started by MrCreeps on

Topic category: Help with modding (Java Edition)

Last seen on 01:15, 24. Mar 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fabric Generator Crashes on Load

My mod is not loading correctly with Fabric Generator 1.16.3 1.0.0-pre6. I was using 1.16.3 1.0.0-pre5 and It loaded. (Btw I'm talking about the MCreator Minecraft Launch to test the mod before exporting). Here is the crashlog :

Executing 
    Gradle task: runClient

Build 
    info: MCreator 2020.4.32115, fabric-1.16.3, 64-bit, 16174 MB, Windows 10, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk


    Configure project :

Fabric 
    Loom: 0.4.33 Build(jenkins #33)

:setting 
    up loom dependencies

:setting 
    up mappings (yarn 1.16.3+build.1)

Configuring 
    compiler arguments for Java


    Task :downloadAssets

:downloading 
    assets...


    Task :compileJava UP-TO-DATE


    Task :processResources UP-TO-DATE


    Task :classes UP-TO-DATE


    Task :jar UP-TO-DATE


    Task :runClient FAILED

10:16.15 
    [main/INFO] 
    (FabricLoader) Loading for game Minecraft 1.16.3

10:16.15 
    main/INFO 
    (Fabric|Loader) FabricLoader Loading 43 mods: minecraft@1.16.3, 
    fabric-networking-blockentity-v0@0.2.5+b50ffc7b95, 
    fabric-screen-handler-api-v1@1.1.0+8724984195, 
    fabric-renderer-api-v1@0.3.0+8bcfced895, 
    fabric-keybindings-v0@0.2.0+3fa9f7c595, modmenu@1.14.6+build.31, 
    fabric-command-api-v1@1.0.8+5ce5339895, fabricloader@0.9.3+build.207, 
    fabric-tool-attribute-api-v1@1.2.2+ccce563e95, 
    fabric-renderer-indigo@0.4.0+8bcfced895, 
    fabric-structure-api-v1@1.0.1+fb0d9b0e95, 
    fabric-containers-v0@0.1.8+045df74f95, 
    fabric-object-builder-api-v1@1.8.0+c1aa8ed895, 
    fabric-events-interaction-v0@0.4.0+e2e6cdad95, 
    fabric-item-api-v1@1.1.0+29679fd695, 
    fabric-crash-report-info-v1@0.1.2+b7f9825d95, 
    fabric-game-rule-api-v1@1.0.1+74685c1495, 
    fabric-api-base@0.1.3+12a8474c95, fabric-rendering-v0@1.1.0+5341049095, 
    fabric-rendering-v1@1.3.0+432ea18895, 
    fabric-key-binding-api-v1@1.0.1+730711c695, 
    fabric-rendering-data-attachment-v1@0.1.3+b7f9825d95, 
    fabric-resource-loader-v0@0.3.1+facf3bbf95, 
    fabric-textures-v0@1.0.4+eae12eb895, 
    fabric-content-registries-v0@0.1.9+059ea86695, 
    fabric-tag-extensions-v0@1.0.3+ac8e8c5995, 
    fabric-biome-api-v1@2.0.0+c29459ab95, 
    fabric-rendering-fluids-v1@0.1.11+fb0d9b0e95, 
    fabric-registry-sync-v0@0.5.0+c1aa8ed895, 
    fabric-commands-v0@0.2.0+52d3083695, 
    fabric-blockrenderlayer-v1@1.1.4+c6a8ea8995, 
    fabric-lifecycle-events-v1@1.2.0+74cc3b2095, 
    fabric-mining-levels-v0@0.1.2+b764ce9995, 
    fabric-renderer-registries-v1@2.1.0+e2862de695, 
    fabric-events-lifecycle-v0@0.2.0+16acbe5b95, 
    fabric-loot-tables-v1@1.0.1+432ea18895, fabric@0.21.0+build.407-1.16, 
    better_bees@1.0.0, fabric-particles-v1@0.2.2+fb0d9b0e95, 
    fabric-item-groups-v0@0.2.0+438f963695, fabric-models-v0@0.1.0+dfdb52d695, 
    fabric-object-builders-v0@0.7.0+432ea18895, 
    fabric-networking-v0@0.1.10+e00ecb5f95

10:16.15 
    main/INFO 
    (mixin) SpongePowered MIXIN Subsystem Version=0.8.1 
    Source=file:/C./Users/docto/.mcreator/gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.8.1+build.21/94da90bdbee9f95bf6d6c41ca87943419a0b5624/sponge-mixin-0.8.1+build.21.jar 
    Service=Knot/Fabric Env=CLIENT

10:16.16 
    [main/INFO] 
    (Fabric|MixinBootstrap) Loaded Fabric development mappings for mixin 
    remapper!

Exception 
    in thread "main" org.spongepowered.asm.launch.MixinInitialisationError: 
    Error initialising mixin config modid.mixins.json

 
      at org.spongepowered.asm.mixin.transformer.Config.create(
Config.java:153
 
      at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153)

 
      at org.spongepowered.asm.mixin.Mixins.createConfiguration(
Mixins.java:100
 
      at 
    org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100)

 
      at org.spongepowered.asm.mixin.Mixins.addConfiguration(
Mixins.java:87
 
      at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87)

 
      at 
    net.fabricmc.loader.launch.common.FabricMixinBootstrap.addConfiguration(
FabricMixinBootstrap.java:44
 
      at 
    net.fabricmc.loader.launch.common.FabricMixinBootstrap.addConfiguration(FabricMixinBootstrap.java:44)

 
      at java.lang.Iterable.forEach(
Iterable.java:75
 
      at java.lang.Iterable.forEach(Iterable.java:75)

 
      at net.fabricmc.loader.launch.common.FabricMixinBootstrap.init(
FabricMixinBootstrap.java:83
 
      at 
    net.fabricmc.loader.launch.common.FabricMixinBootstrap.init(FabricMixinBootstrap.java:83)

 
      at net.fabricmc.loader.launch.knot.Knot.init(
Knot.java:133
 
      at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:133)

 
      at net.fabricmc.loader.launch.knot.KnotClient.main(
KnotClient.java:26
 
      at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)

 
      at net.fabricmc.devlaunchinjector.Main.main(
Main.java:86
 
      at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)

Caused 
    by: java.lang.IllegalArgumentException: The specified resource 
    'modid.mixins.json' was invalid or could not be read

 
      at org.spongepowered.asm.mixin.transformer.MixinConfig.create(
MixinConfig.java:1090
 
      at 
    org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1090)

 
      at org.spongepowered.asm.mixin.transformer.Config.create(
Config.java:148
 
      at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148)

 
      ... 8 more

FAILURE: 
    Build failed with an exception.


    What went wrong:

Execution 
    failed for task ':runClient'.


    Process 'command 'C:\Program Files\Pylo\MCreator\jdk\bin\java.exe'' 
    finished with non-zero exit value 1


    Try:

Run 
    with --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

BUILD 
    FAILED in 3s


    actionable tasks: 2 executed, 3 up-to-date

BUILD 
    FAILED

Task 
    completed in 3506 milliseconds

I believe the plugin has an…
Fri, 10/09/2020 - 14:09

I believe the plugin has an actual issue tracker where you report bugs. I doubt you will get help for the plugin here.

Last seen on 01:15, 24. Mar 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, I don't have GitHub…
Fri, 10/09/2020 - 15:25

Sorry, I don't have GitHub. I think I might know how to fix it though.

Last seen on 06:45, 25. Dec 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im getting the same error,…
Mon, 10/19/2020 - 05:50

Im getting the same error, in the same version, have you figured out how to fix it?

BluePlays: I believe the…
Tue, 10/20/2020 - 07:41

BluePlays:

I believe the plugin has an actual issue tracker where you report bugs. I doubt you will get help for the plugin here.

Last seen on 02:03, 25. Apr 2023
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright..... Here we go,…
Fri, 11/20/2020 - 13:50

Alright.....

Here we go, this is quite a lot of steps

#1. Go to your MCreatorWorkspaces/<yourmodname>/src/main/resources folder and create a "modid.mixins.json" file

#2. Paste the contents from this file

 https://github.com/FabricMC/fabric-example-mod/blob/master/src/main/res…;

#3. Replace "net.fabricmc.examplemixin" with "net.mcreator.<yourmodname>.mixin" and "ExampleMixin" with any mixin name you want

#4. Go to <yourmodname>/src/main/java/net/mcreator/<yourmodnameagain>

#5. Create a folder named "mixin"

#6. Create a file called <nameofyourmixin>.java

#7. Paste the contents from this file

https://github.com/FabricMC/fabric-example-mod/blob/master/src/main/jav…

#8. Replace "package net.fabricmc.example.mixin;" with "package net.mcreator.<yourmodname>.mixin;" and "ExampleMixin" with your mixin name

Optional #9. Delete the "System.out.println("This line is printed by an example mod mixin!");" line

Last seen on 16:42, 7. Apr 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this doesn't make since to…
Sat, 10/22/2022 - 15:56

this doesn't make since to me could you make a vid to help me out

Last seen on 08:11, 29. Mar 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fabric 1.16.3 is no longer…
Sat, 10/22/2022 - 16:19

Fabric 1.16.3 is no longer supported by the plugin's author. Either use the newest version, 1.19.2 or 1.18.2

Last seen on 01:15, 24. Mar 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@JMStreem, this forum topic…
Sun, 10/23/2022 - 19:27

@JMStreem, this forum topic is around 2 years old, there's prolly a new tutorial or fix for this ._.