SigmundGranaas / forgero

Tool creation and customization mod for Minecraft
MIT License
48 stars 15 forks source link

I dont really know what is going on here but it crashes every time i put it on a server #193

Closed sabs-shep886 closed 2 years ago

sabs-shep886 commented 2 years ago

this is the error i get

[17:38:58] [main/ERROR]: Failed to start the minecraft server

78 | java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'forgero'! 79 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.9.jar:?] 80 | at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.9.jar:?] 81 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.9.jar:?] 82 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.9.jar:?] 83 | at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.9.jar:?] 84 | at net.minecraft.server.Main.main(Main.java:101) [server-intermediary.jar:?] 85 | at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.9.jar:?] 86 | at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.9.jar:?] 87 | at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.9.jar:?] 88 | at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.9.jar:?] 89 | Caused by: java.util.NoSuchElementException: No value present 90 | at java.util.Optional.get(Optional.java:143) ~[?:?] 91 | at net.minecraft.class_1766.handler$zkk000$init(class_1766.java:1543) ~[server-intermediary.jar:?] 92 | at net.minecraft.class_1766.(class_1766.java:34) ~[server-intermediary.jar:?] 93 | at net.minecraft.class_1821.(class_1821.java:35) ~[server-intermediary.jar:?] 94 | at com.sigmundgranaas.forgero.item.items.tool.ForgeroShovelItem.(ForgeroShovelItem.java:34) ~[forgero-0.8.4-BETA-1.19.0.jar:?] 95 | at com.sigmundgranaas.forgero.item.implementation.ItemFactoryImpl.createTool(ItemFactoryImpl.java:45) ~[forgero-0.8.4-BETA-1.19.0.jar:?] 96 | at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] 97 | at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?] 98 | at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] 99 | at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] 100 | at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?] 101 | at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?] 102 | at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[?:?] 103 | at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) ~[?:?] 104 | at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) ~[?:?] 105 | at com.sigmundgranaas.forgero.registry.impl.ConcurrentForgeroItemRegistry.loadResources(ConcurrentForgeroItemRegistry.java:55) ~[forgero-0.8.4-BETA-1.19.0.jar:?] 106 | at com.sigmundgranaas.forgero.registry.impl.ConcurrentForgeroItemRegistry.loadResourcesIfEmpty(ConcurrentForgeroItemRegistry.java:68) ~[forgero-0.8.4-BETA-1.19.0.jar:?] 107 | at com.sigmundgranaas.forgero.ForgeroInitializer.onInitialize(ForgeroInitializer.java:30) ~[forgero-0.8.4-BETA-1.19.0.jar:?] 108 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.9.jar:?] 109 | ... 7 more

[17:38:58] [main/ERROR]: Failed to start the minecraft server java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'forgero'! at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.9.jar:?] at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.9.jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.9.jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.9.jar:?] at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.9.jar:?] at net.minecraft.server.Main.main(Main.java:101) [server-intermediary.jar:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.9.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.9.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.9.jar:?] at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.9.jar:?] Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:143) ~[?:?] at net.minecraft.class_1766.handler$zkk000$init(class_1766.java:1543) ~[server-intermediary.jar:?] at net.minecraft.class_1766.(class_1766.java:34) ~[server-intermediary.jar:?] at net.minecraft.class_1821.(class_1821.java:35) ~[server-intermediary.jar:?] at com.sigmundgranaas.forgero.item.items.tool.ForgeroShovelItem.(ForgeroShovelItem.java:34) ~[forgero-0.8.4-BETA-1.19.0.jar:?] at com.sigmundgranaas.forgero.item.implementation.ItemFactoryImpl.createTool(ItemFactoryImpl.java:45) ~[forgero-0.8.4-BETA-1.19.0.jar:?] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?] at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?] at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[?:?] at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) ~[?:?] at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) ~[?:?] at com.sigmundgranaas.forgero.registry.impl.ConcurrentForgeroItemRegistry.loadResources(ConcurrentForgeroItemRegistry.java:55) ~[forgero-0.8.4-BETA-1.19.0.jar:?] at com.sigmundgranaas.forgero.registry.impl.ConcurrentForgeroItemRegistry.loadResourcesIfEmpty(ConcurrentForgeroItemRegistry.java:68) ~[forgero-0.8.4-BETA-1.19.0.jar:?] at com.sigmundgranaas.forgero.ForgeroInitializer.onInitialize(ForgeroInitializer.java:30) ~[forgero-0.8.4-BETA-1.19.0.jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.9.jar:?] ... 7 more

does anyone know why?

sabs-shep886 commented 2 years ago

i do absoloutly love the idea of this mod and want it on my server

SigmundGranaas commented 2 years ago

Could you try this with the newest version of the mod? The most up to date version is 0.9.5. Some of the patches in Forgero 0.9.x were aimed at fixing these issues.

sabs-shep886 commented 2 years ago

ok i can try it but my minecraft version is 1.19.1, will that work?

sabs-shep886 commented 2 years ago

it works on single player, and by the way i absoloutely love this mod, would you mind if if used it on a server, ill give credit, of course

sabs-shep886 commented 2 years ago

Loading 52 mods: 9 | - advanced_runtime_resource_pack 0.6.2 via forgero 10 | - allstackable v1.5.6-1.19 11 | - camp_fires_cook_mobs 1.2.9 12 | - cloth-basic-math 0.6.1 via cloth-config 13 | - cloth-config 8.0.75 14 | - clumps 9.0.0+7 15 | - collective-fabric 4.36 16 | - combatedit 1.6.1 17 | - crowdin-translate 1.4+1.19 via camp_fires_cook_mobs 18 | - fabric-api 0.59.0+1.19.2 19 | - fabric-api-base 0.4.10+e62f51a390 via fabric-api 20 | - fabric-api-lookup-api-v1 1.6.8+9ff28f4090 via fabric-api 21 | - fabric-biome-api-v1 9.0.16+83a8659290 via fabric-api 22 | - fabric-command-api-v1 1.2.10+f71b366f90 via fabric-api 23 | - fabric-command-api-v2 2.1.6+0c17ea9690 via fabric-api 24 | - fabric-commands-v0 0.2.27+df3654b390 via fabric-api 25 | - fabric-containers-v0 0.1.33+df3654b390 via fabric-api 26 | - fabric-content-registries-v0 3.2.2+83a8659290 via fabric-api 27 | - fabric-convention-tags-v1 1.1.0+7cd20a1490 via fabric-api 28 | - fabric-crash-report-info-v1 0.2.4+bd0a0d4a90 via fabric-api 29 | - fabric-data-generation-api-v1 5.1.7+a680b9b490 via fabric-api 30 | - fabric-dimensions-v1 2.1.29+a6d2f78590 via fabric-api 31 | - fabric-entity-events-v1 1.4.17+9ff28f4090 via fabric-api 32 | - fabric-events-interaction-v0 0.4.27+9ff28f4090 via fabric-api 33 | - fabric-events-lifecycle-v0 0.2.27+df3654b390 via fabric-api 34 | - fabric-game-rule-api-v1 1.0.20+1899036190 via fabric-api 35 | - fabric-item-api-v1 1.5.6+35a03c4390 via fabric-api 36 | - fabric-item-groups-v0 0.3.27+6bee109e90 via fabric-api 37 | - fabric-lifecycle-events-v1 2.1.1+83a8659290 via fabric-api 38 | - fabric-loot-api-v2 1.1.2+83a8659290 via fabric-api 39 | - fabric-loot-tables-v1 1.1.5+9e7660c690 via fabric-api 40 | - fabric-message-api-v1 5.0.2+176380a290 via fabric-api 41 | - fabric-mining-level-api-v1 2.1.13+33fbc73890 via fabric-api 42 | - fabric-networking-api-v1 1.2.3+5eb68ef290 via fabric-api 43 | - fabric-networking-v0 0.3.20+df3654b390 via fabric-api 44 | - fabric-object-builder-api-v1 4.0.10+7675279690 via fabric-api 45 | - fabric-particles-v1 1.0.9+dc39553a90 via fabric-api 46 | - fabric-registry-sync-v0 0.9.23+23c4cfef90 via fabric-api 47 | - fabric-rendering-data-attachment-v1 0.3.13+9ff28f4090 via fabric-api 48 | - fabric-rendering-fluids-v1 3.0.6+9ff28f4090 via fabric-api 49 | - fabric-resource-conditions-api-v1 2.0.10+e62f51a390 via fabric-api 50 | - fabric-resource-loader-v0 0.6.0+6bee109e90 via fabric-api 51 | - fabric-screen-handler-api-v1 1.2.12+9ff28f4090 via fabric-api 52 | - fabric-transfer-api-v1 2.0.10+83a8659290 via fabric-api 53 | - fabric-transitive-access-wideners-v1 1.2.0+1e232e1390 via fabric-api 54 | - fabricloader 0.14.9 55 | - fantasy 0.4.6+1.19.2 via multiworld 56 | - fiber 0.23.0-2 via collective-fabric 57 | - forgero 0.9.5-BETA-1.19.2 58 | - java 17 59 | - minecraft 1.19.1 60 | - multiworld 1.5 61 | [12:40:50] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/server/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER 62 | [12:40:50] [main/INFO]: Compatibility level set to JAVA_17 63 | [12:40:52] [main/INFO]: I used the json to destroy the json 64 | [12:40:55] [main/INFO]: forgero.mixins.json:ItemUUIDMixin from mod forgero->@Accessor[FIELD_GETTER]::getATTACK_DAMAGE_MODIFIER_ID()Ljava/util/UUID; should be static as its target is 65 | [12:41:02] [main/INFO]: Building unoptimized datafixer 66 | [12:41:06] [main/INFO]: [All Stackable] Start loading! 67 | [12:41:06] [main/INFO]: [All Stackable] Command registered. 68 | [12:41:06] [main/INFO]: [STDOUT]: Loading Collective (Fabric) version 4.36. 69 | [12:41:06] [main/INFO]: [CombatEdit] Successfully initialized. 70 | [12:41:07] [main/INFO]: [STDOUT]: Multiworld init 71 | [12:41:07] [main/ERROR]: Failed to start the minecraft server 72 | java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'forgero'! 73 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.9.jar:?] 74 | at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.9.jar:?] 75 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.9.jar:?] 76 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.9.jar:?] 77 | at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.9.jar:?] 78 | at net.minecraft.server.Main.main(Main.java:101) [server-intermediary.jar:?] 79 | at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.9.jar:?] 80 | at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.9.jar:?] 81 | at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.9.jar:?] 82 | at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.9.jar:?] 83 | Caused by: java.util.NoSuchElementException: No value present 84 | at java.util.Optional.get(Optional.java:143) ~[?:?] 85 | at net.minecraft.class_1766.handler$zkd000$init(class_1766.java:1543) ~[server-intermediary.jar:?] 86 | at net.minecraft.class_1766.(class_1766.java:34) ~[server-intermediary.jar:?] 87 | at net.minecraft.class_1743.(class_1743.java:50) ~[server-intermediary.jar:?] 88 | at com.sigmundgranaas.forgero.item.items.tool.ForgeroAxeItem.(ForgeroAxeItem.java:35) ~[forgero-0.9.5-BETA-1.19.2.jar:?] 89 | at com.sigmundgranaas.forgero.item.implementation.ItemFactoryImpl.createTool(ItemFactoryImpl.java:46) ~[forgero-0.9.5-BETA-1.19.2.jar:?] 90 | at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] 91 | at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?] 92 | at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] 93 | at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] 94 | at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?] 95 | at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?] 96 | at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[?:?] 97 | at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) ~[?:?] 98 | at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) ~[?:?] 99 | at com.sigmundgranaas.forgero.registry.impl.ConcurrentForgeroItemRegistry.loadResources(ConcurrentForgeroItemRegistry.java:55) ~[forgero-0.9.5-BETA-1.19.2.jar:?] 100 | at com.sigmundgranaas.forgero.registry.impl.ConcurrentForgeroItemRegistry.loadResourcesIfEmpty(ConcurrentForgeroItemRegistry.java:68) ~[forgero-0.9.5-BETA-1.19.2.jar:?] 101 | at com.sigmundgranaas.forgero.ForgeroInitializer.onInitialize(ForgeroInitializer.java:30) ~[forgero-0.9.5-BETA-1.19.2.jar:?] 102 | at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.9.jar:?] 103 | ... 7 more 104


Loading 52 mods:

it did still crash though and it said the error is from line 71 onward.

sabs-shep886 commented 2 years ago

did it say on this it wont work on saves with the old veriosn installed ?

sabs-shep886 commented 2 years ago

it works on its own seperate server, maybe its clashing with one of the other mods?

sabs-shep886 commented 2 years ago

I believe i have found which mod it is that messes it up, it is https://www.curseforge.com/minecraft/mc-mods/combatedit

would it be possible to make them compatible or not, its fine if not i just prefer 1.8 pvp.

SigmundGranaas commented 2 years ago

did it say on this it wont work on saves with the old veriosn installed ?

It had some issues with old references, the game should not crash anymore, but tools from older saves won't be recognised. I strongly suggest backing up worlds before updating.

SigmundGranaas commented 2 years ago

I believe i have found which mod it is that messes it up, it is https://www.curseforge.com/minecraft/mc-mods/combatedit

would it be possible to make them compatible or not, its fine if not i just prefer 1.8 pvp.

Thanks for figuring out the incompatibility! I am currently away and can't debug anything myself right now. Compatability should be possible, I just have to create a patch for it. Use the mod wherever you like, I am just happy that you like the mod!

SigmundGranaas commented 2 years ago

I'll try to get a patch released as 0.9.6, but I don't know when I'll have time to work on it right now.

sabs-shep886 commented 2 years ago

Ok thank you very much even for thinking about it

On Fri, 12 Aug 2022, 18:17 Sigmund Granaas Sandring, < @.***> wrote:

I'll try to get a patch released as 0.9.6, but I don't know when I'll have time to work on it right now.

— Reply to this email directly, view it on GitHub https://github.com/SigmundGranaas/forgero/issues/193#issuecomment-1213341616, or unsubscribe https://github.com/notifications/unsubscribe-auth/APY4CZ7TOZ5LVFTXT33P4PDVY2BLXANCNFSM56FGOKUQ . You are receiving this because you authored the thread.Message ID: @.***>

sabs-shep886 commented 2 years ago

Also am I alright to use this on my server?

On Fri, 12 Aug 2022, 18:39 sabs fun, @.***> wrote:

Ok thank you very much even for thinking about it

On Fri, 12 Aug 2022, 18:17 Sigmund Granaas Sandring, < @.***> wrote:

I'll try to get a patch released as 0.9.6, but I don't know when I'll have time to work on it right now.

— Reply to this email directly, view it on GitHub https://github.com/SigmundGranaas/forgero/issues/193#issuecomment-1213341616, or unsubscribe https://github.com/notifications/unsubscribe-auth/APY4CZ7TOZ5LVFTXT33P4PDVY2BLXANCNFSM56FGOKUQ . You are receiving this because you authored the thread.Message ID: @.***>

SigmundGranaas commented 2 years ago

Yeah, you can do whatever you want!

SigmundGranaas commented 2 years ago

I fixed the issue. Both mods can work together now. I have not done extensive testing of the features for the mod, but atleast they run. I looked through the code, and we are both making a lot of changes to core mechanics on tools and weapons. There are fundamental differences to how the mods handles attributes which might cause breaking issues in certain configurations of tools. I can't promise I will be able to fix these issues, but hey, atleast it runs :)

If you want to help doing some testing of the new Forgero 0.9.6-1.19.2 to verify this mod runs as expected, that would be great! The patch should be out later today.

sabs-shep886 commented 2 years ago

Thank you so much :-), i know you can't see it but im smiling right now.

sabs-shep886 commented 2 years ago

yeah, I would be happy to help do some testing

SigmundGranaas commented 2 years ago

yeah, I would be happy to help do some testing

Just report errors if you find any. I don't have the time to test compat thoroughly, so I appreciate all the time people spent helping me with that :)