Game crashes when the modular toolbelt is used in the nether
LapizGaming7751 opened this issue · 1 comments
Bug Report
Observed Behaviour
Took a modular item out from the toolbelt in the nether, then it crashed.
Crash log:
`---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 5/10/21 12:08 PM
Description: Unexpected error
java.lang.ClassCastException: net.minecraft.item.AirItem cannot be cast to se.mickelus.tetra.items.modular.impl.toolbelt.ModularToolbeltItem
at se.mickelus.tetra.items.modular.impl.toolbelt.inventory.QuickslotInventory.(QuickslotInventory.java:22) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.ToolbeltHelper.getQuickAccessSlotIndex(ToolbeltHelper.java:182) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.OverlayToolbelt.quickEquip(OverlayToolbelt.java:126) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.OverlayToolbelt.hideView(OverlayToolbelt.java:105) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.OverlayToolbelt.onRenderOverlay(OverlayToolbelt.java:81) ~[?:3.10.0] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_187_OverlayToolbelt_onRenderOverlay_Post.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$2539/664136686.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.client.gui.ForgeIngameGui.post(ForgeIngameGui.java:832) ~[?:?] {re:classloading}
at net.minecraftforge.client.gui.ForgeIngameGui.func_238443_a_(ForgeIngameGui.java:365) ~[?:?] {re:classloading}
at net.minecraftforge.client.gui.ForgeIngameGui.func_238445_a_(ForgeIngameGui.java:149) ~[?:?] {re:classloading}
at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:472) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:create.mixins.json:ShaderCloseMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:create.mixins.json:ShaderCloseMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.1.13.jar:36.1] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$444/1317963297.call(Unknown Source) [forge-1.16.5-36.1.13.jar:36.1] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at se.mickelus.tetra.items.modular.impl.toolbelt.inventory.QuickslotInventory.(QuickslotInventory.java:22) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.ToolbeltHelper.getQuickAccessSlotIndex(ToolbeltHelper.java:182) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.OverlayToolbelt.quickEquip(OverlayToolbelt.java:126) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.OverlayToolbelt.hideView(OverlayToolbelt.java:105) ~[?:3.10.0] {re:classloading}
at se.mickelus.tetra.items.modular.impl.toolbelt.OverlayToolbelt.onRenderOverlay(OverlayToolbelt.java:81) ~[?:3.10.0] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_187_OverlayToolbelt_onRenderOverlay_Post.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$2539/664136686.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.client.gui.ForgeIngameGui.post(ForgeIngameGui.java:832) ~[?:?] {re:classloading}
at net.minecraftforge.client.gui.ForgeIngameGui.func_238443_a_(ForgeIngameGui.java:365) ~[?:?] {re:classloading}
at net.minecraftforge.client.gui.ForgeIngameGui.func_238445_a_(ForgeIngameGui.java:149) ~[?:?] {re:classloading}
-- Affected level --
Details:
All players: 1 total; [ClientPlayerEntity['LapizCairo'/14, l='ClientLevel', x=69.02, y=51.00, z=-48.76]]
Chunk stats: Client Chunk Cache: 841, 552
Level dimension: minecraft:the_nether
Level spawn location: World: (-48,4,-256), Chunk: (at 0,0,0 in -3,-16; contains blocks -48,0,-256 to -33,255,-241), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 321062 game time, 1000 day time
Server brand: forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:447) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.sndctrl.json:MixinClientWorld,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2029) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:create.mixins.json:ShaderCloseMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:628) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:create.mixins.json:ShaderCloseMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.1.13.jar:36.1] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$444/1317963297.call(Unknown Source) [forge-1.16.5-36.1.13.jar:36.1] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}
-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2541854704 bytes (2424 MB) / 4294967296 bytes (4096 MB) up to 4294967296 bytes (4096 MB)
CPUs: 4
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
ModLauncher: 8.0.9+86+master.3cf110c
ModLauncher launch target: fmlclient
ModLauncher naming: srg
ModLauncher services:
/mixin-0.8.2.jar mixin PLUGINSERVICE
/eventbus-4.0.0.jar eventbus PLUGINSERVICE
/forge-1.16.5-36.1.13.jar object_holder_definalize PLUGINSERVICE
/forge-1.16.5-36.1.13.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
/forge-1.16.5-36.1.13.jar capability_inject_definalize PLUGINSERVICE
/forge-1.16.5-36.1.13.jar runtimedistcleaner PLUGINSERVICE
/mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE
/forge-1.16.5-36.1.13.jar fml TRANSFORMATIONSERVICE
FML: 36.1
Forge: net.minecraftforge:36.1.13
FML Language Providers:
[email protected]
minecraft@1
Mod List:
forge-1.16.5-36.1.13-client.jar |Minecraft |minecraft |1.16.5 |DONE |NOSIGNATURE
tetra-1.16.5-3.10.0.jar |Tetra |tetra |3.10.0 |DONE |NOSIGNATURE
CraftPresence-Forge-1.16.5-Release-1.7.6.jar |CraftPresence |craftpresence |1.7.6 |DONE |a8:61:b7:97:9b:6f:d3:ba:38:d8:ce:45:6c:4b:8d:fd:ea:84:dd:d1:09:46:5d:5a:4f:c5:03:91:b5:c0:bc:de
forge-1.16.5-36.1.13-universal.jar |Forge |forge |36.1.13 |DONE |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
create-mc1.16.3_v0.3.1.jar |Create |create |mc1.16.5_v0.3.1+122 |DONE |NOSIGNATURE
DynamicSurroundings-1.16.4-4.0.4.1.jar |§3Dynamic Surroundings |dsurround |1.16.4-4.0.4.1 |DONE |b4:98:14:b9:76:55:25:4f:e5:5f:4d:71:90:87:43:5b:f9:d5:3a:02:60:42:5e:da:1f:15:9c:ff:be:a9:7c:77
mgui-1.16.5-3.2.0.jar |mgui |mgui |3.2.0 |DONE |NOSIGNATURE
jei-1.16.5-7.6.1.75.jar |Just Enough Items |jei |7.6.1.75 |DONE |NOSIGNATURE
Crash Report UUID: 0ddaaaa6-b539-4290-94f3-490b6c69f4cb
Launched Version: 1.16.5-forge-36.1.13
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) HD Graphics 620 GL version 4.6.0 - Build 27.20.100.8681, Intel
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: Fabric Mods
Current Language: English (US)
CPU: 4x Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz`
Expected Behaviour
I thought I'm gonna take my netherite shortsword out
Minimal setup needed to reproduce
- Forge version: 1.16.5 latest
- Tetra version: 3.10.0 1.16.5 ver
- Tetra configuration: No configurations made
- Other mods: Create 0.3.1, however it hardly interfered
Steps to reproduce
Go to the nether with a toolbelt filled with items and take them out.
crash-2021-05-10_12.08.21-client.txt