Guest User

latest.log and main class

a guest
Jan 2nd, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.70 KB | None | 0 0
  1. MAIN CLASS:
  2. package com.vicken.mod3;
  3.  
  4. import com.google.common.eventbus.Subscribe;
  5. import com.vicken.mod3.items.ItemBase;
  6. import com.vicken.mod3.util.RegistryHandler;
  7. import net.minecraft.block.Block;
  8. import net.minecraft.block.Blocks;
  9. import net.minecraft.item.Item;
  10. import net.minecraft.item.ItemGroup;
  11. import net.minecraft.item.ItemStack;
  12. import net.minecraftforge.common.MinecraftForge;
  13. import net.minecraftforge.event.RegistryEvent;
  14. import net.minecraftforge.eventbus.api.SubscribeEvent;
  15. import net.minecraftforge.fml.InterModComms;
  16. import net.minecraftforge.fml.common.Mod;
  17. import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
  18. import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
  19. import net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent;
  20. import net.minecraftforge.fml.event.lifecycle.InterModProcessEvent;
  21. import net.minecraftforge.fml.event.server.FMLServerStartingEvent;
  22. import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
  23. import org.apache.logging.log4j.LogManager;
  24. import org.apache.logging.log4j.Logger;
  25.  
  26. import java.util.stream.Collectors;
  27.  
  28. // The value here should match an entry in the META-INF/mods.toml file
  29. @Mod("my_mod")
  30. public class my_mod {
  31. // Directly reference a log4j logger.
  32. private static final Logger LOGGER = LogManager.getLogger();
  33. public static final String Mod_ID = "my_mod";
  34. public static String my_mod;
  35.  
  36.  
  37. public my_mod() {
  38.  
  39. FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
  40.  
  41. FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff);
  42.  
  43. RegistryHandler.init();
  44.  
  45. // Register ourselves for server and other game events we are interested in
  46. MinecraftForge.EVENT_BUS.register(this);
  47. }
  48.  
  49. private void setup(final FMLCommonSetupEvent event) { }
  50.  
  51. private void doClientStuff(final FMLClientSetupEvent event) { }
  52.  
  53.  
  54.  
  55. }
  56.  
  57.  
  58. LATEST.LOG:
  59. [02Jan2021 16:33:35.913] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200515.085601, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.2.0, --version, MOD_DEV, --assetIndex, 1.15, --assetsDir, C:\Users\vicke\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
  60. [02Jan2021 16:33:35.917] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.1.2+70+master.2845bb9 starting: java version 14.0.1 by Oracle Corporation
  61. [02Jan2021 16:33:36.145] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
  62. [02Jan2021 16:33:37.288] [main/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
  63. [02Jan2021 16:33:38.189] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\vicke\.gradle\caches\forge_gradle\assets, --assetIndex, 1.15, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
  64. [02Jan2021 16:33:40.629] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev
  65. [02Jan2021 16:33:48.261] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10
  66. [02Jan2021 16:33:49.245] [modloading-worker-9/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 31.2.0, for MC 1.15.2 with MCP 20200515.085601
  67. [02Jan2021 16:33:49.245] [modloading-worker-9/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v31.2.0 Initialized
  68. [02Jan2021 16:33:49.266] [modloading-worker-2/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: my_mod, class com.vicken.mod3.my_mod
  69. java.lang.ExceptionInInitializerError: null
  70. at com.vicken.mod3.my_mod.<init>(my_mod.java:42) ~[?:?]
  71. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
  72. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
  73. at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
  74. at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) ~[?:?]
  75. at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:124) ~[?:?]
  76. at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:346) ~[?:?]
  77. at java.lang.Class.newInstance(Class.java:604) ~[?:?]
  78. at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:131) ~[?:?]
  79. at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:?]
  80. at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:?]
  81. at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) ~[?:?]
  82. at net.minecraftforge.fml.ModList.lambda$dispatchParallelEvent$10(ModList.java:135) ~[?:?]
  83. at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) [?:?]
  84. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1624) [?:?]
  85. at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [?:?]
  86. at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290) [?:?]
  87. at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746) [?:?]
  88. at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [?:?]
  89. at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) [?:?]
  90. at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) [?:?]
  91. at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) [?:?]
  92. at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) [?:?]
  93. Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: my_mod:Ruby
  94. at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30) ~[?:?]
  95. at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:39) ~[?:?]
  96. at net.minecraftforge.registries.DeferredRegister.register(DeferredRegister.java:82) ~[?:?]
  97. at com.vicken.mod3.util.RegistryHandler.<clinit>(RegistryHandler.java:32) ~[?:?]
  98. ... 23 more
  99. [02Jan2021 16:33:49.430] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event CONSTRUCT, 1 errors found
  100. [02Jan2021 16:33:49.431] [Render thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
  101. java.lang.Exception: stacktrace
  102. at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-2.2.0-service.jar:?]
  103. at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?]
  104. at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?]
  105. at net.minecraft.client.Minecraft.<init>(Minecraft.java:397) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?]
  106. at net.minecraft.client.main.Main.main(Main.java:141) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?]
  107. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
  108. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
  109. at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
  110. at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
  111. at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?]
  112. at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.2.jar:?]
  113. at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.2.jar:?]
  114. at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.2.jar:?]
  115. at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.2.jar:?]
  116. at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.2.jar:?]
  117. at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?]
  118. [02Jan2021 16:33:52.451] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
  119. [02Jan2021 16:33:52.619] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources
  120. [02Jan2021 16:33:52.653] [Server-Worker-1/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event SETUP, 1 errors found.
  121. [02Jan2021 16:33:52.653] [Server-Worker-1/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event SETUP, 1 errors found
  122. [02Jan2021 16:33:52.653] [Server-Worker-1/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
  123. java.lang.Exception: stacktrace
  124. at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-2.2.0-service.jar:?]
  125. at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[?:?]
  126. at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:123) ~[?:?]
  127. at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$3(ClientModLoader.java:105) ~[?:?]
  128. at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?]
  129. at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1800) [?:?]
  130. at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1792) [?:?]
  131. at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [?:?]
  132. at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) [?:?]
  133. at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) [?:?]
  134. at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) [?:?]
  135. at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) [?:?]
  136. [02Jan2021 16:33:56.440] [Server-Worker-2/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found.
  137. [02Jan2021 16:33:56.440] [Server-Worker-2/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found
  138. [02Jan2021 16:33:56.440] [Server-Worker-2/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
  139. java.lang.Exception: stacktrace
  140. at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-2.2.0-service.jar:?]
  141. at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[?:?]
  142. at net.minecraftforge.fml.client.ClientModLoader.finishModLoading(ClientModLoader.java:137) ~[?:?]
  143. at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$4(ClientModLoader.java:107) ~[?:?]
  144. at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783) [?:?]
  145. at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) [?:?]
  146. at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [?:?]
  147. at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) [?:?]
  148. at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) [?:?]
  149. at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) [?:?]
  150. at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) [?:?]
  151. [02Jan2021 16:33:56.727] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
  152. [02Jan2021 16:33:56.728] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
  153. [02Jan2021 16:33:56.880] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
  154. [02Jan2021 16:33:56.963] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x4 minecraft:textures/atlas/signs.png-atlas
  155. [02Jan2021 16:33:56.963] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
  156. [02Jan2021 16:33:56.967] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
  157. [02Jan2021 16:33:56.986] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
  158. [02Jan2021 16:33:56.987] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
  159. [02Jan2021 16:33:56.998] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
  160. [02Jan2021 16:33:57.642] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
  161. [02Jan2021 16:33:57.655] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
  162. [02Jan2021 16:33:57.657] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
  163.  
Advertisement
Add Comment
Please, Sign In to add comment