Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

parkat

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by parkat


  1. https://imgur.com/a/CYG6Cqv

    this happens when loading examplemod 

    let me know if any additional resources are needed 

    latest.log:

    Spoiler
    [19Oct2021 12:27:36.345] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200625.160719, --fml.mcVersion, 1.16.1, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 32.0.108, --version, MOD_DEV, --assetIndex, 1.16, --assetsDir, /Users/parkatgood/.gradle/caches/forge_gradle/assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
    [19Oct2021 12:27:36.350] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 6.1.3+75+master.851120a starting: java version 1.8.0_111 by Oracle Corporation
    [19Oct2021 12:27:36.651] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
    [19Oct2021 12:27:36.729] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/Users/parkatgood/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8/dbe9e5db694a7c3cd644d5bb98f8a21295c75048/mixin-0.8.jar Service=ModLauncher Env=CLIENT
    [19Oct2021 12:27:40.090] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, /Users/parkatgood/.gradle/caches/forge_gradle/assets, --assetIndex, 1.16, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
    [19Oct2021 12:27:44.651] [pool-2-thread-1/ERROR] [net.minecraftforge.fml.loading.moddiscovery.ExplodedDirectoryLocator/SCAN]: Exception scanning /Users/parkatgood/Desktop/attempt2/out/production/classes
    java.nio.file.NoSuchFileException: /Users/parkatgood/Desktop/attempt2/out/production/classes
    	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) ~[?:1.8.0_111]
    	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_111]
    	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_111]
    	at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) ~[?:1.8.0_111]
    	at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144) ~[?:1.8.0_111]
    	at java.nio.file.Files.readAttributes(Files.java:1737) ~[?:1.8.0_111]
    	at java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219) ~[?:1.8.0_111]
    	at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276) ~[?:1.8.0_111]
    	at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322) ~[?:1.8.0_111]
    	at java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:72) ~[?:1.8.0_111]
    	at java.nio.file.Files.find(Files.java:3687) ~[?:1.8.0_111]
    	at net.minecraftforge.fml.loading.moddiscovery.ExplodedDirectoryLocator.scanIndividualPath(ExplodedDirectoryLocator.java:96) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar:?]
    	at net.minecraftforge.fml.loading.moddiscovery.ExplodedDirectoryLocator.lambda$scanFile$3(ExplodedDirectoryLocator.java:90) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar:?]
    	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_111]
    	at net.minecraftforge.fml.loading.moddiscovery.ExplodedDirectoryLocator.scanFile(ExplodedDirectoryLocator.java:90) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar:?]
    	at net.minecraftforge.fml.loading.moddiscovery.ModFile.scanFile(ModFile.java:135) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar:?]
    	at net.minecraftforge.fml.loading.moddiscovery.Scanner.scan(Scanner.java:46) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar:?]
    	at net.minecraftforge.fml.loading.moddiscovery.ModFile.compileContent(ModFile.java:131) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar:?]
    	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) [?:1.8.0_111]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
    	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
    [19Oct2021 12:28:05.794] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
    [19Oct2021 12:28:05.804] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev
    [19Oct2021 12:28:06.326] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.1 build 12
    [19Oct2021 12:28:07.687] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: File /Users/parkatgood/Desktop/attempt2/out/production/resources constructed 0 mods: [], but had 1 mods specified: [examplemod]
    [19Oct2021 12:28:07.687] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/CORE]: Failed to initialize mod containers
    net.minecraftforge.fml.ModLoadingException: The Mod File /Users/parkatgood/Desktop/attempt2/out/production/resources has mods that were not found
    	at net.minecraftforge.fml.ModLoader.buildMods(ModLoader.java:239) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$19(ModLoader.java:189) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_111]
    	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_111]
    	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_111]
    	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_111]
    	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_111]
    	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_111]
    	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_111]
    	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_111]
    	at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:191) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:93) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:109) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:93) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraft.client.Minecraft.<init>(Minecraft.java:425) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraft.client.main.Main.main(Main.java:149) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
    	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
    	at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-6.1.3.jar:?]
    	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    [19Oct2021 12:28:07.711] [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:317) ~[eventbus-3.0.3-service.jar:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:111) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:93) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraft.client.Minecraft.<init>(Minecraft.java:425) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at net.minecraft.client.main.Main.main(Main.java:149) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
    	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
    	at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-6.1.3.jar:?]
    	at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-6.1.3.jar:?]
    	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar:?]
    [19Oct2021 12:28:14.340] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources
    [19Oct2021 12:28:14.431] [Worker-Main-4/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event SETUP, 1 errors found.
    [19Oct2021 12:28:14.431] [Worker-Main-4/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event SETUP, 1 errors found
    [19Oct2021 12:28:14.431] [Worker-Main-4/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:317) ~[eventbus-3.0.3-service.jar:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:111) ~[?:?]
    	at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:119) ~[?:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$3(ClientModLoader.java:101) ~[?:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:109) ~[?:?]
    	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626) [?:1.8.0_111]
    	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1618) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_111]
    [19Oct2021 12:28:25.977] [Worker-Main-4/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found.
    [19Oct2021 12:28:25.978] [Worker-Main-4/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found
    [19Oct2021 12:28:25.978] [Worker-Main-4/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:317) ~[eventbus-3.0.3-service.jar:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:111) ~[?:?]
    	at net.minecraftforge.fml.client.ClientModLoader.finishModLoading(ClientModLoader.java:131) ~[?:?]
    	at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$4(ClientModLoader.java:103) ~[?:?]
    	at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) [?:1.8.0_111]
    	at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687) [?:1.8.0_111]
    	at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_111]
    	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_111]
    [19Oct2021 12:28:26.848] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
    [19Oct2021 12:28:26.862] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
    [19Oct2021 12:28:27.681] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
    [19Oct2021 12:28:27.728] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
    [19Oct2021 12:28:27.729] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
    [19Oct2021 12:28:27.731] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
    [19Oct2021 12:28:27.734] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
    [19Oct2021 12:28:27.735] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
    [19Oct2021 12:28:27.737] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
    [19Oct2021 12:28:29.804] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
    [19Oct2021 12:28:29.807] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
    [19Oct2021 12:28:29.809] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas

     

     

  2. On 6/13/2020 at 11:10 AM, Ugdhar said:

    Your modid cannot contain capital letters.

    The modid in your mod annotation and mods.toml do not match.

     

    In the future please post code in spoiler/code tags and not attached files. Better yet, a GitHub repository is the best way to go to share your code hands down

    Ik this thread is kinda old but what is mod annotation? 
    (sorry for the stupid question) 

  3. I am running forge-1.16.1-32.0.108-mdk and all my code SEEMs to be legit but when I run, the loading screen pops up and gets through the Mojang intro but immediately closes 

    Java 8

    minecraft 1.16.1 

     

    ---- Minecraft Crash Report ----
    // I feel sad now :(
    
    Time: 10/19/21 10:50 AM
    Description: Rendering overlay
    
    net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: .DS_Store:sounds.json
    	at net.minecraft.util.ResourceLocation.<init>(SourceFile:38) ~[?:?] {re:classloading}
    	at net.minecraft.util.ResourceLocation.<init>(SourceFile:50) ~[?:?] {re:classloading}
    	at net.minecraft.client.audio.SoundHandler.prepare(SoundHandler.java:56) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    	at net.minecraft.client.audio.SoundHandler.prepare(SoundHandler.java:34) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    	at net.minecraft.client.resources.ReloadListener.func_215270_b(SourceFile:11) ~[?:?] {re:classloading}
    	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_111] {}
    	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582) ~[?:1.8.0_111] {}
    	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_111] {}
    	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_111] {}
    	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_111] {}
    	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_111] {}
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Thread: Render thread
    Stacktrace:
    	at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:473)
    
    -- Overlay render details --
    Details:
    	Overlay name: net.minecraft.client.gui.ResourceLoadProgressGui
    Stacktrace:
    	at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:473)
    	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:951)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:582)
    	at net.minecraft.client.main.Main.main(Main.java:184)
    	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:105)
    
    -- System Details --
    Details:
    	Minecraft Version: 1.16.1
    	Minecraft Version ID: 1.16.1
    	Operating System: Mac OS X (x86_64) version 10.16
    	Java Version: 1.8.0_111, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 469098616 bytes (447 MB) / 948961280 bytes (905 MB) up to 1908932608 bytes (1820 MB)
    	CPUs: 4
    	JVM Flags: 1 total; -Xss1M
    	ModLauncher: 6.1.3+75+master.851120a
    	ModLauncher launch target: fmluserdevclient
    	ModLauncher naming: mcp
    	ModLauncher services: 
    		/mixin-0.8.jar mixin PLUGINSERVICE 
    		/eventbus-3.0.3-service.jar eventbus PLUGINSERVICE 
    		/forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar object_holder_definalize PLUGINSERVICE 
    		/forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar runtime_enum_extender PLUGINSERVICE 
    		/accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE 
    		/forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar capability_inject_definalize PLUGINSERVICE 
    		/forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar runtimedistcleaner PLUGINSERVICE 
    		/mixin-0.8.jar mixin TRANSFORMATIONSERVICE 
    		/forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-launcher.jar fml TRANSFORMATIONSERVICE 
    	FML: 32.0
    	Forge: net.minecraftforge:32.0.108
    	FML Language Providers: 
    		javafml@32.0
    		minecraft@1
    	Mod List: 
    		client-extra.jar Minecraft {minecraft@1.16.1 NONE}
    		forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16.jar Forge {forge@32.0.108 NONE}
    		resources Example Mod {examplemod@NONE NONE}
    	Launched Version: MOD_DEV
    	Backend library: LWJGL version 3.2.1 build 12
    	Backend API: Intel(R) Iris(TM) Plus Graphics OpenGL Engine (1x6x8 (fused) LP GL version 2.1 INTEL-16.5.2, Intel Inc.
    	GL Caps: Using framebuffer using ARB_framebuffer_object extension
    	Using VBOs: Yes
    	Is Modded: Definitely; Client brand changed to 'forge'
    	Type: Client (map_client.txt)
    	Resource Packs: 
    	Current Language: English (US)
    	CPU: 4x Intel(R) Core(TM) i3-1000NG4 CPU @ 1.10GHz

     

  4. I am new to modding and I'm sure this is a simple fix but I cannot for the life of me figure out why this error is thrown. 

    I am running forge-1.17.1-37.0.90 and all other aspects seem to be working fine

    I am following this tutorial https://thebookofmodding.ml/adding-custom-items/

    here is my code (sorry its messy rn) [registryhandler class]

    https://imgur.com/a/EGC2jyj

    package com.example.examplemod;
    
    import net.minecraft.item.ItemGroup;
    import net.minecraft.world.item.Item;
    import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
    import net.minecraftforge.fmllegacy.RegistryObject;
    import net.minecraftforge.registries.DeferredRegister;
    import net.minecraftforge.registries.ForgeRegistries;
    /*
    public class RegistryHandler {
        // create DeferredRegister object
        public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, ExampleMod.MODID);
    
        public static void init() {
            // attach DeferredRegister to the event bus
            ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus());
        }
    
        // register item
       public static final RegistryObject<Item> COPPER = ITEMS.register("copper", () ->
            //    new Item(new Item.Properties().group(ItemGroup.MATERIALS))
           //     );
                    new Item(
                        new Item.Properties().group(ItemGroup.MATERIALS)
               )
        );
    
     */
        public class RegistryHandler {
            public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, ExampleMod.MODID);
    
            public static void init() {
                // attach DeferredRegister to the event bus
                ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus());
            }
    
            public static final RegistryObject<Item> TITAN = ITEMS.register("titan",
                    ()-> new Item(new Item.Properties().group(ItemGroup.REDSTONE)));
        }

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.