[0.5.0] Beepedia crash
Rottastic opened this issue ยท 3 comments
Modpack version
0.5.0
Describe the bug
While using the Beepedia to access potential Children of the Zombee, attempting to turn to page 2/3 causes a client crash.
If anyone could check if this is still an issue with Optifine + 0.5.11 that'd be great ๐
I'm also getting this issue, not using Optifine or any other performance mod. Happens with any bee that has multiple children. Here's the error that appears in the logs:
java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:4456) ~[?:1.8.0_242] {}
at com.resourcefulbees.resourcefulbees.client.gui.screen.beepedia.pages.BreedingPage$BreedingObject.drawParent2Item(BreedingPage.java:412) ~[resourcefulbees:1.16.5-0.6.7.2b] {re:classloading}
at com.resourcefulbees.resourcefulbees.client.gui.screen.beepedia.pages.BreedingPage$BreedingObject.draw(BreedingPage.java:453) ~[resourcefulbees:1.16.5-0.6.7.2b] {re:classloading}
at com.resourcefulbees.resourcefulbees.client.gui.screen.beepedia.pages.BreedingPage.renderForeground(BreedingPage.java:244) ~[resourcefulbees:1.16.5-0.6.7.2b] {re:classloading}
at com.resourcefulbees.resourcefulbees.client.gui.screen.beepedia.pages.BeePage.renderForeground(BeePage.java:166) ~[resourcefulbees:1.16.5-0.6.7.2b] {re:classloading}
at com.resourcefulbees.resourcefulbees.client.gui.screen.beepedia.BeepediaScreen.drawForeground(BeepediaScreen.java:377) ~[resourcefulbees:1.16.5-0.6.7.2b] {re:classloading}
at com.resourcefulbees.resourcefulbees.client.gui.screen.beepedia.BeepediaScreen.func_230430_a_(BeepediaScreen.java:312) ~[resourcefulbees:1.16.5-0.6.7.2b] {re:classloading}
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:299) ~[forge:?] {re:classloading,re:mixin}
at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:492) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:astralsorcery:reach_set_client_renderer,pl:mixin:APP:create.mixins.json:StoreProjectionMatrixMixin,pl:mixin:A,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:randompatches.mixins.json:client.MinecraftMixin,pl:mixin:APP:betterendforge.mixins.json:MinecraftMixin,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMinecraft,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:randompatches.mixins.json:client.MinecraftMixin,pl:mixin:APP:betterendforge.mixins.json:MinecraftMixin,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMinecraft,pl:mixin:APP:create.mixins.json:ShaderCloseMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) ~[1.16.5.jar:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242] {}
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.16.5-36.1.31.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:?] {re:classloading}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {re:classloading}
It's possible this is related to another issue I've run into, where several bees don't have breeding items? Skeleton Bees and Zombees in particular have this issue and are what crashed me.