ChoiceTheorem / ChoiceTheorem-s-overhauled-village

Enhances and creates new villages and pillager outposts, that perfectly fit into your Minecraft world.
https://modrinth.com/mod/ct-overhaul-village
Other
37 stars 10 forks source link

[CRASH] mouseClicked event handler: java.lang.IllegalStateException on creating a new world #162

Closed thallada closed 1 week ago

thallada commented 1 week ago

Describe the bug My game (mc 1.20.1) was crashing when trying to create a new world and I narrowed down the problem to this mod. Specifically, it only happens on version 3.4.4. Downgrading to 3.4.3 fixes the issue. I verified this with only CTOV and Fabric API mods enabled.

To Reproduce Steps to reproduce the behaviour:

  1. Go to 'Singleplayer'
  2. Click on 'Create New World'
  3. Loading screen gets to "Saving world" and then the game crashes

Expected behaviour The game does not crash when I create a new world

Screenshots N/A

Minecraft Version 1.20.1

CTOV Version 3.4.4

Add-ons used (Before 1.20) CTOV Fabric API

Do you install Lithostitched?(1.20+) No

Log

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 2024-06-24 00:35:50
Description: mouseClicked event handler

java.lang.IllegalStateException: Failed to load registries due to above errors
    at net.minecraft.class_7655.method_45121(class_7655.java:111)
    at net.minecraft.class_7237.method_45142(class_7237.java:67)
    at net.minecraft.class_7237.method_45143(class_7237.java:71)
    at net.minecraft.class_7237.method_42098(class_7237.java:34)
    at net.minecraft.class_525.method_31130(class_525.java:333)
    at net.minecraft.class_526.method_19944(class_526.java:60)
    at net.minecraft.class_4185.method_25306(class_4185.java:94)
    at net.minecraft.class_4264.method_25348(class_4264.java:56)
    at net.minecraft.class_339.method_25402(class_339.java:189)
    at net.minecraft.class_4069.method_25402(class_4069.java:38)
    at net.minecraft.class_312.method_1611(class_312.java:98)
    at net.minecraft.class_437.method_25412(class_437.java:409)
    at net.minecraft.class_312.method_1601(class_312.java:98)
    at net.minecraft.class_312.method_22686(class_312.java:169)
    at net.minecraft.class_1255.execute(class_1255.java:102)
    at net.minecraft.class_312.method_22684(class_312.java:169)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474)
    at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:237)
    at net.minecraft.class_310.method_1523(class_310.java:1244)
    at net.minecraft.class_310.method_1514(class_310.java:802)
    at net.minecraft.client.main.Main.main(Main.java:250)
    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)

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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.class_7655.method_45121(class_7655.java:111)
    at net.minecraft.class_7237.method_45142(class_7237.java:67)
    at net.minecraft.class_7237.method_45143(class_7237.java:71)
    at net.minecraft.class_7237.method_42098(class_7237.java:34)
    at net.minecraft.class_525.method_31130(class_525.java:333)
    at net.minecraft.class_526.method_19944(class_526.java:60)
    at net.minecraft.class_4185.method_25306(class_4185.java:94)
    at net.minecraft.class_4264.method_25348(class_4264.java:56)
    at net.minecraft.class_339.method_25402(class_339.java:189)
    at net.minecraft.class_4069.method_25402(class_4069.java:38)
    at net.minecraft.class_312.method_1611(class_312.java:98)
    at net.minecraft.class_437.method_25412(class_437.java:409)
    at net.minecraft.class_312.method_1601(class_312.java:98)
    at net.minecraft.class_312.method_22686(class_312.java:169)
    at net.minecraft.class_1255.execute(class_1255.java:102)
    at net.minecraft.class_312.method_22684(class_312.java:169)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474)

-- Affected screen --
Details:
    Screen name: net.minecraft.class_526
Stacktrace:
    at net.minecraft.class_437.method_25412(class_437.java:409)
    at net.minecraft.class_312.method_1601(class_312.java:98)
    at net.minecraft.class_312.method_22686(class_312.java:169)
    at net.minecraft.class_1255.execute(class_1255.java:102)
    at net.minecraft.class_312.method_22684(class_312.java:169)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474)
    at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:237)
    at net.minecraft.class_310.method_1523(class_310.java:1244)
    at net.minecraft.class_310.method_1514(class_310.java:802)
    at net.minecraft.client.main.Main.main(Main.java:250)
    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)

-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: vanilla, fabric
Stacktrace:
    at net.minecraft.class_6360.method_36565(class_6360.java:49)
    at net.minecraft.class_310.method_1587(class_310.java:2413)
    at net.minecraft.class_310.method_1514(class_310.java:821)
    at net.minecraft.client.main.Main.main(Main.java:250)
    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)

-- System Details --
Details:
    Minecraft Version: 1.20.1
    Minecraft Version ID: 1.20.1
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 17.0.10, Azul Systems, Inc.
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Azul Systems, Inc.
    Memory: 212199824 bytes (202 MiB) / 587202560 bytes (560 MiB) up to 26105348096 bytes (24896 MiB)
    CPUs: 24
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 9 3900X 12-Core Processor            
    Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
    Microarchitecture: Zen 2
    Frequency (GHz): 4.00
    Number of physical packages: 1
    Number of physical CPUs: 12
    Number of logical CPUs: 24
    Graphics card #0 name: NVIDIA GeForce RTX 2080 SUPER
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 4095.00
    Graphics card #0 deviceId: 0x1e81
    Graphics card #0 versionInfo: DriverVersion=32.0.15.5599
    Memory slot #0 capacity (MB): 16384.00
    Memory slot #0 clockSpeed (GHz): 3.60
    Memory slot #0 type: DDR4
    Memory slot #1 capacity (MB): 16384.00
    Memory slot #1 clockSpeed (GHz): 3.60
    Memory slot #1 type: DDR4
    Virtual memory max (MB): 67496.50
    Virtual memory used (MB): 33048.86
    Swap memory total (MB): 34816.00
    Swap memory used (MB): 188.40
    JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx24896M
    Fabric Mods: 
        ctov: ChoiceTheorem's Overhauled Village 3.4.4
        fabric-api: Fabric API 0.92.2+1.20.1
            fabric-api-base: Fabric API Base 0.4.31+1802ada577
            fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.36+1802ada577
            fabric-biome-api-v1: Fabric Biome API (v1) 13.0.13+1802ada577
            fabric-block-api-v1: Fabric Block API (v1) 1.0.11+1802ada577
            fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.1+1802ada577
            fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.41+1802ada577
            fabric-client-tags-api-v1: Fabric Client Tags 1.1.2+1802ada577
            fabric-command-api-v1: Fabric Command API (v1) 1.2.34+f71b366f77
            fabric-command-api-v2: Fabric Command API (v2) 2.2.13+1802ada577
            fabric-commands-v0: Fabric Commands (v0) 0.2.51+df3654b377
            fabric-containers-v0: Fabric Containers (v0) 0.1.64+df3654b377
            fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.11+1802ada577
            fabric-convention-tags-v1: Fabric Convention Tags 1.5.5+1802ada577
            fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.19+1802ada577
            fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.0.0+de0fd6d177
            fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.3.4+1802ada577
            fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.54+1802ada577
            fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.0+1c78457f77
            fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.2+1802ada577
            fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.63+df3654b377
            fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.40+1802ada577
            fabric-item-api-v1: Fabric Item API (v1) 2.1.28+1802ada577
            fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.12+1802ada577
            fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.37+1802ada577
            fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.35+df3654b377
            fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.22+1802ada577
            fabric-loot-api-v2: Fabric Loot API (v2) 1.2.1+1802ada577
            fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.45+9e7660c677
            fabric-message-api-v1: Fabric Message API (v1) 5.1.9+1802ada577
            fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.50+1802ada577
            fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.3+1802ada577
            fabric-models-v0: Fabric Models (v0) 0.4.2+9386d8a777
            fabric-networking-api-v1: Fabric Networking API (v1) 1.3.11+1802ada577
            fabric-networking-v0: Fabric Networking (v0) 0.3.51+df3654b377
            fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.1.3+1802ada577
            fabric-particles-v1: Fabric Particles (v1) 1.1.2+1802ada577
            fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.21+1802ada577
            fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.3.3+1802ada577
            fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.1+1802ada577
            fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.2+85287f9f77
            fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.46+df3654b377
            fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.37+92a0d36777
            fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.28+1802ada577
            fabric-rendering-v0: Fabric Rendering (v0) 1.1.49+df3654b377
            fabric-rendering-v1: Fabric Rendering (v1) 3.0.8+1802ada577
            fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.8+1802ada577
            fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.10+1802ada577
            fabric-screen-api-v1: Fabric Screen API (v1) 2.0.8+1802ada577
            fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.30+1802ada577
            fabric-sound-api-v1: Fabric Sound API (v1) 1.0.13+1802ada577
            fabric-transfer-api-v1: Fabric Transfer API (v1) 3.3.5+8dd72ea377
            fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.3.1+1802ada577
        fabricloader: Fabric Loader 0.15.11
            mixinextras: MixinExtras 0.3.5
        java: OpenJDK 64-Bit Server VM 17
        minecraft: Minecraft 1.20.1
    Launched Version: 1.20.1
    Backend library: LWJGL version 3.3.1 SNAPSHOT
    Backend API: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 GL version 3.2.0 NVIDIA 555.99, NVIDIA Corporation
    Window size: 2560x1440
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fabric'
    Type: Client (map_client.txt)
    Graphics mode: fast
    Resource Packs: vanilla, fabric
    Current Language: en_us
    CPU: 24x AMD Ryzen 9 3900X 12-Core Processor 

Additional context Fabric Loader Version: 0.15.11 Fabric API Version: [1.20.1] Fabric API 0.92.2+1.20.1

ChoiceTheorem commented 1 week ago

Then install lithostitched

On Mon, 24 Jun 2567 BE at 11:44, Tyler Hallada @.***> wrote:

Assigned #162 https://github.com/ChoiceTheorem/ChoiceTheorem-s-overhauled-village/issues/162 to @ChoiceTheorem https://github.com/ChoiceTheorem.

— Reply to this email directly, view it on GitHub https://github.com/ChoiceTheorem/ChoiceTheorem-s-overhauled-village/issues/162#event-13259940296, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCFLZOWV74DLXRLIQRD423ZI6P3VAVCNFSM6AAAAABJZBXFJKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGI2TSOJUGAZDSNQ . You are receiving this because you were assigned.Message ID: <ChoiceTheorem/ChoiceTheorem-s-overhauled-village/issue/162/issue_event/13259940296 @github.com>

thallada commented 1 week ago

Oh, I didn't know about lithostiched. I think I installed CTOV with modrinth when it was an optional dependency (so lithostiched wasn't installed) and modrinth doesn't install new required dependencies when updating mods. It looks like with lithostiched I can create a new world without crashing, thanks.