Litematica (Forge)

Litematica (Forge)

390k Downloads

Crashing when trying to access a chest/hopper info using renderinfooverlay

numis155 opened this issue ยท 2 comments

commented

Every time I press "i" to see the schematic inventory of chest/hopper/dropper/etc it chrashes, please help :(

It only crashes when trying to access a container, any other block works as normal. I've already tried to update both litematica and malilib (modrinth versions). I'm playing in 1.21.4.

I use litematica-fabric-1.21.4-0.21.0 and malilib-fabric-1.21.4-0.23.1, and other mods like fabric-carpet-1.21.4-1.4.161+v241203 carpet-extra-1.21.4-1.4.161 carpet-tis-addition-v1.65.2-mc1.21.4 continuity-3.0.0+1.21.4 fabric-api-0.114.0+1.21.4 lithium-fabric-0.14.3+mc1.21.4 minihud-fabric-1.21.4-0.34.3 sodium-fabric-0.6.6+mc1.21.4 tweakeroo-fabric-1.21.4-0.23.1

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 2025-03-30 13:21:37
Description: Unexpected error

java.lang.NoSuchMethodError: 'void fi.dy.masa.malilib.render.InventoryOverlay$Context.(fi.dy.masa.malilib.render.InventoryOverlay$InventoryRenderType, net.minecraft.class_1263, net.minecraft.class_2586, net.minecraft.class_1309, net.minecraft.class_2487)'
at knot//fi.dy.masa.litematica.util.InventoryUtils.getTargetInventoryFromBlock(InventoryUtils.java:413)
at knot//fi.dy.masa.litematica.util.InventoryUtils.getTargetInventory(InventoryUtils.java:343)
at knot//fi.dy.masa.litematica.render.OverlayRenderer.renderBlockInfoOverlay(OverlayRenderer.java:591)
at knot//fi.dy.masa.litematica.render.OverlayRenderer.renderHoverInfo(OverlayRenderer.java:509)
at knot//fi.dy.masa.litematica.event.RenderHandler.onRenderGameOverlayPostAdvanced(RenderHandler.java:66)
at knot//fi.dy.masa.malilib.event.RenderEventHandler.onRenderGameOverlayPost(RenderEventHandler.java:108)
at knot//net.minecraft.class_329.handler$dkk000$malilib$onGameOverlayPost(class_329.java:2553)
at knot//net.minecraft.class_329.method_1753(class_329.java:235)
at knot//net.minecraft.class_757.method_3192(class_757.java:533)
at knot//net.minecraft.class_310.method_1523(class_310.java:1341)
at knot//net.minecraft.class_310.method_1514(class_310.java:922)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
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 knot//fi.dy.masa.litematica.util.InventoryUtils.getTargetInventoryFromBlock(InventoryUtils.java:413)
at knot//fi.dy.masa.litematica.util.InventoryUtils.getTargetInventory(InventoryUtils.java:343)
at knot//fi.dy.masa.litematica.render.OverlayRenderer.renderBlockInfoOverlay(OverlayRenderer.java:591)
at knot//fi.dy.masa.litematica.render.OverlayRenderer.renderHoverInfo(OverlayRenderer.java:509)
at knot//fi.dy.masa.litematica.event.RenderHandler.onRenderGameOverlayPostAdvanced(RenderHandler.java:66)
at knot//fi.dy.masa.malilib.event.RenderEventHandler.onRenderGameOverlayPost(RenderEventHandler.java:108)
at knot//net.minecraft.class_329.handler$dkk000$malilib$onGameOverlayPost(class_329.java:2553)
at knot//net.minecraft.class_329.method_1753(class_329.java:235)

-- Uptime --
Details:
JVM uptime: 199.251s
Wall uptime: 185.488s
High-res time: 183.717s
Client ticks: 2408 ticks / 120.400s
Stacktrace:
at knot//net.minecraft.class_310.method_1587(class_310.java:2371)
at knot//net.minecraft.class_310.method_54580(class_310.java:991)
at knot//net.minecraft.class_310.method_1514(class_310.java:946)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Affected level --
Details:
All players: 1 total; [class_746['Jchpp_155'/1330, l='ClientLevel', x=-254.41, y=136.00, z=-30.90]]
Chunk stats: 1521, 1057
Level dimension: minecraft:the_nether
Level spawn location: World: (-32,71,-32), Section: (at 0,7,0 in -2,4,-2; chunk contains blocks -32,0,-32 to -17,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 40492656 game time, 51030165 day time
Server brand: fabric
Server type: Integrated singleplayer server
Tracked entity count: 219

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: vanilla, fabric, carpet, carpet-extra, carpet-tis-addition, conditional-mixin, continuity, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-tag-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, litematica, lithium, malilib, minihud, sodium, tweakeroo, continuity:default, continuity:glass_pane_culling_fix

-- System Details --
Details:
Minecraft Version: 1.21.4
Minecraft Version ID: 1.21.4
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 348088856 bytes (331 MiB) / 1409286144 bytes (1344 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 16
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 7 Pro 7735U with Radeon Graphics
Identifier: AuthenticAMD Family 25 Model 68 Stepping 1
Microarchitecture: Zen 3
Frequency (GHz): 2.70
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: AMD Radeon(TM) Graphics
Graphics card #0 vendor: Advanced Micro Devices, Inc.
Graphics card #0 VRAM (MiB): 512.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 32.0.11020.10002
Memory slot #0 capacity (MiB): 16384.00
Memory slot #0 clockSpeed (GHz): 5.60
Memory slot #0 type: DDR5
Virtual memory max (MiB): 28957.53
Virtual memory used (MiB): 17838.39
Swap memory total (MiB): 13312.00
Swap memory used (MiB): 97.87
Space in storage for jna.tmpdir (MiB): available: 296673.91, total: 454396.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 296673.91, total: 454396.00
Space in storage for io.netty.native.workdir (MiB): available: 296673.91, total: 454396.00
Space in storage for java.io.tmpdir (MiB): available: 296673.91, total: 454396.00
Space in storage for workdir (MiB): available: 296673.91, total: 454396.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
carpet: Carpet Mod 1.4.161+v241203
carpet-extra: Carpet Extra 1.4.161
carpet-tis-addition: Carpet TIS Addition 1.65.2
conditional-mixin: conditional mixin 0.6.3
continuity: Continuity 3.0.0+1.21.4
fabric-api: Fabric API 0.114.0+1.21.4
fabric-api-base: Fabric API Base 0.4.54+b47eab6b04
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.86+b1caf1e904
fabric-biome-api-v1: Fabric Biome API (v1) 15.0.6+b1c29d8e04
fabric-block-api-v1: Fabric Block API (v1) 1.0.31+7feeb73304
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.19+7feeb73304
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 2.0.8+7feeb73304
fabric-client-tags-api-v1: Fabric Client Tags 1.1.29+20ea1e2304
fabric-command-api-v1: Fabric Command API (v1) 1.2.62+f71b366f04
fabric-command-api-v2: Fabric Command API (v2) 2.2.41+e496eb1504
fabric-commands-v0: Fabric Commands (v0) 0.2.79+df3654b304
fabric-content-registries-v0: Fabric Content Registries (v0) 9.1.14+7feeb73304
fabric-convention-tags-v1: Fabric Convention Tags 2.1.11+7f945d5b04
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.10.1+e7d3c6e504
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.3.6+7feeb73304
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.4.6+9aea556b04
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 22.2.4+20ea1e2304
fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.10+7feeb73304
fabric-entity-events-v1: Fabric Entity Events (v1) 2.0.12+60fccc7604
fabric-events-interaction-v0: Fabric Events Interaction (v0) 4.0.2+a4eebcf004
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.62+7feeb73304
fabric-item-api-v1: Fabric Item API (v1) 11.1.14+203e6b2304
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.23+7feeb73304
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.56+7feeb73304
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.54+df3654b304
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.5.4+bf2a60eb04
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.33+3f89f5a504
fabric-loot-api-v3: Fabric Loot API (v3) 1.0.21+203e6b2304
fabric-message-api-v1: Fabric Message API (v1) 6.0.25+7feeb73304
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 4.2.0+8ca2ae8d04
fabric-networking-api-v1: Fabric Networking API (v1) 4.3.9+f371ccb904
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 18.0.8+d70d2c0604
fabric-particles-v1: Fabric Particles (v1) 4.0.14+7feeb73304
fabric-recipe-api-v1: Fabric Recipe API (v1) 8.0.6+9ceeb58c04
fabric-registry-sync-v0: Fabric Registry Sync (v0) 6.1.3+e7d3c6e504
fabric-renderer-api-v1: Fabric Renderer API (v1) 5.0.2+84404cdd04
fabric-renderer-indigo: Fabric Renderer - Indigo 2.0.2+84404cdd04
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.57+73761d2e04
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.19+7feeb73304
fabric-rendering-v1: Fabric Rendering (v1) 10.1.2+b874120c04
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 5.0.13+203e6b2304
fabric-resource-loader-v0: Fabric Resource Loader (v0) 3.0.11+b1caf1e904
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.38+7feeb73304
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.110+7feeb73304
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.32+7feeb73304
fabric-tag-api-v1: Fabric Tag API (v1) 1.0.2+20ea1e2304
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.4.9+efa825c904
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.3.2+56e78b9b04
fabricloader: Fabric Loader 0.16.9
mixinextras: MixinExtras 0.4.1
java: OpenJDK 64-Bit Server VM 21
litematica: Litematica 0.21.0
lithium: Lithium 0.14.3+mc1.21.4
malilib: MaLiLib 0.23.1
minecraft: Minecraft 1.21.4
minihud: MiniHUD 0.34.3
sodium: Sodium 0.6.6+mc1.21.4
tweakeroo: Tweakeroo 0.23.1
Launched Version: fabric-loader-0.16.9-1.21.4
Launcher name: minecraft-launcher
Backend library: LWJGL version 3.3.3-snapshot
Backend API: AMD Radeon(TM) Graphics GL version 3.2.0 Core Profile Context 24.10.20.10.240926, ATI Technologies Inc.
Window size: 1920x1094
GFLW Platform: win32
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Universe: 400921fb54442d18
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Render Distance: 16/16 chunks
Resource Packs: vanilla, fabric, carpet, carpet-extra, carpet-tis-addition, conditional-mixin, continuity, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-tag-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, litematica, lithium, malilib, minihud, sodium, tweakeroo (incompatible), continuity:default, continuity:glass_pane_culling_fix
Current Language: es_es
Locale: es_ES
System encoding: Cp1252
File encoding: UTF-8
CPU: 16x AMD Ryzen 7 Pro 7735U with Radeon Graphics
Server Running: true
Player Count: 1 / 8; [class_3222['Jchpp_155'/1330, l='ServerLevel[Survival Techniko]', x=-254.41, y=136.00, z=-30.90]]
Active Data Packs: vanilla, fabric, fabric-convention-tags-v2
Available Data Packs: fabric, fabric-convention-tags-v2, minecart_improvements, redstone_experiments, trade_rebalance, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: 12345678912345
Suppressed Exceptions: NONE

commented

You have incompatible malilib vs. Litematica versions. Update both of them to the latest versions, as well as MiniHUD and Tweakeroo, so that none of them conflict with an older or newer malilib version than the mod was built against.

commented

Ohh, I had downloaded the older litematica version, thank you.