Jump to content

Encountered a error during the load_registries event phase


Recommended Posts

Posted

Updated my mod to the latest version of forge, but I'm encountering this issue...

 

Heres the log:

[26Oct2019 17:13:59.461] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.1.70, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, /Users/mmeans/.gradle/caches/forge_gradle/assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]

[26Oct2019 17:13:59.468] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 4.1.0+62+5bfa59b starting: java version 1.8.0_222 by AdoptOpenJDK

[26Oct2019 17:13:59.923] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust

[26Oct2019 17:14:02.505] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, /Users/mmeans/.gradle/caches/forge_gradle/assets, --assetIndex, 1.14, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]

[26Oct2019 17:14:08.844] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev

[26Oct2019 17:14:29.613] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer:

[26Oct2019 17:14:29.763] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.2.1 build 12

[26Oct2019 17:14:32.607] [modloading-worker-3/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 28.1.70, for MC 1.14.4 with MCP 20190829.143755

[26Oct2019 17:14:32.608] [modloading-worker-3/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v28.1.70 Initialized

[26Oct2019 17:14:32.770] [modloading-worker-1/INFO] [dev.theagameplayer.visionarymod.VisionaryMod/]: Loading config: /Users/mmeans/Desktop/Modding/Visionary Mod/run/config/visionarymod-client.toml

[26Oct2019 17:14:32.770] [modloading-worker-1/INFO] [dev.theagameplayer.visionarymod.VisionaryMod/]: Built config: /Users/mmeans/Desktop/Modding/Visionary Mod/run/config/visionarymod-client.toml

[26Oct2019 17:14:32.772] [modloading-worker-1/INFO] [dev.theagameplayer.visionarymod.VisionaryMod/]: Loaded config: /Users/mmeans/Desktop/Modding/Visionary Mod/run/config/visionarymod-client.toml

[26Oct2019 17:14:32.773] [modloading-worker-1/INFO] [dev.theagameplayer.visionarymod.VisionaryMod/]: Loading config: /Users/mmeans/Desktop/Modding/Visionary Mod/run/config/visionarymod-server.toml

[26Oct2019 17:14:32.774] [modloading-worker-1/INFO] [dev.theagameplayer.visionarymod.VisionaryMod/]: Built config: /Users/mmeans/Desktop/Modding/Visionary Mod/run/config/visionarymod-server.toml

[26Oct2019 17:14:32.774] [modloading-worker-1/INFO] [dev.theagameplayer.visionarymod.VisionaryMod/]: Loaded config: /Users/mmeans/Desktop/Modding/Visionary Mod/run/config/visionarymod-server.toml

[26Oct2019 17:14:32.774] [modloading-worker-1/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file /Users/mmeans/Desktop/Modding/Visionary Mod/run/config/visionarymod-server.toml is not correct. Correcting

[26Oct2019 17:14:32.776] [modloading-worker-1/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key oregen was corrected from null to SimpleCommentedConfig:{}

[26Oct2019 17:14:32.776] [modloading-worker-1/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key oregen.visionary_chance was corrected from null to 20

[26Oct2019 17:14:32.776] [modloading-worker-1/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key oregen.generate was corrected from null to true

[26Oct2019 17:14:33.295] [Client thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: null

Index: 5

Listeners:

0: NORMAL

1: ASM: class dev.theagameplayer.visionarymod.registries.VisionaryChunkGenerators registerChunkGeneratorType(Lnet/minecraftforge/event/RegistryEvent$Register;)V

2: ASM: class dev.theagameplayer.visionarymod.registries.VisionaryBlocks registerBlocks(Lnet/minecraftforge/event/RegistryEvent$Register;)V

3: ASM: class dev.theagameplayer.visionarymod.registries.VisionaryBiomes registerBiomes(Lnet/minecraftforge/event/RegistryEvent$Register;)V

4: ASM: class dev.theagameplayer.visionarymod.registries.VisionaryDimensions registerModDimensions(Lnet/minecraftforge/event/RegistryEvent$Register;)V

5: ASM: class dev.theagameplayer.visionarymod.registries.VisionaryItems registerItems(Lnet/minecraftforge/event/RegistryEvent$Register;)V

java.lang.NullPointerException

at dev.theagameplayer.visionarymod.registries.VisionaryItems.registerItems(VisionaryItems.java:41)

at net.minecraftforge.eventbus.ASMEventHandler_6_VisionaryItems_registerItems_Register.invoke(.dynamic)

at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)

at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)

at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106)

at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65)

at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65)

at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112)

at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$5(ModList.java:125)

at java.util.ArrayList.forEach(ArrayList.java:1257)

at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:125)

at net.minecraftforge.fml.ModList.lambda$static$1(ModList.java:96)

at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71)

at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197)

at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$24(ModLoader.java:189)

at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:964)

at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:189)

at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97)

at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113)

at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97)

at net.minecraft.client.Minecraft.init(Minecraft.java:454)

at net.minecraft.client.Minecraft.run(Minecraft.java:365)

at net.minecraft.client.main.Main.main(SourceFile:155)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55)

at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)

at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)

at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101)

 

[26Oct2019 17:14:33.298] [Client thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event RegistryEvent.Register<minecraft:item> dispatch for modid visionarymod

java.lang.NullPointerException: null

at dev.theagameplayer.visionarymod.registries.VisionaryItems.registerItems(VisionaryItems.java:41) ~[main/:?]

at net.minecraftforge.eventbus.ASMEventHandler_6_VisionaryItems_registerItems_Register.invoke(.dynamic) ~[?:?]

at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-1.0.0-service.jar:?]

at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?]

at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:28.1]

at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_222]

at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_222]

at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$5(ModList.java:125) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_222]

at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:125) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.ModList.lambda$static$1(ModList.java:96) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$24(ModLoader.java:189) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:964) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:189) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraft.client.Minecraft.init(Minecraft.java:454) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:365) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraft.client.main.Main.main(SourceFile:155) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]

at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?]

at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) [forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

[26Oct2019 17:14:33.335] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event LOAD_REGISTRIES, 1 errors found

[26Oct2019 17:14:33.335] [Client thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.

java.lang.Exception: stacktrace

at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-1.0.0-service.jar:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraft.client.Minecraft.init(Minecraft.java:454) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:365) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at net.minecraft.client.main.Main.main(SourceFile:155) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]

at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?]

at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?]

at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) [forge-1.14.4-28.1.70_mapped_snapshot_20190719-1.14.3.jar:?]

[26Oct2019 17:14:45.918] [Server-Worker-1/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event SETUP, 1 errors found.

[26Oct2019 17:14:45.918] [Server-Worker-1/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event SETUP, 1 errors found

[26Oct2019 17:14:45.918] [Server-Worker-1/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.

java.lang.Exception: stacktrace

at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-1.0.0-service.jar:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[?:?]

at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:123) ~[?:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$3(ClientModLoader.java:105) ~[?:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?]

at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626) [?:1.8.0_222]

at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1618) [?:1.8.0_222]

at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_222]

at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_222]

at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_222]

at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_222]

[26Oct2019 17:14:48.976] [Server-Worker-3/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'visionarymod:blockstates/deepnetherportal.json' in resourcepack: 'Mod Resources' for variant: 'axis=y': Unknown blockstate property: 'axis'

[26Oct2019 17:14:48.977] [Server-Worker-3/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'visionarymod:blockstates/deepnetherportal.json' missing model for variant: 'visionarymod:deepnetherportal#'

[26Oct2019 17:14:50.906] [Server-Worker-3/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found.

[26Oct2019 17:14:50.906] [Server-Worker-3/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found

[26Oct2019 17:14:50.906] [Server-Worker-3/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.

java.lang.Exception: stacktrace

at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-1.0.0-service.jar:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[?:?]

at net.minecraftforge.fml.client.ClientModLoader.finishModLoading(ClientModLoader.java:136) ~[?:?]

at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$4(ClientModLoader.java:107) ~[?:?]

at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) [?:1.8.0_222]

at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687) [?:1.8.0_222]

at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443) [?:1.8.0_222]

at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_222]

at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_222]

at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_222]

at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_222]

[26Oct2019 17:14:50.914] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer:

[26Oct2019 17:14:51.056] [Client thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.

[26Oct2019 17:14:51.061] [Client thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started

[26Oct2019 17:14:51.406] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512 textures-atlas

[26Oct2019 17:14:52.437] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/particle-atlas

[26Oct2019 17:14:52.439] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/painting-atlas

[26Oct2019 17:14:52.439] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128 textures/mob_effect-atlas

[26Oct2019 17:14:55.912] [Thread-1/FATAL] [net.minecraftforge.common.ForgeConfig/CORE]: Forge config just got changed on the file system!

Posted (edited)
28 minutes ago, A-Game said:

at dev.theagameplayer.visionarymod.registries.VisionaryItems.registerItems(VisionaryItems.java:41)

The mystic energies of the ether are telling me that your code is wrong on line 41 of VisionaryItems and you should change it.

Edited by Draco18s

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.

Posted (edited)

new BlockItem(VisionaryBlocks.STEAM_VENT, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT.getRegistryName()),

 

Unless there is something wrong with my registering upon switching forge versions, its not giving me any yellow or red flags

(this worked perfectly fine in the recommended version of forge)

Edited by A-Game
Posted

Please provide your code in a GitHub repo

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.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse'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]

 

Posted

I don't have a GitHub, though I did find that the ways I'm registering BlockItems and Biomes are no longer applicable in the latest forge version compared to the recommended forge version.

Posted
21 minutes ago, A-Game said:

I don't have a GitHub

You can always start one.

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.

Posted
package dev.theagameplayer.visionarymod.registries;

import dev.theagameplayer.visionarymod.VisionaryMod;
import dev.theagameplayer.visionarymod.item.KnowledgeTome;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
import net.minecraft.item.Rarity;
import net.minecraftforge.event.RegistryEvent.Register;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;
import net.minecraftforge.registries.ObjectHolder;

@ObjectHolder(VisionaryMod.MODID)
@EventBusSubscriber(bus=Bus.MOD)
public class VisionaryItems extends VisionaryMod {
	
	public static final Item KNOWLEDGE_TOME1 = null;
	public static final Item KNOWLEDGE_TOME2 = null;
	public static final Item KNOWLEDGE_TOME3 = null;
	public static final Item KNOWLEDGE_TOME4 = null;
	public static final Item KNOWLEDGE_TOME5 = null;
	public static final BlockItem STEAM_VENT = null;
	public static final BlockItem STEAM_VENT2 = null;
	public static final BlockItem STEAM_VENT3 = null;
	public static final BlockItem RED_NETHER_BRICK_FENCE = null;
	public static final BlockItem UNSTABLE_OBSIDIAN = null;
	public static final BlockItem DEEP_NETHER_ALTAR = null;
	public static final BlockItem DEEP_NETHER_PORTAL = null;
	public static final BlockItem DRY_NETHERRACK = null;
	
	@SubscribeEvent
	public static void registerItems(Register<Item> event) {
		event.getRegistry().registerAll(
				new KnowledgeTome(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome1"),
				new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome2"),
				new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome3"),
				new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome4"),
				new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome5"),
				
				new BlockItem(VisionaryBlocks.STEAM_VENT, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT.getRegistryName()),
				new BlockItem(VisionaryBlocks.STEAM_VENT2, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT2.getRegistryName()),
				new BlockItem(VisionaryBlocks.STEAM_VENT3, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT3.getRegistryName()),
				new BlockItem(VisionaryBlocks.RED_NETHER_BRICK_FENCE, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.RED_NETHER_BRICK_FENCE.getRegistryName()),
				new BlockItem(VisionaryBlocks.UNSTABLE_OBSIDIAN, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.UNSTABLE_OBSIDIAN.getRegistryName()),
				new BlockItem(VisionaryBlocks.DEEP_NETHER_ALTAR, new Item.Properties().rarity(Rarity.UNCOMMON).group(VISIONARY)).setRegistryName(VisionaryBlocks.DEEP_NETHER_ALTAR.getRegistryName()),
				new BlockItem(VisionaryBlocks.DEEP_NETHER_PORTAL, new Item.Properties().rarity(Rarity.UNCOMMON).group(VISIONARY)).setRegistryName(VisionaryBlocks.DEEP_NETHER_PORTAL.getRegistryName()),
				new BlockItem(VisionaryBlocks.DRY_NETHERRACK, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.DRY_NETHERRACK.getRegistryName())
		);
	}

}

Heres my code for my VisionaryItems Class, line 41 is the first BlockItem registry.

Posted

Something is null at line 41.
We need more code to figure out what it is.

Either post code as a GitHub repo or find the culprit with the debugger.

Some tips:

Spoiler

Modder Support:

Spoiler

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.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

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

6.

Quote

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:

Spoiler

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.

 

 

Posted

Where is your Register<Block> event?

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.

Posted

VisionaryBlocks.java:

package dev.theagameplayer.visionarymod.registries;
import dev.theagameplayer.visionarymod.VisionaryMod;
import dev.theagameplayer.visionarymod.block.DeepNetherAltar;
import dev.theagameplayer.visionarymod.block.DeepNetherPortal;
import dev.theagameplayer.visionarymod.block.SteamVent;
import dev.theagameplayer.visionarymod.block.SteamVent2;
import dev.theagameplayer.visionarymod.block.SteamVent3;
import dev.theagameplayer.visionarymod.block.UnstableObsidian;
import net.minecraft.block.Block;
import net.minecraft.block.FenceBlock;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.material.MaterialColor;
import net.minecraftforge.event.RegistryEvent.Register;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;
import net.minecraftforge.registries.ObjectHolder;
@ObjectHolder(VisionaryMod.MODID)
@EventBusSubscriber(bus=Bus.MOD)
public class VisionaryBlocks {
    
    public static final Block STEAM_VENT = null;
    public static final Block STEAM_VENT2 = null;
    public static final Block STEAM_VENT3 = null;
    public static final Block RED_NETHER_BRICK_FENCE = null;
    public static final Block UNSTABLE_OBSIDIAN = null;
    public static final Block DEEP_NETHER_ALTAR = null;
    public static final Block DEEP_NETHER_PORTAL = null;
    public static final Block DRY_NETHERRACK = null;
    
    @SubscribeEvent
    public static void registerBlocks(Register<Block> event) {
        event.getRegistry().registerAll(
                new SteamVent(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0f, 0.8f).lightValue(4).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "steamvent"),
                new SteamVent2(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0f, 0.8f).lightValue(6).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "steamvent2"),
                new SteamVent3(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0f, 0.8f).lightValue(8).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "steamvent3"),
                new FenceBlock(Block.Properties.create(Material.ROCK, MaterialColor.NETHERRACK).hardnessAndResistance(2.0F, 6.0F).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "rednetherbrickfence"),
                new UnstableObsidian(Block.Properties.create(Material.ROCK, MaterialColor.BLACK).hardnessAndResistance(50.0F, 1200.0F).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "unstableobsidian"),
                new DeepNetherAltar(Block.Properties.create(Material.ROCK, MaterialColor.BLACK).hardnessAndResistance(50.0F, 1200.0F).lightValue(15).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "deepnetheraltar"),
                new DeepNetherPortal(Block.Properties.create(Material.PORTAL, MaterialColor.RED).doesNotBlockMovement().lightValue(15).hardnessAndResistance(-1.0F, 3600000.0F).noDrops()).setRegistryName(VisionaryMod.MODID, "deepnetherportal"),
                new Block(Block.Properties.create(Material.ROCK, MaterialColor.GRAY).hardnessAndResistance(0.4F)).setRegistryName(VisionaryMod.MODID, "drynetherrack")
        );
    }
}

 

Posted
3 hours ago, A-Game said:

"steamvent")

3 hours ago, A-Game said:

public static final Block STEAM_VENT = null

 

These don't match. Look at the documentation again.

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.

Posted (edited)

Gotta love when you pull something stupid and don't even realize it lol.

Figured out that this only worked in the recommended version at the cost of world corruption...

Thanks for your help again as well as your patience with me :P

 

Edited by A-Game
  • 5 months later...
Posted

i have the same error can someone tell me how to fix heres my log:

[12Apr2020 18:03:04.645] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200122.131323, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.1.0, --version, MOD_DEV, --assetIndex, 1.15, --assetsDir, C:\Users\Stefan\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
[12Apr2020 18:03:04.648] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 1.8.0_241 by Oracle Corporation
[12Apr2020 18:03:04.981] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[12Apr2020 18:03:06.310] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\Stefan\.gradle\caches\forge_gradle\assets, --assetIndex, 1.15, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
[12Apr2020 18:03:09.511] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev
[12Apr2020 18:03:21.710] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10
[12Apr2020 18:03:24.103] [modloading-worker-3/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 31.1.0, for MC 1.15.2 with MCP 20200122.131323
[12Apr2020 18:03:24.104] [modloading-worker-3/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v31.1.0 Initialized
[12Apr2020 18:03:24.693] [Render thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: Can't use a null-name for the registry, object Block{null}.
    Index: 2
    Listeners:
        0: NORMAL
        1: net.minecraftforge.eventbus.EventBus$$Lambda$2079/1583625218@e2696e8
        2: ASM: class com.snakez.stefansminecraftmod.util.RegistryHandler$BlockInit registerBlocks(Lnet/minecraftforge/event/RegistryEvent$Register;)V
        3: ASM: class com.snakez.stefansminecraftmod.util.RegistryHandler$BlockInit registerBlocksItems(Lnet/minecraftforge/event/RegistryEvent$Register;)V
java.lang.NullPointerException: Can't use a null-name for the registry, object Block{null}.
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864)
    at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:314)
    at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:308)
    at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:133)
    at com.snakez.stefansminecraftmod.util.RegistryHandler$BlockInit.registerBlocks(RegistryHandler.java:43)
    at net.minecraftforge.eventbus.ASMEventHandler_1_BlockInit_registerBlocks_Register.invoke(.dynamic)
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106)
    at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65)
    at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65)
    at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112)
    at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$5(ModList.java:125)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:125)
    at net.minecraftforge.fml.ModList.lambda$static$1(ModList.java:96)
    at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71)
    at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197)
    at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$24(ModLoader.java:189)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:969)
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:189)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113)
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:393)
    at net.minecraft.client.main.Main.main(Main.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102)

[12Apr2020 18:03:24.697] [Render thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event RegistryEvent.Register<minecraft:block> dispatch for modid stefansmm
java.lang.NullPointerException: Can't use a null-name for the registry, object Block{null}.
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864) ~[guava-21.0.jar:?]
    at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:314) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:308) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:133) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at com.snakez.stefansminecraftmod.util.RegistryHandler$BlockInit.registerBlocks(RegistryHandler.java:43) ~[main/:?]
    at net.minecraftforge.eventbus.ASMEventHandler_1_BlockInit_registerBlocks_Register.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-2.0.0-milestone.1-service.jar:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-2.0.0-milestone.1-service.jar:?]
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:31.1]
    at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_241]
    at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_241]
    at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$5(ModList.java:125) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_241]
    at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:125) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.ModList.lambda$static$1(ModList.java:96) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$24(ModLoader.java:189) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:969) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:189) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:141) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?]
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
[12Apr2020 18:03:24.786] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event LOAD_REGISTRIES, 1 errors found
[12Apr2020 18:03:24.787] [Render thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
java.lang.Exception: stacktrace
    at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-2.0.0-milestone.1-service.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:141) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?]
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?]
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?]
[12Apr2020 18:03:28.705] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
[12Apr2020 18:03:28.957] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources
[12Apr2020 18:03:30.579] [Server-Worker-1/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event SETUP, 1 errors found.
[12Apr2020 18:03:30.579] [Server-Worker-1/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event SETUP, 1 errors found
[12Apr2020 18:03:30.580] [Server-Worker-1/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
java.lang.Exception: stacktrace
    at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-2.0.0-milestone.1-service.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[?:?]
    at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:123) ~[?:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$3(ClientModLoader.java:105) ~[?:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?]
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) [?:1.8.0_241]
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_241]
[12Apr2020 18:03:34.282] [Server-Worker-3/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found.
[12Apr2020 18:03:34.282] [Server-Worker-3/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found
[12Apr2020 18:03:34.282] [Server-Worker-3/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
java.lang.Exception: stacktrace
    at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-2.0.0-milestone.1-service.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[?:?]
    at net.minecraftforge.fml.client.ClientModLoader.finishModLoading(ClientModLoader.java:137) ~[?:?]
    at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$4(ClientModLoader.java:107) ~[?:?]
    at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:719) [?:1.8.0_241]
    at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:701) [?:1.8.0_241]
    at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:457) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_241]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_241]
[12Apr2020 18:03:34.518] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
[12Apr2020 18:03:34.520] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
[12Apr2020 18:03:34.664] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x3 minecraft:textures/atlas/blocks.png-atlas
[12Apr2020 18:03:34.742] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x3 minecraft:textures/atlas/signs.png-atlas
[12Apr2020 18:03:34.743] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x3 minecraft:textures/atlas/banner_patterns.png-atlas
[12Apr2020 18:03:34.743] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x3 minecraft:textures/atlas/shield_patterns.png-atlas
[12Apr2020 18:03:34.744] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x3 minecraft:textures/atlas/chest.png-atlas
[12Apr2020 18:03:34.744] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x3 minecraft:textures/atlas/beds.png-atlas
[12Apr2020 18:03:34.745] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x3 minecraft:textures/atlas/shulker_boxes.png-atlas
[12Apr2020 18:03:35.249] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[12Apr2020 18:03:35.251] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[12Apr2020 18:03:35.251] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas


it starded doing this when i added my code for a block

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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