crash with forge-1.17.1-37.0.108
wailhorn opened this issue ยท 10 comments
ProductiveBees_0.7.0.8_1.17.1
ProductiveBees_0.7.0.9_1.17.1
ProductiveBees_0.7.0.10_1.17.1
ProductiveBees_0.7.0.11_1.17.1
crash with forge-1.17.1-37.0.108
@EDFDarkAngel1 you're using optifine which is only compatible with Forge 37.0.103
Try without optifine first or the correct version of forge for that version of optifine
I am getting the same problem. If I remove nothing else but productivebees-1.17.1-0.7.0.11.jar, it loads successfully. Here is my log:
[18:13:04] [main/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 37.0.109, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038]
[18:13:04] [main/INFO]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 17.0.1 by Oracle Corporation
[18:13:05] [main/INFO]: OptiFineTransformationService.onLoad
[18:13:05] [main/INFO]: OptiFine ZIP file URL: union:/C:/Users/Dave/Documents/Minecraft%20Server/mods/OptiFine_1.17.1_HD_U_H1.jar%2324!
[18:13:05] [main/INFO]: OptiFine ZIP file: C:\Users\Dave\Documents\Minecraft Server\mods\OptiFine_1.17.1_HD_U_H1.jar
[18:13:05] [main/INFO]: Target.PRE_CLASS is available
[18:13:05] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Users/Dave/Documents/Minecraft%20Server/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar%2318! Service=ModLauncher Env=SERVER
[18:13:05] [main/INFO]: OptiFineTransformationService.initialize
[18:13:05] [main/INFO]: Found mod file AmbientSounds_v4.0.4_mc1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file appleskin-forge-mc1.17.1-2.2.0.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file Aquaculture-1.17.1-2.2.4.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file balm-1.8.0+0.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file BiomesOPlenty-1.17.1-14.0.0.36-universal.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file cfm-7.0.0pre25-1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file Clumps-forge-1.17.1-7.0.10.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file CraftableHorseArmour-1.17.1-1.6.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file CreativeCore_v2.3.0_mc1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file Fallingleaves-1.17.1-1.2.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file farmingforblockheads-8.0.0+0.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file FastLeafDecay-26.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file gravestone-1.17.1-1.0.4.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file ironchest-1.17.1-12.0.2.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file jei-1.17.1-8.2.0.34.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file journeymap-1.17.1-5.7.3.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file JustEnoughResources-1.17.1-0.13.0.131.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file mcw-bridges-2.0.0-mc1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file mcw-doors-1.0.4-mc1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file mcw-fences-1.0.1-mc1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file mcw-trapdoors-1.0.3-mc1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file mcw-windows-2.0.1-mc1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file morevillagers-FORGE-1.17-2.1.1.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file NaturesCompass-1.17.1-1.9.2-forge.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file pamhc2foodcore-1.17.1-1.0.0.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file productivebees-1.17.1-0.7.0.11.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file SereneSeasons-1.17.1-5.0.0.6-universal.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file supermartijn642corelib-1.0.14-mc1.17.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file trashcans-1.0.10a-mc1.17.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file waystones-8.2.0+0.jar of type MOD with locator {mods folder locator at C:\Users\Dave\Documents\Minecraft Server\mods}
[18:13:05] [main/INFO]: Found mod file fmlcore-1.17.1-37.0.109.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@60f7cc1d
[18:13:05] [main/INFO]: Found mod file javafmllanguage-1.17.1-37.0.109.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@60f7cc1d
[18:13:05] [main/INFO]: Found mod file mclanguage-1.17.1-37.0.109.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@60f7cc1d
[18:13:05] [main/INFO]: Found mod file server-1.17.1-20210706.113038-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@60f7cc1d
[18:13:05] [main/INFO]: Found mod file forge-1.17.1-37.0.109-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@60f7cc1d
[18:13:06] [main/INFO]: OptiFineTransformationService.transformers
[18:13:06] [main/INFO]: Targets: 336
[18:13:06] [main/INFO]: additionalClassesLocator: [optifine., net.optifine.]
[18:13:06] [main/ERROR]: Mixin config clumps.mixins.json does not specify "minVersion" property
[18:13:06] [main/INFO]: Launching target 'forgeserver' with arguments []
[18:13:13] [modloading-worker-0/WARN]: Falling Leaves is a client only mod and should be removed from the mods list
[18:13:13] [modloading-worker-0/INFO]: Forge mod loading, version 37.0.109, for MC 1.17.1 with MCP 20210706.113038
[18:13:13] [modloading-worker-0/INFO]: MinecraftForge v37.0.109 Initialized
[18:13:18] [main/INFO]: Potentially Dangerous alternative prefix minecraft
for name milk
, expected forge
. This could be a intended override, but in most cases indicates a broken mod.
[18:13:18] [main/INFO]: Potentially Dangerous alternative prefix minecraft
for name flowing_milk
, expected forge
. This could be a intended override, but in most cases indicates a broken mod.
[18:13:19] [Forge Version Check/INFO]: [mcwbridges] Starting version check at https://raw.githubusercontent.com/sketchmacaw/macawsmods/master/bridges.json
[18:13:19] [main/INFO]: Initializing Packet Registries
[18:13:19] [Forge Version Check/WARN]: Failed to process update information
com.google.gson.JsonSyntaxException: duplicate key: 1.17.1
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:190) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:887) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:852) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:801) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:773) ~[gson-2.8.0.jar%2321!:?]
at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:177) ~[fmlcore-1.17.1-37.0.109.jar%2357!:?]
at java.lang.Iterable.forEach(Iterable.java:75) [?:?]
at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:119) [fmlcore-1.17.1-37.0.109.jar%2357!:?]
[18:13:20] [Forge Version Check/INFO]: [mcwtrpdoors] Starting version check at https://raw.githubusercontent.com/sketchmacaw/macawsmods/master/trapdoors.json
[18:13:20] [Forge Version Check/INFO]: [mcwtrpdoors] Found status: UP_TO_DATE Current: 1.0.3 Target: null
[18:13:20] [Forge Version Check/INFO]: [mcwfences] Starting version check at https://github.com/sketchmacaw/macawsmods/blob/master/fences.json
[18:13:20] [Forge Version Check/WARN]: Failed to process update information
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 7 column 1 path $
at com.google.gson.Gson.fromJson(Gson.java:899) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:852) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:801) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:773) ~[gson-2.8.0.jar%2321!:?]
at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:177) ~[fmlcore-1.17.1-37.0.109.jar%2357!:?]
at java.lang.Iterable.forEach(Iterable.java:75) [?:?]
at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:119) [fmlcore-1.17.1-37.0.109.jar%2357!:?]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 7 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[gson-2.8.0.jar%2321!:?]
at com.google.gson.Gson.fromJson(Gson.java:887) ~[gson-2.8.0.jar%2321!:?]
... 6 more
[18:13:20] [Forge Version Check/INFO]: [mcwwindows] Starting version check at https://raw.githubusercontent.com/sketchmacaw/macawsmods/master/window.json
[18:13:20] [Forge Version Check/INFO]: [mcwwindows] Found status: UP_TO_DATE Current: 2.0.1 Target: null
[18:13:20] [Forge Version Check/INFO]: [gravestone] Starting version check at https://maxhenkel.de/update/gravestone.json
[18:13:21] [Forge Version Check/INFO]: [gravestone] Found status: UP_TO_DATE Current: 1.17.1-1.0.4 Target: null
[18:13:21] [Forge Version Check/INFO]: [clumps] Starting version check at https://updates.blamejared.com/get?n=clumps&gv=1.17.1
[18:13:22] [Forge Version Check/INFO]: [clumps] Found status: BETA Current: 7.0.10 Target: 7.0.10
[18:13:22] [Forge Version Check/INFO]: [mcwdoors] Starting version check at https://raw.githubusercontent.com/sketchmacaw/macawsmods/master/doors.json
[18:13:22] [Forge Version Check/INFO]: [mcwdoors] Found status: UP_TO_DATE Current: 1.0.4 Target: null
[18:13:22] [Forge Version Check/INFO]: [cfm] Starting version check at https://mrcrayfish.com/modupdatejson?id=cfm
[18:13:22] [Forge Version Check/INFO]: [cfm] Found status: BETA Current: 7.0.0-pre25 Target: 7.0.0-pre25
[18:13:22] [Forge Version Check/INFO]: [productivebees] Starting version check at https://raw.githubusercontent.com/JDKDigital/productive-bees/dev-1.17.1/versions.json
[18:13:22] [Forge Version Check/INFO]: [productivebees] Found status: AHEAD Current: 1.17.1-0.7.0.11 Target: null
[18:13:22] [Forge Version Check/INFO]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json
[18:13:23] [Forge Version Check/INFO]: [forge] Found status: BETA Current: 37.0.109 Target: 37.0.109
[18:13:27] [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:13:27] [main/WARN]: Assets URL 'union:/C:/Users/Dave/Documents/Minecraft%20Server/libraries/net/minecraft/server/1.17.1-20210706.113038/server-1.17.1-20210706.113038-srg.jar%2356!/assets/.mcassetsroot' uses unexpected schema
[18:13:27] [main/WARN]: Assets URL 'union:/C:/Users/Dave/Documents/Minecraft%20Server/libraries/net/minecraft/server/1.17.1-20210706.113038/server-1.17.1-20210706.113038-srg.jar%2356!/data/.mcassetsroot' uses unexpected schema
[18:13:28] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[18:13:28] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[18:13:28] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[18:13:28] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[18:13:28] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[18:13:28] [main/WARN]: Ambiguity between arguments [waypoint, create, name, dimension, location, color, announce] and [waypoint, create, name, dimension, location, color, player] with inputs: [true, false]
[18:13:28] [main/WARN]: Ambiguity between arguments [waypoint, delete, name, announce] and [waypoint, delete, name, player] with inputs: [true, false]
[18:13:28] [main/INFO]: Reloading ResourceManager: Default, mcw-bridges-2.0.0-mc1.17.1.jar, morevillagers-FORGE-1.17-2.1.1.jar, AmbientSounds_v4.0.4_mc1.17.1.jar, BiomesOPlenty-1.17.1-14.0.0.36-universal.jar, CreativeCore_v2.3.0_mc1.17.1.jar, mcw-trapdoors-1.0.3-mc1.17.1.jar, mcw-fences-1.0.1-mc1.17.1.jar, jei-1.17.1-8.2.0.34.jar, supermartijn642corelib-1.0.14-mc1.17.jar, mcw-windows-2.0.1-mc1.17.1.jar, waystones-8.2.0+0.jar, pamhc2foodcore-1.17.1-1.0.0.jar, gravestone-1.17.1-1.0.4.jar, Fallingleaves-1.17.1-1.2.1.jar, Clumps-forge-1.17.1-7.0.10.jar, journeymap-1.17.1-5.7.3.jar, NaturesCompass-1.17.1-1.9.2-forge.jar, SereneSeasons-1.17.1-5.0.0.6-universal.jar, farmingforblockheads-8.0.0+0.jar, mcw-doors-1.0.4-mc1.17.1.jar, cfm-7.0.0pre25-1.17.1.jar, balm-1.8.0+0.jar, trashcans-1.0.10a-mc1.17.jar, JustEnoughResources-1.17.1-0.13.0.131.jar, CraftableHorseArmour-1.17.1-1.6.jar, forge-1.17.1-37.0.109-universal.jar, appleskin-forge-mc1.17.1-2.2.0.jar, Aquaculture-1.17.1-2.2.4.jar, FastLeafDecay-26.jar, ironchest-1.17.1-12.0.2.jar, productivebees-1.17.1-0.7.0.11.jar
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:upgrades/copper_to_iron_chest_upgrade as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:chests/silver_diamond_chest as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:chests/vanilla_copper_chest as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:chests/silver_gold_chest as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:upgrades/copper_to_silver_chest_upgrade as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:upgrades/wood_to_copper_chest_upgrade as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:chests/iron_silver_chest as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:upgrades/silver_to_gold_chest_upgrade as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:chests/copper_iron_chest as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Skipping loading recipe ironchest:chests/copper_silver_chest as it's serializer returned null
[18:13:31] [Worker-Main-14/INFO]: Loaded 18 recipes
[18:13:31] [Worker-Main-14/ERROR]: Exception caught during firing event: f_79023_
Index: 2
Listeners:
0: NORMAL
1: ASM: class com.teammetallurgy.aquaculture.init.AquaLootTables onLootTableLoad(Lnet/minecraftforge/event/LootTableLoadEvent;)V
2: ASM: class cy.jdkdigital.productivebees.event.EventHandler onLootSetup(Lnet/minecraftforge/event/LootTableLoadEvent;)V
java.lang.NoSuchFieldError: f_79023_
at TRANSFORMER/[email protected]/cy.jdkdigital.productivebees.event.EventHandler.onLootSetup(EventHandler.java:95)
at net.minecraftforge.eventbus.ASMEventHandler_80_EventHandler_onLootSetup_LootTableLoadEvent.invoke(.dynamic)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at TRANSFORMER/[email protected]/net.minecraftforge.event.ForgeEventFactory.loadLootTable(ForgeEventFactory.java:638)
at TRANSFORMER/[email protected]/net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:815)
at TRANSFORMER/[email protected]/net.minecraft.world.level.storage.loot.LootTables.lambda$apply$0(LootTables.java:41)
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
at TRANSFORMER/[email protected]/net.minecraft.world.level.storage.loot.LootTables.m_5787_(LootTables.java:39)
at TRANSFORMER/[email protected]/net.minecraft.world.level.storage.loot.LootTables.m_5787_(LootTables.java:17)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimplePreparableReloadListener.m_10789_(SourceFile:13)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70)
at java.base/java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70)
at java.base/java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70)
at java.base/java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70)
at java.base/java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance$1.m_10855_(SourceFile:53)
at TRANSFORMER/[email protected]/net.minecraft.server.packs.resources.SimpleReloadInstance$1.m_6769_(SourceFile:50)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[18:13:31] [main/WARN]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.NoSuchFieldError: f_79023_
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at net.minecraft.server.Main.main(Main.java:141) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
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.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:46) ~[fmlloader-1.17.1-37.0.109.jar%2322!:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?]
Caused by: java.lang.NoSuchFieldError: f_79023_
at cy.jdkdigital.productivebees.event.EventHandler.onLootSetup(EventHandler.java:95) ~[productivebees-1.17.1-0.7.0.11.jar%2350!:1.17.1-0.7.0.11]
at net.minecraftforge.eventbus.ASMEventHandler_80_EventHandler_onLootSetup_LootTableLoadEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!:?]
at net.minecraftforge.event.ForgeEventFactory.loadLootTable(ForgeEventFactory.java:638) ~[forge-1.17.1-37.0.109-universal.jar%2360!:?]
at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:815) ~[forge-1.17.1-37.0.109-universal.jar%2360!:?]
at net.minecraft.world.level.storage.loot.LootTables.lambda$apply$0(LootTables.java:41) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
at net.minecraft.world.level.storage.loot.LootTables.m_5787_(LootTables.java:39) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at net.minecraft.world.level.storage.loot.LootTables.m_5787_(LootTables.java:17) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at net.minecraft.server.packs.resources.SimplePreparableReloadListener.m_10789_(SourceFile:13) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance$1.m_10855_(SourceFile:53) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance$1.m_6769_(SourceFile:50) ~[server-1.17.1-20210706.113038-srg.jar%2356!:?]
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Having the same issue not using optifine. If I update to the new forge the pack fails to load. If I disable just this mod it loads fine. Here is the log with forge 37.0.103 and only Productive Bees installed. https://pastebin.com/7wQd2X35
I know and I'm working on it, it just won't register my serializer. If you happen to know what this junk is, don't hesitate to enlighten me :)
[22:35:45] [Render thread/ERROR]: Couldn't parse loot modifier productivebees:village_chest_sturdy_cage
java.lang.NullPointerException: Cannot invoke "net.minecraftforge.common.loot.GlobalLootModifierSerializer.read(net.minecraft.resources.ResourceLocation, com.google.gson.JsonObject, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[])" because the return value of "net.minecraftforge.registries.IForgeRegistry.getValue(net.minecraft.resources.ResourceLocation)" is null
This is caused by the fact that this mod still uses the outdated LootTableLoadEvent
to modify loot tables instead of global loot modifiers, which have been the recommended way since 1.16.
Instead of hacking into the loot tables using access transformers, a GLM should be used.
The event handler never runs, because RegistryEvent.Register
is fired on the mod bus, but the class is registered to the forge event bus using @EventBusSubscriber
. I would recommend using DeferredRegister
for your registrations.
DeferredRegister
is definitely my preffered route as well. It's quiet now, but I can't find my item in the chest.
Conditions are combined using and
by default. Since a loot table will never have two IDs at once, your modifier is never applied. Use the minecraft:alternative
condition for an or
combination (see the Minecraft Wiki).
Conditions are combined using
and
by default. Since a loot table will never have two IDs at once, your modifier is never applied. Use theminecraft:alternative
condition for anor
combination (see the Minecraft Wiki).
Thanks for the assist, got it working now.