mrshmllow / BetterRecipeBook

Adds brewing, smithing, and QOL changes to the vanilla recipe book!
https://curseforge.com/minecraft/mc-mods/brb
MIT License
21 stars 8 forks source link

[Bug]: Game Crashes when scrolling in inventory while the recipe book is empty #137

Open kkellogg378 opened 6 months ago

kkellogg378 commented 6 months ago

What happened?

When BRB is installed on the client, with recipe book scrolling enabled, scrolling in the inventory while the recipe book is empty crashes the game. I noticed the issue while playing on a fabric server with the 1.21 and bundles datapacks enabled, incase that information is useful.

Modloader

Fabric (Default)

Minecraft Version

1.20.4

Mod Version

1.10.0

Relevant log output

[14:38:54] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.class_148: Rendering screen
    at net.minecraft.class_757.method_3192(class_757.java:940) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1327) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:888) ~[client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:265) ~[minecraft-1.20.4-client.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.11.jar:?]
    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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) ~[NewLaunch.jar:?]
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) ~[NewLaunch.jar:?]
    at org.multimc.EntryPoint.listen(EntryPoint.java:143) ~[NewLaunch.jar:?]
    at org.multimc.EntryPoint.main(EntryPoint.java:34) ~[NewLaunch.jar:?]
Caused by: java.lang.IndexOutOfBoundsException: Index -20 out of bounds for length 0
    at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
    at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
    at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
    at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
    at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
    at net.minecraft.class_513.method_2625(class_513.java:99) ~[client-intermediary.jar:?]
    at net.minecraft.class_513.handler$zig000$brb$render(class_513.java:2062) ~[client-intermediary.jar:?]
    at net.minecraft.class_513.method_2634(class_513.java) ~[client-intermediary.jar:?]
    at net.minecraft.class_507.method_25394(class_507.java:304) ~[client-intermediary.jar:?]
    at net.minecraft.class_479.method_25394(class_479.java:59) ~[client-intermediary.jar:?]
    at net.minecraft.class_437.method_47413(class_437.java:110) ~[client-intermediary.jar:?]
    at net.minecraft.class_757.mixinextras$bridge$method_47413$267(class_757.java) ~[client-intermediary.jar:?]
    at net.minecraft.class_757.wrapOperation$bhg000$fabric-screen-api-v1$onRenderScreen(class_757.java:2611) ~[client-intermediary.jar:?]
    at net.minecraft.class_757.method_3192(class_757.java:931) ~[client-intermediary.jar:?]
    ... 14 more
[14:38:54] [Render thread/FATAL]: Minecraft ran into a problem! Report saved to: C:\MultiMC\instances\1.20.4 Modded\.minecraft\crash-reports\crash-2024-05-12_14.38.54-client.txt
---- Minecraft Crash Report ----
// There are four lights!

Time: 2024-05-12 14:38:54
Description: Rendering screen

java.lang.IndexOutOfBoundsException: Index -20 out of bounds for length 0
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
    at java.base/java.util.Objects.checkIndex(Objects.java:359)
    at java.base/java.util.ArrayList.get(ArrayList.java:427)
    at net.minecraft.class_513.method_2625(class_513.java:99)
    at net.minecraft.class_513.handler$zig000$brb$render(class_513.java:2062)
    at net.minecraft.class_513.method_2634(class_513.java)
    at net.minecraft.class_507.method_25394(class_507.java:304)
    at net.minecraft.class_479.method_25394(class_479.java:59)
    at net.minecraft.class_437.method_47413(class_437.java:110)
    at net.minecraft.class_757.mixinextras$bridge$method_47413$267(class_757.java)
    at net.minecraft.class_757.wrapOperation$bhg000$fabric-screen-api-v1$onRenderScreen(class_757.java:2611)
    at net.minecraft.class_757.method_3192(class_757.java:931)
    at net.minecraft.class_310.method_1523(class_310.java:1327)
    at net.minecraft.class_310.method_1514(class_310.java:888)
    at net.minecraft.client.main.Main.main(Main.java:265)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)

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

-- Head --
Thread: Render thread
Stacktrace:
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
    at java.base/java.util.Objects.checkIndex(Objects.java:359)
    at java.base/java.util.ArrayList.get(ArrayList.java:427)
    at net.minecraft.class_513.method_2625(class_513.java:99)
    at net.minecraft.class_513.handler$zig000$brb$render(class_513.java:2062)
    at net.minecraft.class_513.method_2634(class_513.java)
    at net.minecraft.class_507.method_25394(class_507.java:304)
    at net.minecraft.class_479.method_25394(class_479.java:59)
    at net.minecraft.class_437.method_47413(class_437.java:110)
    at net.minecraft.class_757.mixinextras$bridge$method_47413$267(class_757.java)
    at net.minecraft.class_757.wrapOperation$bhg000$fabric-screen-api-v1$onRenderScreen(class_757.java:2611)

-- Screen render details --
Details:
    Screen name: net.minecraft.class_479
    Mouse location: Scaled: (201, 162). Absolute: (603.000000, 487.000000)
    Screen size: Scaled: (640, 360). Absolute: (1920, 1080). Scale factor of 3.000000
Stacktrace:
    at net.minecraft.class_757.method_3192(class_757.java:931)
    at net.minecraft.class_310.method_1523(class_310.java:1327)
    at net.minecraft.class_310.method_1514(class_310.java:888)
    at net.minecraft.client.main.Main.main(Main.java:265)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)

-- System Details --
Details:
    Minecraft Version: 1.20.4
    Minecraft Version ID: 1.20.4
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 17.0.4, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Microsoft
    Memory: 657977136 bytes (627 MiB) / 2994733056 bytes (2856 MiB) up to 8589934592 bytes (8192 MiB)
    CPUs: 32
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 9 5950X 16-Core Processor            
    Identifier: AuthenticAMD Family 25 Model 33 Stepping 2
    Microarchitecture: Zen 3
    Frequency (GHz): 3.40
    Number of physical packages: 1
    Number of physical CPUs: 16
    Number of logical CPUs: 32
    Graphics card #0 name: NVIDIA GeForce RTX 3060 Ti
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 4095.00
    Graphics card #0 deviceId: 0x2489
    Graphics card #0 versionInfo: DriverVersion=31.0.15.5244
    Memory slot #0 capacity (MB): 8192.00
    Memory slot #0 clockSpeed (GHz): 3.07
    Memory slot #0 type: DDR4
    Memory slot #1 capacity (MB): 8192.00
    Memory slot #1 clockSpeed (GHz): 3.07
    Memory slot #1 type: DDR4
    Memory slot #2 capacity (MB): 8192.00
    Memory slot #2 clockSpeed (GHz): 3.07
    Memory slot #2 type: DDR4
    Memory slot #3 capacity (MB): 8192.00
    Memory slot #3 clockSpeed (GHz): 3.07
    Memory slot #3 type: DDR4
    Virtual memory max (MB): 56232.22
    Virtual memory used (MB): 30872.38
    Swap memory total (MB): 23552.00
    Swap memory used (MB): 602.57
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx8192m
    Fabric Mods: 
        advanced-xray-fabric: Advanced XRay (Fabric) 84.0.0
        advancementinfo: AdvancementInfo 1.20.4-fabric0.91.2-1.4
        ambientenvironment: AmbientEnvironment 14.0.0.4
        antighost: AntiGhost 1.20.4-fabric0.91.2-1.1.5
            crowdin-translate: CrowdinTranslate 1.4+1.19.3
        appleskin: AppleSkin 2.5.1+mc1.20.3
        architectury: Architectury 11.1.17
        armorchroma: Armor Chroma 1.2.6
        armored_elytra: Armored Elytra 1.0.6
        authme: Auth Me 8.0.0+1.20.4
        autofish: XPlus Autofish 0.10.2-SNAPSHOT
        autoharvest: autoharvest 1.3.4
        axolotlitemfix: Axolotl Item Fix 1.1.7
        bedrockminer: Bedrock Miner 1.20.2-1.2.2
        betterbeds: Better Beds 1.3.0
        betterf3: BetterF3 9.0.2
        bettermounthud: Better Mount HUD 1.2.2
        betterpingdisplay: Better Ping Display 1.1.1
        bettershields: BetterShields 1.1.0+mc1.20.3
        betterstats: Better Statistics Screen 3.9.7+fabric-1.20.4
            tcdcommons: TCD Commons API 3.9.6+fabric-1.20.4
        blur: Blur (Fabric) 3.2.0
            midnightlib: MidnightLib 1.5.3
            satin: Satin 1.15.0
        boatiview: Boat Item View Fabric 0.0.5
        bobby: Bobby 5.1.0+mc1.20.4
            com_typesafe_config: config 1.4.2
            io_leangen_geantyref_geantyref: geantyref 1.3.13
            org_spongepowered_configurate-core: configurate-core 4.1.2
            org_spongepowered_configurate-hocon: configurate-hocon 4.1.2
        bookshelf: Bookshelf 23.0.8
        brb: Better Recipe Book 1.10.0+1.20.4
        capes: Capes 1.5.3+1.20.2
        cateyes: Cat Eyes 7.3.4
        chatpatches: Chat Patches 204.6.4
        chunky: Chunky 1.3.138
        clickthrough: ClickThrough 1.20-fabric0.83.0-0.4.1
            gbfabrictools: GBfabrictools 1.4+1.20
        cloth-config: Cloth Config v13 13.0.121
            cloth-basic-math: cloth-basic-math 0.6.1
        dark-loading-screen: Dark Loading Screen 1.6.14
        easiervillagertrading: EasierVillagerTrading 1.20.4-fabric0.91.2-1.5.4
        eatinganimationid: Eating Animation 1.20+1.9.61
        enchantment-numbers-fix: Enchantment Numbers Fix 1.0.0
        enhanced_attack_indicator: Enhanced Attack Indicator 1.0.4+1.20.3
        entityoutliner: Entity Outliner 1.2.6_1.20.4
        equipmentcompare: Equipment Compare 1.3.8
        fabric-api: Fabric API 0.97.0+1.20.4
            fabric-api-base: Fabric API Base 0.4.37+78d798af4f
            fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.50+82b1bb3e4f
            fabric-biome-api-v1: Fabric Biome API (v1) 13.0.17+78d798af4f
            fabric-block-api-v1: Fabric Block API (v1) 1.0.17+3e2216cb4f
            fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.5+78d798af4f
            fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.47+78d798af4f
            fabric-client-tags-api-v1: Fabric Client Tags 1.1.8+78d798af4f
            fabric-command-api-v1: Fabric Command API (v1) 1.2.42+f71b366f4f
            fabric-command-api-v2: Fabric Command API (v2) 2.2.21+78d798af4f
            fabric-commands-v0: Fabric Commands (v0) 0.2.59+df3654b34f
            fabric-containers-v0: Fabric Containers (v0) 0.1.87+df3654b34f
            fabric-content-registries-v0: Fabric Content Registries (v0) 5.0.16+78d798af4f
            fabric-convention-tags-v1: Fabric Convention Tags 1.5.11+78d798af4f
            fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.24+78d798af4f
            fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.5+b90db5744f
            fabric-data-generation-api-v1: Fabric Data Generation API (v1) 13.2.5+5c0133444f
            fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.62+78d798af4f
            fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.2+09fc25014f
            fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.2+389931eb4f
            fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.75+df3654b34f
            fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.47+78d798af4f
            fabric-item-api-v1: Fabric Item API (v1) 2.3.0+bcdd12964f
            fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.27+ee30b13a4f
            fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.42+78d798af4f
            fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.40+df3654b34f
            fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.1+a67ffb5d4f
            fabric-loot-api-v2: Fabric Loot API (v2) 2.1.10+78d798af4f
            fabric-message-api-v1: Fabric Message API (v1) 6.0.6+78d798af4f
            fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.66+78d798af4f
            fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.9+78d798af4f
            fabric-models-v0: Fabric Models (v0) 0.4.8+9386d8a74f
            fabric-networking-api-v1: Fabric Networking API (v1) 3.1.8+2e5ac5484f
            fabric-object-builder-api-v1: Fabric Object Builder API (v1) 13.1.0+dba1195c4f
            fabric-particles-v1: Fabric Particles (v1) 1.1.8+78d798af4f
            fabric-recipe-api-v1: Fabric Recipe API (v1) 2.0.21+78d798af4f
            fabric-registry-sync-v0: Fabric Registry Sync (v0) 4.0.20+ee30b13a4f
            fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.5+78d798af4f
            fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.5+78d798af4f
            fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.54+df3654b34f
            fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.43+73761d2e4f
            fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.2+e761c6694f
            fabric-rendering-v0: Fabric Rendering (v0) 1.1.57+df3654b34f
            fabric-rendering-v1: Fabric Rendering (v1) 3.2.1+6fd945a04f
            fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.15+78d798af4f
            fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.21+ee30b13a4f
            fabric-screen-api-v1: Fabric Screen API (v1) 2.0.18+78d798af4f
            fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.56+78d798af4f
            fabric-sound-api-v1: Fabric Sound API (v1) 1.0.18+78d798af4f
            fabric-transfer-api-v1: Fabric Transfer API (v1) 4.0.12+90f2d7b14f
            fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 5.0.15+78d798af4f
        fabric-language-kotlin: Fabric Language Kotlin 1.10.19+kotlin.1.9.23
            org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.9.23
            org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.9.23
            org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.9.23
            org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.9.23
            org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.23.2
            org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.8.0
            org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.8.0
            org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.5.0
            org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.6.3
            org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.6.3
            org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.6.3
        fabricloader: Fabric Loader 0.15.11
            mixinextras: MixinExtras 0.3.5
        fabrishot: Fabrishot 1.12.1
        fallingleaves: Falling Leaves 1.15.6
        ferritecore: FerriteCore 6.0.3
        flighthelper: FlightHelper 1.20.4-fabric0.91.2-1.2.2
        forcecloseworldloadingscreen: kennytv's epic force close loading screen mod for Fabric 2.2.1
        forgeconfigapiport: Forge Config API Port 20.4.3
            com_electronwill_night-config_core: core 3.6.6
            com_electronwill_night-config_toml: toml 3.6.6
        hatlist: Hat List 1.5
        held-item-info: Held Item Info 1.5.0
        horsestatsvanilla: Horse Stats Vanilla 4.5.1
            libgui: LibGui 9.0.0+1.20.2
                jankson: Jankson 6.0.0+j1.2.3
                    blue_endless_jankson: jankson 1.2.3
                libninepatch: LibNinePatch 1.2.0
        iceberg: Iceberg 1.1.18
        illuminations: Illuminations 1.10.14
        indium: Indium 1.0.30+mc1.20.4
        inventoryhotswap: Inventory Hotswap 1.3.3
        inventoryhud: Inventory HUD + 3.4.19
        inventoryprofilesnext: Inventory Profiles Next 1.10.10
        invmove: InvMove 0.8.5
        ipnrejects: IPN Rejects 1.0.8
        iris: Iris 1.7.0+mc1.20.4
            io_github_douira_glsl-transformer: glsl-transformer 2.0.0-pre13
            org_anarres_jcpp: jcpp 1.4.14
            org_antlr_antlr4-runtime: antlr4-runtime 4.11.1
        java: OpenJDK 64-Bit Server VM 17
        jumpoverfences: JumpOverFences 1.0-SNAPSHOT
        krypton: Krypton 0.2.6
            com_velocitypowered_velocity-native: velocity-native 3.2.0-SNAPSHOT
        lambdynlights: LambDynamicLights 2.3.4+1.20.4
            pride: Pride Lib 1.2.0+1.19.4
            spruceui: SpruceUI 5.0.3+1.20.2
        libipn: libIPN 4.0.2
        librarian-trade-finder: Librarian Trade Finder 2.1.1
        litematica: Litematica 0.17.2
        lithium: Lithium 0.12.1
        magiclib: MagicLib 0.7.398+fe2125a-stable
            magiclib-1_20_4: MagicLib for 1.20.4 0.7.398+fe2125a-stable
        make_bubbles_pop: Make Bubbles Pop Mod 0.2.0-fabric
        malilib: MaLiLib 0.18.1
        masa_gadget_mod-1_20_4: Masa Gadget for 1.20.4 3.2.334+08c8f70-stable
        memoryusagescreen: Memory Usage Screen 1.9.0
        minecraft: Minecraft 1.20.4
        minihud: MiniHUD 0.30.0
        modelfix: Model Gap Fix 1.14
        modmenu: Mod Menu 9.2.0-beta.2
        monsters_in_the_closet: Monsters in the Closet 1.0.3+1.20
        nochatreports: No Chat Reports 1.20.4-v2.6.0
        notenoughanimations: NotEnoughAnimations 1.7.3
        notenoughcrashes: Not Enough Crashes 4.4.7+1.20.4
        petowner: Pet Owner 1.8.6-1.20.2+
        pickupnotifier: Pick Up Notifier 20.4.2
        puzzleslib: Puzzles Lib 20.4.42
        reeses-sodium-options: Reese's Sodium Options 1.7.2+mc1.20.4-build.102
        showmeyourskin: Show Me Your Skin! 1.8.0+1.20.4
            cardinal-components-base: Cardinal Components API (base) 5.4.0
            cardinal-components-entity: Cardinal Components API (entities) 5.4.0
            cicada: CICADA 0.6.0+1.20.2-plus
        shulkerplus: ShulkerPlus 1.0.7
        smoothswapping: Smooth Swapping 0.9.2
        sodium: Sodium 0.5.8+mc1.20.4
        sodium-extra: Sodium Extra 0.5.4+mc1.20.4-build.116
            caffeineconfig: CaffeineConfig 1.3.0+1.17
        sspb: Sodium Shadowy Path Blocks 3.3.0
        starlight: Starlight 1.1.3+fabric.f5dcd1a
        stonecutter-remastered: Stonecutter GUI Remastered 1.0.0beta1-1.20.2
        thirdpersonboating: ThirdPersonBoating 1.0.0
        tooltipfix: ToolTip Fix 1.1.1-1.20
        torohealth: ToroHealth Damage Indicators 1.20.2-fabric-1
        trajectory-preview: Trajectory Preview 3.5-1.20.4
        travelerstitles: Traveler's Titles 1.20.4-Fabric-4.4.0
            org_reflections_reflections: reflections 0.10.2
        tweakermore: TweakerMore 3.17.0
            conditional-mixin: conditional mixin 0.5.1
        tweakeroo: Tweakeroo 0.19.0
        ukulib: ukulib 1.1.2+1.20.4
            com_moandjiezana_toml_toml4j: toml4j 0.7.2
            gs_mclo_java_mclogs-java: mclogs-java 2.1.1
        voicechat: Simple Voice Chat 1.20.4-2.5.13
        waig: Where Am I Going 1.1.5
        waveycapes: WaveyCapes 1.4.6
        xaerominimap: Xaero's Minimap 24.1.1
        xaeroworldmap: Xaero's World Map 1.38.4
        yet_another_config_lib_v3: YetAnotherConfigLib 3.4.2+1.20.4-fabric
            com_twelvemonkeys_common_common-image: common-image 3.10.0
            com_twelvemonkeys_common_common-io: common-io 3.10.0
            com_twelvemonkeys_common_common-lang: common-lang 3.10.0
            com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0
            com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0
            com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0
            org_quiltmc_parsers_gson: gson 0.2.1
            org_quiltmc_parsers_json: json 0.2.1
        yungsapi: YUNG's API 1.20.4-Fabric-4.4.2
            org_javassist_javassist: javassist 3.29.2-GA
    Loaded Shaderpack: (off)
    Client Crashes Since Restart: 1
    Integrated Server Crashes Since Restart: 0
    Suspected Mods: Minecraft (minecraft), Fabric Loader (fabricloader), Better Recipe Book (brb), Fabric Screen API (v1) (fabric-screen-api-v1)
[14:38:54] [Render thread/ERROR]: Unhandled game exception
java.lang.IllegalArgumentException: duplicate event invoker for type interface fuzs.puzzleslib.api.event.v1.server.TagsUpdatedCallback
    at fuzs.puzzleslib.impl.event.core.EventInvokerImpl.register(EventInvokerImpl.java:74) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at fuzs.puzzleslib.fabric.impl.event.FabricEventInvokerRegistryImpl.register(FabricEventInvokerRegistryImpl.java:430) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at fuzs.puzzleslib.fabric.api.event.v1.core.FabricEventInvokerRegistry.register(FabricEventInvokerRegistry.java:59) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at fuzs.puzzleslib.fabric.api.event.v1.core.FabricEventInvokerRegistry.register(FabricEventInvokerRegistry.java:45) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at fuzs.puzzleslib.fabric.impl.event.FabricEventInvokerRegistryImpl.registerEventHandlers(FabricEventInvokerRegistryImpl.java:116) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at fuzs.puzzleslib.fabric.impl.core.FabricFactories.registerEventHandlers(FabricFactories.java:65) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at fuzs.puzzleslib.impl.event.core.EventInvokerImpl.initialize(EventInvokerImpl.java:35) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at fuzs.puzzleslib.fabric.impl.client.event.FabricClientEventInvokers.lambda$registerLoadingHandlers$1(FabricClientEventInvokers.java:90) ~[PuzzlesLib-v20.4.42-1.20.4-Fabric.jar:?]
    at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.lambda$static$0(ClientLifecycleEvents.java:35) ~[fabric-lifecycle-events-v1-2.3.1+a67ffb5d4f-78d2a96fc756e69a.jar:?]
    at net.minecraft.class_310.handler$bbc000$fabric-lifecycle-events-v1$onStart(class_310.java:10788) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:870) ~[client-intermediary.jar:?]
    at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.handleClientCrash(InGameCatcher.java:38) ~[notenoughcrashes-4.4.7+1.20.4-fabric.jar:?]
    at net.minecraft.class_310.modify$dfg000$notenoughcrashes$atTheEndOfFirstCatchBeforePrintingCrashReport(class_310.java:23838) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:908) ~[client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:265) ~[minecraft-1.20.4-client.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.11.jar:?]
    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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) ~[NewLaunch.jar:?]
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) ~[NewLaunch.jar:?]
    at org.multimc.EntryPoint.listen(EntryPoint.java:143) ~[NewLaunch.jar:?]
    at org.multimc.EntryPoint.main(EntryPoint.java:34) ~[NewLaunch.jar:?]
[14:38:54] [Render thread/INFO]: Stopping!
[14:38:54] [Render thread/INFO]: [ChatLog.serialize] Saved the chat log containing 572 messages and 164 sent messages to 'C:\MultiMC\instances\1.20.4 Modded\.minecraft\logs\chatlog.json'
[14:38:54] [Thread-55/INFO]: OpenGL debug message: id=1280, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_ENUM error generated. Polygon modes for <face> are disabled in the current profile.'
[14:38:54] [Thread-55/INFO]: OpenGL debug message: id=1280, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_ENUM error generated. Polygon modes for <face> are disabled in the current profile.'
[14:38:54] [Render thread/INFO]: pcaSyncProtocol onDisconnect.
[14:38:54] [Render thread/INFO]: Stopping worker threads
[14:38:54] [Render thread/INFO]: Clearing 'BetterStatsClientNetworkHandler' flags.
Process crashed with exit code -1073740791 (0xffffffffc0000409).
Below is an analysis of the exit code. THIS MAY BE INCORRECT AND SHOULD BE TAKEN WITH A GRAIN OF SALT!
System exit code name: STATUS_STACK_BUFFER_OVERRUN
System exit code description: The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.

Please note that usually neither the exit code, nor its description are enough to diagnose issues!
Always upload the entire log and not just the exit code.
Clipboard copy at: 12 May 2024 14:39:08 -0400