[Crash] Crash When Opening Creative Menu on page containing Wireless Chargers Mod
ZuidVolt opened this issue · 1 comments
Description: The game crashes when opening the creative menu and navigating to the page containing items from the wirelesschargers
mod. The crash report suggests a NullPointerException
during block entity rendering, specifically when trying to access a bakedModel
object that appears to be null
.
- Minecraft Version: 1.21 (Fabric)
- Wireless Chargers Version: 1.0.9
Steps to Reproduce:
- Install the
wirelesschargers
mod with Fabric. - Start Minecraft and open a creative world.
- Open the creative menu and navigate to the modded page in the item selection screen (the page where
wirelesschargers
items are located). - The game crashes with a rendering-related error.
Crash Report (~/logs/latest.log):
// Surprise! Haha. Well, this is awkward.
Time: 2024-11-10 14:14:03
Description: Rendering Block Entity
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1087.method_4707(net.minecraft.class_2680, net.minecraft.class_2350, net.minecraft.class_5819)" because "bakedModel" is null
at net.minecraft.class_778.handler$lgl000$sodium$renderFast(class_778.java:2577)
at net.minecraft.class_778.method_3367(class_778.java)
at com.supermartijn642.wirelesschargers.ChargerRenderer.render(ChargerRenderer.java:29)
at com.supermartijn642.wirelesschargers.ChargerRenderer.render(ChargerRenderer.java:18)
... (additional lines truncated for brevity)
Installed Mods:
fabric-api
sodium
indium
more-culling
iris
aethna
energized
lithosphere
client-sort
Enhanced Block Entities
wirelesschargers