Legendary Tooltips [Forge]

Legendary Tooltips [Forge]

28M Downloads

Compatibility issue with Sodium

john-valik opened this issue ยท 1 comments

commented

Casting issue when hovering over any item that renders 3D item in tooltip resulting in crash to desktop.

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

Time: 2023-02-28 23:04:07
Description: Rendering item

java.lang.ClassCastException

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

-- Head --
Thread: Render thread
Stacktrace:
at com.anthonyhilyard.iceberg.renderer.CustomItemRenderer.renderDetailModelIntoGUI(CustomItemRenderer.java:620)

-- Item being rendered --
Details:
Item Type: wooden_sword
Registry Name: minecraft:wooden_sword
Item Damage: 0
Item NBT: {Damage:0}
Item Foil: false
Stacktrace:
at com.anthonyhilyard.iceberg.renderer.CustomItemRenderer.renderDetailModelIntoGUI(CustomItemRenderer.java:620)
at com.anthonyhilyard.legendarytooltips.tooltip.ItemModelComponent.method_32666(ItemModelComponent.java:95)
at net.minecraft.class_437.method_32633(class_437.java:283)
at net.minecraft.class_437.method_32634(class_437.java:193)
at net.minecraft.class_481.method_25409(class_481.java:779)
at net.minecraft.class_465.method_2380(class_465.java:188)
at net.minecraft.class_481.method_25394(class_481.java:745)
at net.minecraft.class_437.method_47413(class_437.java:113)
at net.minecraft.class_757.method_3192(class_757.java:929)
at net.minecraft.class_310.method_1523(class_310.java:1193)
at net.minecraft.class_310.method_1514(class_310.java:781)
at net.minecraft.client.main.Main.method_44604(Main.java:244)
at net.minecraft.client.main.Main.main(Main.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Screen render details --
Details:
Screen name: net.minecraft.class_481
Mouse location: Scaled: (340, 135). Absolute: (1360.000000, 543.000000)
Screen size: Scaled: (860, 360). Absolute: (3440, 1440). Scale factor of 4.000000

-- Affected level --
Details:
All players: 1 total; [class_746['oP_MastrPancake'/229, l='ClientLevel', x=-24.58, y=67.00, z=59.09]]
Chunk stats: 1024, 609
Level dimension: minecraft:overworld
Level spawn location: World: (-16,67,64), Section: (at 0,3,0 in -1,4,4; chunk contains blocks -16,-64,64 to -1,319,79), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Level time: 387 game time, 387 day time
Server brand: fabric
Server type: Integrated singleplayer server

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: vanilla, Fabric Mods

-- System Details --
Details:
Minecraft Version: 1.19.3
Minecraft Version ID: 1.19.3
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 2008023040 bytes (1915 MiB) / 3447717888 bytes (3288 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 16
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 7 3700X 8-Core Processor
Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
Microarchitecture: Zen 2
Frequency (GHz): 3.60
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: Virtual Desktop Monitor
Graphics card #0 vendor: Virtual Desktop, Inc.
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: unknown
Graphics card #0 versionInfo: DriverVersion=15.39.56.845
Graphics card #1 name: NVIDIA GeForce RTX 3080 Ti
Graphics card #1 vendor: NVIDIA (0x10de)
Graphics card #1 VRAM (MB): 4095.00
Graphics card #1 deviceId: 0x2208
Graphics card #1 versionInfo: DriverVersion=31.0.15.2849
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Memory slot #2 capacity (MB): 8192.00
Memory slot #2 clockSpeed (GHz): 3.20
Memory slot #2 type: DDR4
Memory slot #3 capacity (MB): 8192.00
Memory slot #3 clockSpeed (GHz): 3.20
Memory slot #3 type: DDR4
Virtual memory max (MB): 34739.23
Virtual memory used (MB): 18992.43
Swap memory total (MB): 2048.00
Swap memory used (MB): 0.00
JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m
Fabric Mods:
fabric-api: Fabric API 0.75.1+1.19.3
fabric-api-base: Fabric API Base 0.4.21+70be179c85
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.20+49abcf7e85
fabric-biome-api-v1: Fabric Biome API (v1) 12.1.1+b5d379b085
fabric-block-api-v1: Fabric Block API (v1) 1.0.5+e022e5d185
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.31+928d44d585
fabric-client-tags-api-v1: Fabric Client Tags 1.0.12+1134c5b885
fabric-command-api-v1: Fabric Command API (v1) 1.2.22+f71b366f85
fabric-command-api-v2: Fabric Command API (v2) 2.2.1+3fc4752e85
fabric-commands-v0: Fabric Commands (v0) 0.2.39+df3654b385
fabric-containers-v0: Fabric Containers (v0) 0.1.47+df3654b385
fabric-content-registries-v0: Fabric Content Registries (v0) 3.5.1+1d37d50285
fabric-convention-tags-v1: Fabric Convention Tags 1.2.2+8e4e694f85
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.14+aeb40ebe85
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 11.3.1+40dc7a9485
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.42+00a2eb1085
fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.7+b83334a085
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.40+3baeb27a85
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.44+df3654b385
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.30+99f9db8085
fabric-item-api-v1: Fabric Item API (v1) 2.1.10+312c329485
fabric-item-group-api-v1: Fabric Item Group API (v1) 2.1.12+1134c5b885
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.31+bc01e09785
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.29+df3654b385
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.10+23a79c8a85
fabric-loot-api-v2: Fabric Loot API (v2) 1.1.20+75e9821185
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.24+9e7660c685
fabric-message-api-v1: Fabric Message API (v1) 5.1.0+c85585f885
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.31+49abcf7e85
fabric-models-v0: Fabric Models (v0) 0.3.27+11ba9c3b85
fabric-networking-api-v1: Fabric Networking API (v1) 1.2.17+4017a8cb85
fabric-networking-v0: Fabric Networking (v0) 0.3.34+df3654b385
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 5.4.1+eb2a3ba985
fabric-particles-v1: Fabric Particles (v1) 1.0.20+f1e4495b85
fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.1+5176f73d85
fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.1.0+f7b4d36485
fabric-renderer-api-v1: Fabric Renderer API (v1) 2.2.2+3a95925a85
fabric-renderer-indigo: Fabric Renderer - Indigo 0.8.0+3a95925a85
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.30+df3654b385
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.25+afca2f3e85
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.18+f1e4495b85
fabric-rendering-v0: Fabric Rendering (v0) 1.1.33+df3654b385
fabric-rendering-v1: Fabric Rendering (v1) 1.12.1+eb2a3ba985
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.0+e63306e085
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.10.5+a91e48b785
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.41+f1e4495b85
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.13+99f9db8085
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.8+75e9821185
fabric-transfer-api-v1: Fabric Transfer API (v1) 2.1.15+ccd377ba85
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 2.3.1+40dc7a9485
fabricloader: Fabric Loader 0.14.14
forgeconfigapiport: Forge Config API Port 5.0.9
com_electronwill_night-config_core: core 3.6.5
com_electronwill_night-config_toml: toml 3.6.5
iceberg: Iceberg 1.1.4
java: OpenJDK 64-Bit Server VM 17
legendarytooltips: Legendary Tooltips 1.4.1
minecraft: Minecraft 1.19.3
prism: Prism 1.0.4
sodium: Sodium 0.4.9+build.23
Launched Version: fabric-loader-0.14.14-1.19.3
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 528.49, NVIDIA Corporation
Window size: 3440x1440
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Resource Packs: fabric
Current Language: English (US)
CPU: 16x AMD Ryzen 7 3700X 8-Core Processor
Server Running: true
Player Count: 1 / 8; [class_3222['oP_MastrPancake'/229, l='ServerLevel[New World]', x=-24.58, y=67.00, z=59.09]]
Data Packs: vanilla, fabric
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable

commented

Thanks for the report, this issue is being tracked here: AHilyard/Iceberg#21