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

    • That is incorrect. Use the run.bat or run.sh to run the server.
    • Hello, I have been trying for days to create my server with forge-1.20.1-47.4.1-installer, which installs the server, but the forge-1.20.1-47.4.1.jar file, which is necessary to create the server, does not appear. I no longer know what to do. Help. hola buenas, llevo dias intentando poder hacer mi servidor con forge-1.20.1-47.4.1-installer el cual instalo el server, pero no aparece el archivo forge-1.20.1-47.4.1.jar , el cual es necesario para poder crear el server, ya no se que hacer ayuda.
    • Does this happen if you use the regular vanilla minecraft launcher? Also, unsure if TLauncher ever has a legit usage, as I have always seen it associated with software piracy, but if it has a legit mode, make sure it is using online mode so that it can authenticate your MS account to login. Aside from that, more information is likely needed. Post logs, as well as the paths you are placing files in (screenshots of your file explorer can be helpful as well).
    • I am using a third-party launcher that has pre-installed forge versions of Minecraft.  When I insert mods from CurseForge, I extract the files and as expected put them in the .mods folder. I am guessing that there is an error with the file transfer but I don't know for sure and sometimes I use Forge to test mods that I created before releasing previously on a different pc, so I don't know if it is the if it an extraction error but if are any tips or knowledge reply and I will read it. This is also will be kept on the forum for others that have the issues.
    • I make wires and i need connection 2 wires block. I have BooleanPropertys registered, but in mod loading it show Unknown the property in assets/wuntare/blockState. public static final BooleanProperty CONNECTED_NORTH = BooleanProperty.create("connected_north"); public static final BooleanProperty CONNECTED_SOUTH = BooleanProperty.create("connected_south"); public static final BooleanProperty CONNECTED_WEST = BooleanProperty.create("connected_west"); public static final BooleanProperty CONNECTED_EAST = BooleanProperty.create("connected_east"); public static final BooleanProperty CONNECTED_UP = BooleanProperty.create("connected_up"); public static final BooleanProperty CONNECTED_DOWN = BooleanProperty.create("connected_down"); public CopperWireWithoutInsulation0(Properties properties) { super(properties); this.registerDefaultState(this.stateDefinition.any() .setValue(CONNECTED_NORTH, false) .setValue(CONNECTED_SOUTH, false) .setValue(CONNECTED_WEST, false) .setValue(CONNECTED_EAST, false) .setValue(CONNECTED_UP, false) .setValue(CONNECTED_DOWN, false)); } @Override protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) { builder.add(CONNECTED_NORTH, CONNECTED_SOUTH, CONNECTED_WEST, CONNECTED_EAST, CONNECTED_UP, CONNECTED_DOWN); } In this part blockState have problem "multipart": [ { "apply": { "model": "wuntare:block/copper_wire_without_insulation0" } }, { "when": { "connected_north": true }, "apply": { "model": "wuntare:block/copper_wire_without_insulation0_north" } },  
  • Topics

×
×
  • Create New...

Important Information

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