Gateways to Eternity

Gateways to Eternity

20M Downloads

Apotheotic Gate Pearl breaks JEI tooltips

Solego opened this issue ยท 5 comments

commented

When looking at the tooltip for the Apotheotic Boss gate pearl, if you scroll to look at any wave beyond the first in the tooltip, JEI will error out and stop displaying tooltips for all items (Tooltip Error, See Logs) until client restart. Log details below:

-- Ingredient --
Details:
Name: Gate Pearl - Small Apothic Boss Gate
Mod's Name: Gateways To Eternity
Registry Name: gateways:gate_pearl
Class Name: class net.minecraft.world.item.ItemStack
toString Name: 1 gate_pearl
Unique Id for JEI (for JEI Blacklist): gateways:gate_pearl:apotheosis:boss_gate_small
Ingredient Type for JEI: class net.minecraft.world.item.ItemStack
Error Info gathered from JEI: 1 gate_pearl gateways:gate_pearl nbt:{gateway:"apotheosis:boss_gate_small"}

-- Stack Trace --

java.lang.NullPointerException: Cannot invoke "dev.shadowsoffire.apotheosis.adventure.boss.ApothBoss.getEntity()" because the return value of "java.util.function.Supplier.get()" is null
at TRANSFORMER/[email protected]/dev.shadowsoffire.apotheosis.adventure.compat.GatewaysCompat$BossWaveEntity.getDescription(GatewaysCompat.java:69)
at TRANSFORMER/[email protected]/dev.shadowsoffire.gateways.client.NormalGateClient.appendPearlTooltip(NormalGateClient.java:54)
at TRANSFORMER/[email protected]/dev.shadowsoffire.gateways.gate.normal.NormalGateway.appendPearlTooltip(NormalGateway.java:61)
at TRANSFORMER/[email protected]/dev.shadowsoffire.gateways.item.GatePearlItem.m_7373_(GatePearlItem.java:101)
at TRANSFORMER/[email protected]/net.minecraft.world.item.ItemStack.m_41651_(ItemStack.java:631)
at TRANSFORMER/[email protected]/mezz.jei.library.render.ItemStackRenderer.getTooltip(ItemStackRenderer.java:36)
at TRANSFORMER/[email protected]/mezz.jei.library.render.ItemStackRenderer.getTooltip(ItemStackRenderer.java:18)
at TRANSFORMER/[email protected]/mezz.jei.common.util.SafeIngredientUtil.getTooltip(SafeIngredientUtil.java:56)
at TRANSFORMER/[email protected]/mezz.jei.common.util.SafeIngredientUtil.getTooltip(SafeIngredientUtil.java:45)
at TRANSFORMER/[email protected]/mezz.jei.gui.overlay.IngredientGridTooltipHelper.getTooltip(IngredientGridTooltipHelper.java:60)
at TRANSFORMER/[email protected]/mezz.jei.gui.overlay.IngredientGridTooltipHelper.drawTooltip(IngredientGridTooltipHelper.java:55)
at TRANSFORMER/[email protected]/mezz.jei.gui.overlay.IngredientGrid.lambda$drawTooltips$4(IngredientGrid.java:184)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at TRANSFORMER/[email protected]/mezz.jei.gui.overlay.IngredientGrid.drawTooltips(IngredientGrid.java:184)
at TRANSFORMER/[email protected]/mezz.jei.gui.overlay.IngredientGridWithNavigation.drawTooltips(IngredientGridWithNavigation.java:246)
at TRANSFORMER/[email protected]/mezz.jei.gui.overlay.IngredientListOverlay.drawTooltips(IngredientListOverlay.java:183)
at TRANSFORMER/[email protected]/mezz.jei.gui.events.GuiEventHandler.onDrawScreenPost(GuiEventHandler.java:127)
at TRANSFORMER/[email protected]/mezz.jei.forge.startup.EventRegistration.lambda$registerGuiHandler$14(EventRegistration.java:112)
at TRANSFORMER/[email protected]/mezz.jei.core.util.WeakConsumer.accept(WeakConsumer.java:17)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/[email protected]/net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:428)
at TRANSFORMER/[email protected]/net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:420)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:965)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718)
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:218)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:108)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:78)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)

commented

I'm having the same issue, Gateways v4.2.3, Apotheosis v7.3.0, ATM9 - No Frills v0.1.8

commented

This support is managed by Apotheosis (so it needs to be reported on that repo), though I've known that pearl to be broken for a while. I should probably just ship it disabled.

commented

The modpack in use is ATM9 v2.41, standard configuration, no custom wonkiness from my end here.

commented

I have the same issue and i found out the problem. I forgot to install this mod on the server. and when i joined with my game, i dont get rejected and am able to join the game until my entire computer hangs and game crashes.
i fixed it by having the mod both sides and i get no tooltip error anymore

commented

So this is specific to JUST the Apotheotic pearl. All other pearls function correctly. I had just updated the server using the ATM9 server files, and confirmed that all relevant mods are in the server mod folder. Gateways To Eternity and Apotheosis. I do not know if this is a new issue as of 2.41, or if it has always been an issue, I only started getting into the pearls after the update.