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)
  On 10/27/2019 at 12:54 AM, A-Game said:

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

Expand  

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.

  Reveal hidden contents

 

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
  On 10/27/2019 at 3:24 AM, A-Game said:

I don't have a GitHub

Expand  

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:

  Reveal hidden contents

 

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
  On 10/27/2019 at 9:54 PM, A-Game said:

"steamvent")

Expand  
  On 10/27/2019 at 9:54 PM, A-Game said:

public static final Block STEAM_VENT = null

Expand  

 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Cracked Launchers are not supported
    • Hi, I have a problem in minecraft java (only in forge 1.20.1), When I start the game after a moment the game crashed with code 1 this only in forge 1.20.1 , I tried to reinstall java, Upgrade java to 17, update the drivers to the latest version, downgrade the drivers to the pervious version, deleting .minecraft and reinstall it , but none of these ways working.   here is the log:   [Launcher] Launching Minecraft... I'm hiding! mods after C:\Users\Windows\AppData\Roaming\.minecraft\mods\tl_skin_cape_forge_1.20_1.20.1-1.32.jar [InnerMinecraftServersImpl]  search changers of the servers read servers from servers.dat [] [InnerMinecraftServersImpl]  prepare inner servers save servers to servers.dat [Launcher] Game skin type: TLAUNCHER [Launcher] Starting Minecraft Forge 1.20.1... [Launcher] Launching in: C:\Users\Windows\AppData\Roaming\.minecraft Starting garbage collector: 96 / 227 MB Garbage collector completed: 60 / 214 MB [Launcher] Processing post-launch actions. Assist launch: true =============================================================================================== [05:29:03] [main/INFO]: ModLauncher running: args [--username, *********, --version, Forge 1.20.1, --gameDir, C:\Users\Windows\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Windows\AppData\Roaming\.minecraft\assets, --assetIndex, 5, --uuid, *************************************, --accessToken, вќ„вќ„вќ„вќ„вќ„вќ„вќ„вќ„, --clientId, null, --xuid, null, --userType, mojang, --versionType, modified, --width, 925, --height, 530, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.22, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [05:29:04] [main/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.12 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0 [05:29:15] [main/INFO]: Loading ImmediateWindowProvider fmlearlywindow [05:29:24] [main/INFO]: Trying GL version 4.6 [05:29:60] [main/INFO]: Requested GL version 4.6 got version 4.6 [05:29:67] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Windows/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT FATAL ERROR in native method: Thread[pool-2-thread-1,5,main]: No context is current or a function that is not available in the current context was called. The JVM will abort execution.     at org.lwjgl.opengl.GL11C.nglGetString(org.lwjgl.opengl@3.3.1+7/Native Method)     at org.lwjgl.opengl.GL11C.glGetString(org.lwjgl.opengl@3.3.1+7/GL11C.java:978)     at net.minecraftforge.fml.earlydisplay.DisplayWindow.initRender(fmlearlydisplay@1.20.1-47.3.22/DisplayWindow.java:209)     at net.minecraftforge.fml.earlydisplay.DisplayWindow.lambda$start$5(fmlearlydisplay@1.20.1-47.3.22/DisplayWindow.java:292)     at net.minecraftforge.fml.earlydisplay.DisplayWindow$$Lambda$437/0x000001fab120a618.run(fmlearlydisplay@1.20.1-47.3.22/Unknown Source)     at java.util.concurrent.Executors$RunnableAdapter.call(java.base@17.0.12/Executors.java:539)     at java.util.concurrent.FutureTask.run(java.base@17.0.12/FutureTask.java:264)     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(java.base@17.0.12/ScheduledThreadPoolExecutor.java:304)     at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.12/ThreadPoolExecutor.java:1136)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.12/ThreadPoolExecutor.java:635)     at java.lang.Thread.run(java.base@17.0.12/Thread.java:842) Here I am! [VersionManager] Refreshing versions locally... [VersionManager] Versions has been refreshed (6 ms) [Launcher] Launcher exited. [Launcher] Minecraft closed with exit code: 1 flush now [Launcher] [Crash] Signature "Bad video drivers" matches! [Crash] Signature "Bad video drivers" matches! [Launcher] [Crash] Crash has been recognized! [Crash] Crash has been recognized! flush now
    • https://mclo.gs/9Byd16j Hi, I've had my BetterMC world for a couple days now (1.19.2 vers & Fabric loader) but recently whenever I try to open the profile the minecraft launcher crashes and provides this error code. I've checked both this forum and google and haven't found any similar problems or solution to my problem. I'm not the best at reading crash logs but I gathered that there's an issue with fabric possibly, so I re-downloaded the same one on the modpack, then the latest version for 1.19.2 fabric and the issue still occurred. What can I do now?
    • it works now but idk why lmao. i removed terrablender and it didnt work. i then left it for a couple of days and, when i came back, updated the mods that needed updating because "what's the worst that could happen". i then tried launching it and now it works. i genuenly have no clue what i did to make it work, othen than updating the mods. so, thanks for your help
  • Topics

×
×
  • Create New...

Important Information

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