Harvest with ease

Harvest with ease

15M Downloads

Mod crashes when loading: mods.toml missing metadata

Benzoid12 opened this issue ยท 8 comments

commented

My game errors when the mod is loading.

The error is mods.toml missing metadata for modid harvestwithease.

I am on Forge 1.19 41.1.0 and used the mod harvestwithease-1.19-3.0.0.0-forge.jar

Below is the error i receive:

https://user-images.githubusercontent.com/110770522/183290342-78fdace7-9880-4d6f-8820-6da8e88b5ac2.png

Thanks

commented

Oh right, I forgot that the previous version only supports up to Forge 41.0.63.
I will try to solve this issue while on vacation, for now if you can downgrade both the mod version and Forge version you can play, otherwise the only solution is to remove the mod and wait some days till I fix this.
Thanks for the feedback.

commented

Thanks for getting back to me, however, I downgraded to the version you suggested and whenever i click whether this be a grass block or anything my game freezes.

When the game closes itself I receive the below:

https://user-images.githubusercontent.com/110770522/183304362-b2ea14b7-a218-43e5-b78d-ec3bf22d54f5.png

The Crash Report is below:

---- Minecraft Crash Report ----
// Why did you do that?

Time: 07/08/2022, 18:38
Description: Unexpected error

java.lang.NoSuchMethodError: 'net.minecraft.world.level.Level net.minecraftforge.event.entity.player.PlayerInteractEvent$RightClickBlock.getWorld()'
at crystalspider.harvestwithease.handlers.RightClickBlockHandler.onRightClickBlock(RightClickBlockHandler.java:85) ~[harvestwithease-1.19-2.0.0.1-forge.jar%23147!/:1.19-2.0.0.1-forge] {re:classloading}
at crystalspider.harvestwithease.handlers.RightClickBlockHandler_onRightClickBlock_RightClickBlock.invoke(.dynamic) ~[harvestwithease-1.19-2.0.0.1-forge.jar%23147!/:1.19-2.0.0.1-forge] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:93) ~[eventbus-6.0.0.jar%2378!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-6.0.0.jar%2378!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-6.0.0.jar%2378!/:?] {}
at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:725) ~[forge-1.19-41.1.0-universal.jar%23160!/:?] {re:classloading}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233746
(MultiPlayerGameMode.java:322) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233740
(MultiPlayerGameMode.java:312) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233729_(MultiPlayerGameMode.java:252) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233732_(MultiPlayerGameMode.java:311) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.optifine.override.PlayerControllerOF.m_233732_(PlayerControllerOF.java:96) ~[preview_OptiFine_1.19_HD_U_H9_pre4.jar%23161!/:?] {re:classloading}
at net.minecraft.client.Minecraft.m_91277_(Minecraft.java:1641) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91279_(Minecraft.java:1921) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1738) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1047) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at crystalspider.harvestwithease.handlers.RightClickBlockHandler.onRightClickBlock(RightClickBlockHandler.java:85) ~[harvestwithease-1.19-2.0.0.1-forge.jar%23147!/:1.19-2.0.0.1-forge] {re:classloading}
at crystalspider.harvestwithease.handlers.RightClickBlockHandler_onRightClickBlock_RightClickBlock.invoke(.dynamic) ~[harvestwithease-1.19-2.0.0.1-forge.jar%23147!/:1.19-2.0.0.1-forge] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:93) ~[eventbus-6.0.0.jar%2378!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-6.0.0.jar%2378!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-6.0.0.jar%2378!/:?] {}
at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:725) ~[forge-1.19-41.1.0-universal.jar%23160!/:?] {re:classloading}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233746
(MultiPlayerGameMode.java:322) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233740
(MultiPlayerGameMode.java:312) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233729_(MultiPlayerGameMode.java:252) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233732_(MultiPlayerGameMode.java:311) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.optifine.override.PlayerControllerOF.m_233732_(PlayerControllerOF.java:96) ~[preview_OptiFine_1.19_HD_U_H9_pre4.jar%23161!/:?] {re:classloading}
at net.minecraft.client.Minecraft.m_91277_(Minecraft.java:1641) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91279_(Minecraft.java:1921) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
-- Affected level --
Details:
All players: 1 total; [LocalPlayer['benzoid1287'/128, l='ClientLevel', x=-147.88, y=68.00, z=129.52]]
Chunk stats: 5041, 3148
Level dimension: minecraft:overworld
Level spawn location: World: (-158,63,110), Section: (at 2,15,14 in -10,3,6; chunk contains blocks -160,-64,96 to -145,319,111), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Level time: 1300 game time, 1300 day time
Server brand: forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:577) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,xf:OptiFine:default,xf:fml:xaerominimap:xaero_clientworldclass,xf:fml:xaeroworldmap:xaero_wm_clientworldclass}
at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2237) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:691) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23155!/:?] {re:classloading,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}

Thanks again,

commented

Don't worry about working on a Vacation! Happy to wait till you are back

Thanks for being so quick to reply

commented

So I found the issue but it's not fast to fix because it doesn't depend entirely by me.
Anyway, you can expect it to be fixed by the end of next week (August 14th).

Thanks again.

commented

I am currently on vacation and this is a bit long to fix, meanwhile you can safely downgrade to version 2.0.0.1 without losing any feature.
I will update this issue when I'll fix the problem.

commented

Hello,

I was just wondering if there was an update on this.

Thanks!

commented

Yeah, sorry.
I had some problems with CurseForge that slowed me down of a few days. Furthermore I decided I had to do a big rewrite for the Fabric version and I'm not finished yet.
For the moment being I will attach here the Forge version jar (1.19) (it's zipped) so that you can play, then I'll close the issue when I'll be done with the Fabric version.
harvestwithease-1.19-4.0.0.0-forge.zip

commented

The issue should be fixed with the latest 4.0.0.0 release, it will soon be available on CurseForge too.