Skip to content

Rundata crashing while creating mod instance #142

@SinedKadis

Description

@SinedKadis

Describe the bug
When added as dependency to mod, crashes rundata task

To reproduce
Steps to reproduce the behavior:

  1. Add as dependency
  2. Run rundata task
  3. See error

Expected behavior
Rundata completed succesfully without errors

Screenshots or videos

[14груд.2025 11:40:12.441] [main/INFO] [net.minecraftforge.data.loading.DatagenModLoader/]: Initializing Data Gatherer for mods [terracompositio]
[14груд.2025 11:40:12.445] [main/INFO] [MixinExtras|Service/]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[14груд.2025 11:40:17.395] [modloading-worker-0/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 47.4.1, for MC 1.20.1 with MCP 20230612.114412
[14груд.2025 11:40:17.397] [modloading-worker-0/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v47.4.1 Initialized
[14груд.2025 11:40:17.520] [modloading-worker-0/INFO] [com.simibubi.create.Create/]: Create 6.0.6 initializing! Commit hash: 338bfa0aec952fa51656e8f61bd621ca9b3b2e00
[14груд.2025 11:40:17.803] [modloading-worker-0/INFO] [io.github.moremcmeta.moremcmeta.impl.client.MoreMcmeta/]: Loading 5 MoreMcmeta plugins:
	- moremcmeta_animation_plugin
	- moremcmeta_gui_plugin
	- moremcmeta_texture_plugin
	- moremcmeta_moremcmeta_parser_plugin
	- moremcmeta_properties_parser_plugin
[14груд.2025 11:40:17.808] [modloading-worker-0/INFO] [terrablender/]: Registered region minecraft:overworld to index 0 for type OVERWORLD
[14груд.2025 11:40:17.809] [modloading-worker-0/INFO] [terrablender/]: Registered region minecraft:nether to index 0 for type NETHER
[14груд.2025 11:40:17.809] [modloading-worker-0/INFO] [terrablender/]: Registered region terracompositio:overworld to index 1 for type OVERWORLD
[14груд.2025 11:40:17.805] [modloading-worker-0/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: moremcmeta, class io.github.moremcmeta.moremcmeta.forge.impl.client.CrossDistEntrypoint
java.lang.NullPointerException: null
	at java.util.Objects.requireNonNull(Objects.java:209) ~[?:?]
	at io.github.moremcmeta.moremcmeta.impl.client.MoreMcmeta.start(MoreMcmeta.java:188) ~[moremcmeta-forge-1.20.1-4.5.2_mapped_parchment_2023.09.03-1.20.1.jar%23194!/:?]
	at io.github.moremcmeta.moremcmeta.forge.impl.client.CrossDistEntrypoint.lambda$new$3(CrossDistEntrypoint.java:53) ~[moremcmeta-forge-1.20.1-4.5.2_mapped_parchment_2023.09.03-1.20.1.jar%23194!/:?]
	at net.minecraftforge.fml.DistExecutor.unsafeRunWhenOn(DistExecutor.java:111) ~[fmlcore-1.20.1-47.4.1.jar%23185!/:?]
	at io.github.moremcmeta.moremcmeta.forge.impl.client.CrossDistEntrypoint.<init>(CrossDistEntrypoint.java:53) ~[moremcmeta-forge-1.20.1-4.5.2_mapped_parchment_2023.09.03-1.20.1.jar%23194!/:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:481) ~[?:?]
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:77) ~[javafmllanguage-1.20.1-47.4.1.jar%23182!/:?]
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:126) ~[fmlcore-1.20.1-47.4.1.jar%23185!/:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
[14груд.2025 11:40:17.966] [modloading-worker-0/INFO] [mezz.jei.library.load.PluginCaller/]: Sending ConfigManager...
[14груд.2025 11:40:17.972] [modloading-worker-0/INFO] [mezz.jei.library.load.PluginCaller/]: Sending ConfigManager took 4.260 ms
[14груд.2025 11:40:19.573] [main/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event CONSTRUCT, 1 errors found

Which Minecraft versions does this bug affect?
1.20.1

Mod loader
Which mod loaders does this bug affect?
Forge

Mods list
Patchouli
jei
Mekanism
create
TerraBlender
my mod

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions