Jump to content

Recommended Posts

Posted

When I Build my mod successfully for distribution. i tried the mod minecraft an error is comming that Advance Gun Mod (advance_gun_mod) encountered an error during the common_setup event phase

Here is the latest log:

[18:52:27] [main/INFO]: ModLauncher running: args [--username, LakshyaK2011, --version, Forge 1.16.5, --gameDir, C:\Users\DELL\AppData\Roaming\.minecraft, --assetsDir, C:\Users\DELL\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, 8b4ff416-1eb2-11eb-a3e3-d45d64bce613, --accessToken, ????????, --userType, mojang, --versionType, modified, --width, 925, --height, 530, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.29, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550]
[18:52:28] [main/INFO]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 1.8.0_51 by Oracle Corporation
[18:52:28] [main/WARN]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED
[18:52:29] [main/INFO]: Added Lets Encrypt root certificates as additional trust
[18:52:29] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/DELL/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT
[18:52:35] [main/INFO]: Launching target 'fmlclient' with arguments [--version, Forge 1.16.5, --gameDir, C:\Users\DELL\AppData\Roaming\.minecraft, --assetsDir, C:\Users\DELL\AppData\Roaming\.minecraft\assets, --uuid, 8b4ff416-1eb2-11eb-a3e3-d45d64bce613, --username, LakshyaK2011, --assetIndex, 1.16, --accessToken, ????????, --userType, mojang, --versionType, modified, --width, 925, --height, 530]
[18:52:56] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[18:52:56] [main/INFO]: Setting user: LakshyaK2011
[18:52:57] [main/INFO]: Backend library: LWJGL version 3.2.2 build 10
[18:53:01] [modloading-worker-3/INFO]: Forge mod loading, version 36.2.29, for MC 1.16.5 with MCP 20210115.111550
[18:53:01] [modloading-worker-3/INFO]: MinecraftForge v36.2.29 Initialized
[18:53:08] [main/INFO]: Narrator library for x64 successfully loaded
[18:53:08] [main/INFO]: Reloading ResourceManager: Mod Resources, Default
[18:53:19] [Worker-Main-5/WARN]: Unable to resolve texture reference: #missing in advance_gun_mod:item/ak_47_holder_oak
[18:53:19] [Worker-Main-5/WARN]: Unable to resolve texture reference: #missing in advance_gun_mod:item/a
[18:53:19] [Worker-Main-5/WARN]: Unable to resolve texture reference: #missing in advance_gun_mod:item/ak_47_holder_birch
[18:53:19] [Worker-Main-5/WARN]: Unable to resolve texture reference: #missing in advance_gun_mod:item/ak_47_holder_spurce
[18:53:19] [Worker-Main-5/WARN]: Unable to resolve texture reference: #missing in advance_gun_mod:block/gun_workbench
[18:53:19] [Worker-Main-5/WARN]: Unable to resolve texture reference: #missing in advance_gun_mod:item/ak_47_holder_dark_oak
[18:53:19] [Forge Version Check/INFO]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json
[18:53:19] [Worker-Main-8/ERROR]: Exception caught during firing event: java.lang.NoSuchMethodException: net.minecraft.village.PointOfInterestType.registerBlockStates(net.minecraft.village.PointOfInterestType)
    Index: 2
    Listeners:
        0: NORMAL
        1: net.minecraftforge.eventbus.EventBus$$Lambda$2905/942444738@2f9f3c3d
        2: ASM: class net.chauhanDevs.advance_modder.common.event.commonEvents commonSetup(Lnet/minecraftforge/fml/event/lifecycle/FMLCommonSetupEvent;)V
net.minecraftforge.fml.common.ObfuscationReflectionHelper$UnableToFindMethodException: java.lang.NoSuchMethodException: net.minecraft.village.PointOfInterestType.registerBlockStates(net.minecraft.village.PointOfInterestType)
    at net.minecraftforge.fml.common.ObfuscationReflectionHelper.findMethod(ObfuscationReflectionHelper.java:166)
    at net.chauhanDevs.advance_modder.core.init.VillagerProfessionBlock.registerPoi(VillagerProfessionBlock.java:22)
    at net.chauhanDevs.advance_modder.common.event.commonEvents.commonSetup(commonEvents.java:14)
    at net.minecraftforge.eventbus.ASMEventHandler_6_commonEvents_commonSetup_FMLCommonSetupEvent.invoke(.dynamic)
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
    at net.minecraftforge.eventbus.EventBus$$Lambda$3140/1431802817.invoke(Unknown Source)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120)
    at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121)
    at net.minecraftforge.fml.ModContainer$$Lambda$3075/1783047526.run(Unknown Source)
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.NoSuchMethodException: net.minecraft.village.PointOfInterestType.registerBlockStates(net.minecraft.village.PointOfInterestType)
    at java.lang.Class.getDeclaredMethod(Class.java:2130)
    at net.minecraftforge.fml.common.ObfuscationReflectionHelper.findMethod(ObfuscationReflectionHelper.java:160)
    ... 16 more

[18:53:19] [Worker-Main-8/ERROR]: Caught exception during event FMLCommonSetupEvent dispatch for modid advance_gun_mod
net.minecraftforge.fml.common.ObfuscationReflectionHelper$UnableToFindMethodException: java.lang.NoSuchMethodException: net.minecraft.village.PointOfInterestType.registerBlockStates(net.minecraft.village.PointOfInterestType)
    at net.minecraftforge.fml.common.ObfuscationReflectionHelper.findMethod(ObfuscationReflectionHelper.java:166) ~[?:?]
    at net.chauhanDevs.advance_modder.core.init.VillagerProfessionBlock.registerPoi(VillagerProfessionBlock.java:22) ~[?:1.0]
    at net.chauhanDevs.advance_modder.common.event.commonEvents.commonSetup(commonEvents.java:14) ~[?:1.0]
    at net.minecraftforge.eventbus.ASMEventHandler_6_commonEvents_commonSetup_FMLCommonSetupEvent.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?]
    at net.minecraftforge.eventbus.EventBus$$Lambda$3140/1431802817.invoke(Unknown Source) ~[?:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?]
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) [?:36.2]
    at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) [?:?]
    at net.minecraftforge.fml.ModContainer$$Lambda$3075/1783047526.run(Unknown Source) [?:?]
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) [?:1.8.0_51]
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51]
Caused by: java.lang.NoSuchMethodException: net.minecraft.village.PointOfInterestType.registerBlockStates(net.minecraft.village.PointOfInterestType)
    at java.lang.Class.getDeclaredMethod(Class.java:2130) ~[?:1.8.0_51]
    at net.minecraftforge.fml.common.ObfuscationReflectionHelper.findMethod(ObfuscationReflectionHelper.java:160) ~[?:?]
    ... 16 more
[18:53:20] [modloading-worker-2/FATAL]: Failed to complete lifecycle event COMMON_SETUP, 1 errors found
[18:53:21] [Worker-Main-5/WARN]: Texture advance_gun_mod:items/test_chauhan with size 222x227 limits mip level from 4 to 0
[18:53:21] [Worker-Main-5/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[18:53:21] [Worker-Main-5/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[18:53:21] [Worker-Main-5/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[18:53:21] [Worker-Main-5/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[18:53:21] [Worker-Main-5/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[18:53:21] [Worker-Main-5/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[18:53:22] [modloading-worker-2/ERROR]: Cowardly refusing to process mod state change request from ENQUEUE_IMC
[18:53:22] [modloading-worker-2/ERROR]: Cowardly refusing to process mod state change request from PROCESS_IMC
[18:53:22] [modloading-worker-2/ERROR]: Cowardly refusing to process mod state change request from COMPLETE
[18:53:22] [Forge Version Check/INFO]: [forge] Found status: OUTDATED Current: 36.2.29 Target: 36.2.31
[18:53:26] [main/INFO]: OpenAL initialized.
[18:53:26] [main/INFO]: Sound engine started
[18:53:27] [main/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[18:53:28] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:28] [main/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[18:53:28] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:28] [main/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[18:53:28] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:28] [main/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[18:53:28] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:28] [main/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[18:53:28] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:28] [main/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[18:53:28] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:28] [main/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[18:53:28] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:29] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.ModelBakeEvent to a broken mod state
[18:53:30] [main/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[18:53:31] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:31] [main/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[18:53:31] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:31] [main/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[18:53:31] [main/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[18:53:31] [main/FATAL]: Preparing crash report with UUID ce2486aa-98ec-4e09-9e10-448f1be86972
[18:53:31] [main/INFO]: [net.minecraft.crash.CrashReport:func_85057_a:196]: Negative index in crash report handler (23/26)
[18:53:31] [main/FATAL]: Crash report saved to C:\Users\DELL\AppData\Roaming\.minecraft\crash-reports\crash-2022-03-15_18.53.31-fml.txt
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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