Jump to content

Forge tags crashes the game with vanilla server


Recommended Posts

Some craft recipes try load forge tags like "forge:dyes" or "forge:fences/wooden". But vanilla doesn`t known about this tags and minecraft is crashed when it uses these tags.
The logs contain the following errors:
 

Quote

[16:44:11] [Render thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: Tag forge:fences/wooden used before it was bound
    Index: 1
    Listeners:
        0: NORMAL
        1: ASM: net.minecraftforge.common.ForgeInternalHandler@1b1f6646 tagsUpdated(Lnet/minecraftforge/event/TagsUpdatedEvent;)V
java.lang.IllegalStateException: Tag forge:fences/wooden used before it was bound
    at net.minecraft.tags.TagRegistry$NamedTag.func_232944_c_(TagRegistry.java:77)
    at net.minecraft.tags.TagRegistry$NamedTag.func_230236_b_(TagRegistry.java:92)
    at net.minecraft.tileentity.AbstractFurnaceTileEntity.addItemTagBurnTime(AbstractFurnaceTileEntity.java:155)
    at net.minecraft.tileentity.AbstractFurnaceTileEntity.getBurnTimes(AbstractFurnaceTileEntity.java:108)
    at net.minecraftforge.common.ForgeHooks.updateBurns(ForgeHooks.java:1163)
    at net.minecraftforge.common.ForgeInternalHandler.tagsUpdated(ForgeInternalHandler.java:110)
    at net.minecraftforge.eventbus.ASMEventHandler_9_ForgeInternalHandler_tagsUpdated_TagsUpdatedEvent.invoke(.dynamic)
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
    at net.minecraft.tags.NetworkTagManager.func_232980_f_(NetworkTagManager.java:89)
    at net.minecraft.client.network.play.ClientPlayNetHandler.handleTags(ClientPlayNetHandler.java:1582)
    at net.minecraft.network.play.server.STagsListPacket.processPacket(STagsListPacket.java:39)
    at net.minecraft.network.play.server.STagsListPacket.processPacket(STagsListPacket.java:11)
    at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19)
    at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:139)
    at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22)
    at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:109)
    at net.minecraft.util.concurrent.ThreadTaskExecutor.drainTasks(ThreadTaskExecutor.java:97)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:958)
    at net.minecraft.client.Minecraft.run(Minecraft.java:586)
    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)

[16:44:11] [Render thread/FATAL] [minecraft/ThreadTaskExecutor]: Error executing task on Client
java.lang.IllegalStateException: Tag forge:fences/wooden used before it was bound
    at net.minecraft.tags.TagRegistry$NamedTag.func_232944_c_(TagRegistry.java:77) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.tags.TagRegistry$NamedTag.func_230236_b_(TagRegistry.java:92) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.tileentity.AbstractFurnaceTileEntity.addItemTagBurnTime(AbstractFurnaceTileEntity.java:155) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.tileentity.AbstractFurnaceTileEntity.getBurnTimes(AbstractFurnaceTileEntity.java:108) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraftforge.common.ForgeHooks.updateBurns(ForgeHooks.java:1163) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraftforge.common.ForgeInternalHandler.tagsUpdated(ForgeInternalHandler.java:110) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_9_ForgeInternalHandler_tagsUpdated_TagsUpdatedEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-2.2.0-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-2.2.0-service.jar:?] {}
    at net.minecraft.tags.NetworkTagManager.func_232980_f_(NetworkTagManager.java:89) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.client.network.play.ClientPlayNetHandler.handleTags(ClientPlayNetHandler.java:1582) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.network.play.server.STagsListPacket.processPacket(STagsListPacket.java:39) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.network.play.server.STagsListPacket.processPacket(STagsListPacket.java:11) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:139) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:109) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.drainTasks(ThreadTaskExecutor.java:97) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:958) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.run(Minecraft.java:586) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231] {}
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231] {}
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.jar:?] {}
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {}
 

Quote

[16:44:17] [Render thread/FATAL] [minecraft/Minecraft]: Reported exception thrown!
net.minecraft.crash.ReportedException: Container click
    at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:428) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.mouseButtonCallback(MouseHelper.java:90) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.lambda$null$4(MouseHelper.java:185) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(ThreadTaskExecutor.java:86) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.client.MouseHelper.lambda$registerCallbacks$5(MouseHelper.java:184) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {}
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:93) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MainWindow.flipFrame(MainWindow.java:304) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1007) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.run(Minecraft.java:586) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231] {}
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231] {}
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.jar:?] {}
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {}
Caused by: java.lang.IllegalStateException: Tag forge:dyes used before it was bound
    at net.minecraft.tags.TagRegistry$NamedTag.func_232944_c_(TagRegistry.java:77) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.tags.TagRegistry$NamedTag.func_230235_a_(TagRegistry.java:88) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.item.Item.isIn(Item.java:445) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.item.crafting.ShulkerBoxColoringRecipe.matches(ShulkerBoxColoringRecipe.java:31) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.item.crafting.ShulkerBoxColoringRecipe.matches(ShulkerBoxColoringRecipe.java:13) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.item.crafting.IRecipeType.matches(IRecipeType.java:27) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.item.crafting.RecipeManager.lambda$getRecipe$2(RecipeManager.java:82) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) ~[?:1.8.0_231] {}
    at java.util.HashMap$ValueSpliterator.tryAdvance(HashMap.java:1649) ~[?:1.8.0_231] {}
    at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[?:1.8.0_231] {}
    at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499) ~[?:1.8.0_231] {}
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486) ~[?:1.8.0_231] {}
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_231] {}
    at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) ~[?:1.8.0_231] {}
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_231] {}
    at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) ~[?:1.8.0_231] {}
    at net.minecraft.item.crafting.RecipeManager.getRecipe(RecipeManager.java:83) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.item.crafting.RecipeManager.getRecipeNonNull(RecipeManager.java:105) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.inventory.container.CraftingResultSlot.onTake(CraftingResultSlot.java:72) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.inventory.container.Container.func_241440_b_(Container.java:311) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.inventory.container.Container.slotClick(Container.java:179) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading}
    at net.minecraft.client.multiplayer.PlayerController.windowClick(PlayerController.java:410) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.handleMouseClick(ContainerScreen.java:558) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.CraftingScreen.handleMouseClick(CraftingScreen.java:94) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_231044_a_(ContainerScreen.java:352) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.CraftingScreen.func_231044_a_(CraftingScreen.java:81) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:92) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:421) ~[forge-1.16.1-32.0.7_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    ... 23 more

It's happens only on vanilla server. I used mdk to get more detailed information about the error and to debug the client, but I only found that there are no tags when connecting to the vanilla server.

Link to comment
Share on other sites

This is a known issue with tags and dedicated servers. Check this PR: https://github.com/MinecraftForge/MinecraftForge/pull/6876.

Also, can you please clarify for me: you used the vanilla server, and connected using a Forge client, yes? And then you used the MDK to recreate the issue?

 

Forge 1.16.1 is currently in BETA. Crashes and bugs are expected to occur while the Forge team is fixing what broke during the update.

Link to comment
Share on other sites

5 minutes ago, sciwhiz12 said:

This is a known issue with tags and dedicated servers. Check this PR: https://github.com/MinecraftForge/MinecraftForge/pull/6876.

Also, can you please clarify for me: you used the vanilla server, and connected using a Forge client, yes? And then you used the MDK to recreate the issue?

 

Forge 1.16.1 is currently in BETA. Crashes and bugs are expected to occur while the Forge team is fixing what broke during the update.

Yes. I used inventory sorting mod on client when playing on vanilla server.
Since the mod was written by myself, there was a chance that the reason for the crash was in it.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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