Jump to content

Recommended Posts

Posted

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 27.06.20 20:40
Description: Container click

java.lang.IllegalStateException: Tag forge:gems/lapis used before it was bound
    at net.minecraft.tags.TagRegistry$NamedTag.func_232944_c_(TagRegistry.java:77) ~[?:?] {re:classloading}
    at net.minecraft.tags.TagRegistry$NamedTag.func_230235_a_(TagRegistry.java:88) ~[?:?] {re:classloading}
    at net.minecraft.inventory.container.EnchantmentContainer$3.func_75214_a(EnchantmentContainer.java:59) ~[?:?] {re:classloading}
    at net.minecraft.inventory.container.Container.func_241440_b_(Container.java:272) ~[?:?] {re:classloading}
    at net.minecraft.inventory.container.Container.func_184996_a(Container.java:160) ~[?:?] {re:classloading}
    at net.minecraft.client.multiplayer.PlayerController.func_187098_a(PlayerController.java:380) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_184098_a(ContainerScreen.java:539) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_231048_c_(ContainerScreen.java:509) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$1(MouseHelper.java:93) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$3837/518261596.run(Unknown Source) ~[?:?] {}
    at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:421) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:91) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.lambda$null$4(MouseHelper.java:175) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$3816/888000613.run(Unknown Source) ~[?:?] {}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(SourceFile:94) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.client.MouseHelper.lambda$registerCallbacks$5(MouseHelper.java:174) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$3396/2058879732.invoke(Unknown Source) ~[?:?] {}
    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(SourceFile:102) ~[?:?] {re:classloading}
    at net.minecraft.client.MainWindow.func_227802_e_(MainWindow.java:304) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:970) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:581) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.1-32.0.23.jar:32.0] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$406/1713605602.call(Unknown Source) [forge-1.16.1-32.0.23.jar:32.0] {}
    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:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.tags.TagRegistry$NamedTag.func_232944_c_(TagRegistry.java:77)
    at net.minecraft.tags.TagRegistry$NamedTag.func_230235_a_(TagRegistry.java:88)
    at net.minecraft.inventory.container.EnchantmentContainer$3.func_75214_a(EnchantmentContainer.java:59)
    at net.minecraft.inventory.container.Container.func_241440_b_(Container.java:272)

-- Click info --
Details:
    Menu Type: minecraft:enchantment
    Menu Class: net.minecraft.inventory.container.EnchantmentContainer
    Slot Count: 38
    Slot: 1
    Button: 0
    Type: PICKUP
Stacktrace:
    at net.minecraft.inventory.container.Container.func_184996_a(Container.java:160)
    at net.minecraft.client.multiplayer.PlayerController.func_187098_a(PlayerController.java:380)
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_184098_a(ContainerScreen.java:539)
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_231048_c_(ContainerScreen.java:509)
    at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$1(MouseHelper.java:93)
    at net.minecraft.client.MouseHelper$$Lambda$3837/518261596.run(Unknown Source)

-- Affected screen --
Details:
    Screen name: net.minecraft.client.gui.screen.EnchantmentScreen
Stacktrace:
    at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:421)
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:91)
    at net.minecraft.client.MouseHelper.lambda$null$4(MouseHelper.java:175)
    at net.minecraft.client.MouseHelper$$Lambda$3816/888000613.run(Unknown Source)
    at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(SourceFile:94)
    at net.minecraft.client.MouseHelper.lambda$registerCallbacks$5(MouseHelper.java:174)
    at net.minecraft.client.MouseHelper$$Lambda$3396/2058879732.invoke(Unknown Source)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:102)

-- Affected level --
Details:
    All players: 1 total; [ClientPlayerEntity['DarKAngeL536'/40074, l='ClientLevel', x=-234.10, y=61.00, z=488.58]]
    Chunk stats: Client Chunk Cache: 729, 459
    Level dimension: minecraft:overworld
    Level spawn location: World: (29,69,342), Chunk: (at 13,4,6 in 1,21; contains blocks 16,0,336 to 31,255,351), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 21961266 game time, 4239212 day time
    Server brand: Spigot
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:445)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1976)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:597)
    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:497)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$406/1713605602.call(Unknown Source)
    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)

-- System Details --
Details:
    Minecraft Version: 1.16.1
    Minecraft Version ID: 1.16.1
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 7510324168 bytes (7162 MB) / 8589934592 bytes (8192 MB) up to 8589934592 bytes (8192 MB)
    CPUs: 16
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 5.1.0+69+master.79f13f7
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-2.2.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.16.1-32.0.23.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.16.1-32.0.23.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-2.1.1-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.16.1-32.0.23.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.16.1-32.0.23.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.16.1-32.0.23.jar fml TRANSFORMATIONSERVICE 
    FML: 32.0
    Forge: net.minecraftforge:32.0.23
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        forge-1.16.1-32.0.23-client.jar Minecraft {[email protected] DONE}
        forge-1.16.1-32.0.23-universal.jar Forge {[email protected] DONE}
    Launched Version: 1.16.1-forge-32.0.23
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 451.48, NVIDIA Corporation
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Resource Packs: vanilla
    Current Language: Deutsch (Deutschland)
    CPU: 16x AMD Ryzen 7 3800X 8-Core Processor 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi everyone, I'm currently developing a Forge 1.21 mod for Minecraft and I want to display a custom HUD overlay for a minigame. My goal: When the game starts, all players should see an item/block icon (from the base game, not a custom texture) plus its name/text in the HUD – similar to how the bossbar overlay works. The HUD should appear centered above the hotbar (or at a similar prominent spot), and update dynamically (icon and name change as the target item changes). What I've tried: I looked at many online tutorials and several GitHub repos (e.g. SeasonHUD, MiniHUD), but most of them use NeoForge or Forge versions <1.20 that provide the IGuiOverlay API (e.g. implements IGuiOverlay, RegisterGuiOverlaysEvent). In Forge 1.21, it seems that neither IGuiOverlay nor RegisterGuiOverlaysEvent exist anymore – at least, I can't import them and they are missing from the docs and code completion. I tried using RenderLevelStageEvent as a workaround but it is probably not intended for custom HUDs. I am not using NeoForge, and switching the project to NeoForge is currently not an option for me. I tried to look at the original minecraft source code to see how elements like hearts, hotbar etc are drawn on the screen but I am too new to Minecraft modding to understand. What I'm looking for: What is the correct way to add a custom HUD element (icon + text) in Forge 1.21, given that the previous overlay API is missing? Is there a new recommended event, callback, or method in Forge 1.21 for custom HUD overlays, or is everyone just using a workaround? Is there a minimal open-source example repo for Forge 1.21 that demonstrates a working HUD overlay without relying on NeoForge or deprecated Forge APIs? My ideal solution: Centered HUD element with an in-game item/block icon (from the base game's assets, e.g. a diamond or any ItemStack / Item) and its name as text, with a transparent background rectangle. It should be visible to the players when the mini game is running. Easy to update the item (e.g. static variable or other method), so it can change dynamically during the game. Any help, code snippets, or up-to-date references would be really appreciated! If this is simply not possible right now in Forge 1.21, it would also help to know that for sure. Thank you very much in advance!
    • The simple answer is there is not an easy way. You would need to know how to program in Java, as well as at least some familiarity with how Forge works so you could port the differences. You would also need the sourcecode for the original mod, and permission from the author to modify it, if they did not use some sort of open source license. So it's not impossible, but it would take some effort, but doing so would open up a whole new world of possibilities for you!
    • Does it still crash if you remove holdmyitems? Looks like that mod doesn't work on a server as far as I can tell from the error.  
    • Crashes the server when trying to start. Error code -1. Log  
  • Topics

×
×
  • Create New...

Important Information

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