CaffeineMC / lithium-fabric

A Fabric mod designed to improve the general performance of Minecraft without breaking things
GNU Lesser General Public License v3.0
1.94k stars 189 forks source link

[1.18.2] [Client] Game will crash whenever I directly look at grass, using grasskiss mod alongside lithium. #378

Open akai-hana opened 2 years ago

akai-hana commented 2 years ago

Version

lithium-fabric-mc1.18.2-0.7.10.jar

Reproduction Steps

When pairing this version of lithium with grasskiss mod (grasskiss-1.18.2-fabric0.47.10-0.5.0.jar), you'll get a crash if you look at grass (A very strange bug, I have to say).

Crash Report File

crash-2022-07-23_14.56.40-client.txt

Minecraft Save

Any save works. Just create a new world and place grass, or look at already generated grass, you'll get a crash anyways.

Additional Information

When I remove either grasskiss or lithium, it'll stop crashing when I look at grass. So there's that confirmation.

2No2Name commented 2 years ago

add mixin.shapes.lazy_shape_context=false to the lithium.config file

2No2Name commented 5 months ago

https://github.com/CaffeineMC/lithium-fabric/commit/33ea83fd6a08fd2120b5a290c77a1c4fd53145a3 This should allow fixing this properly by writing a method called getHeldItem(), lithium will mixin into it and initialize the item