Skip to content

Tooltip regists “null” with Prism/Legendarytooltips #130

@ZakoFish

Description

@ZakoFish

Found part of the log in the latest.log

Neoforge 1.21.1; Automobility 0.5.0; prism (1.0.11), legendarytooltips (1.5.5)

[107��2025 17:53:19.990] [Render thread/ERROR] [prism/]: Error getting tooltip for item: 4 automobility:automobile_wheel
[107��2025 17:53:19.992] [Render thread/ERROR] [prism/]: java.lang.NullPointerException: Cannot invoke "net.minecraft.core.HolderLookup$Provider.lookupOrThrow(net.minecraft.resources.ResourceKey)" because "registries" is null
at TRANSFORMER/[email protected]/io.github.foundationgames.automobility.item.AutomobileComponentItem$Dynamic.getComponent(AutomobileComponentItem.java:85)
at TRANSFORMER/[email protected]/io.github.foundationgames.automobility.item.AutomobileComponentItem.appendHoverText(AutomobileComponentItem.java:45)
at TRANSFORMER/[email protected]/net.minecraft.world.item.ItemStack.getTooltipLines(ItemStack.java:770)
at TRANSFORMER/[email protected]/com.anthonyhilyard.prism.item.ItemColors.getColorForItem(ItemColors.java:87)
at TRANSFORMER/[email protected]/com.anthonyhilyard.legendarytooltips.config.LegendaryTooltipsConfig.getDefinitionColors(LegendaryTooltipsConfig.java:501)
at TRANSFORMER/[email protected]/com.anthonyhilyard.legendarytooltips.LegendaryTooltips.onTooltipColorEvent(LegendaryTooltips.java:158)
at TRANSFORMER/[email protected]/com.anthonyhilyard.iceberg.events.client.RenderTooltipEvents.lambda$static$4(RenderTooltipEvents.java:57)
at TRANSFORMER/[email protected]/com.anthonyhilyard.iceberg.neoforge.client.IcebergNeoForgeClient$NeoForgeEvents.tooltipColorEvent(IcebergNeoForgeClient.java:63)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:360)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:328)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.client.ClientHooks.onRenderTooltipColor(ClientHooks.java:807)
at TRANSFORMER/[email protected]/net.minecraft.client.gui.GuiGraphics.renderTooltipInternal(GuiGraphics.java:971)
at TRANSFORMER/[email protected]/net.minecraft.client.gui.GuiGraphics.renderTooltip(GuiGraphics.java:906)
at TRANSFORMER/[email protected]/net.minecraft.client.gui.GuiGraphics.renderTooltip(GuiGraphics.java:900)
at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.inventory.AbstractContainerScreen.renderTooltip(AbstractContainerScreen.java:179)
at TRANSFORMER/[email protected]/net.p3pp3rf1y.sophisticatedcore.client.gui.StorageScreenBase.renderTooltip(StorageScreenBase.java:795)
at TRANSFORMER/[email protected]/net.p3pp3rf1y.sophisticatedcore.client.gui.StorageScreenBase.render(StorageScreenBase.java:526)
at TRANSFORMER/[email protected]/net.p3pp3rf1y.sophisticatedbackpacks.client.gui.BackpackScreen.render(BackpackScreen.java:60)
at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.Screen.renderWithTooltip(Screen.java:112)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.client.ClientHooks.drawScreenInternal(ClientHooks.java:429)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.client.ClientHooks.drawScreen(ClientHooks.java:423)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:1092)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.runTick(Minecraft.java:1195)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.run(Minecraft.java:807)
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:230)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:136)
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:124)
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonClientLaunchHandler.runService(CommonClientLaunchHandler.java:32)
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:118)
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:103)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74)
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.run(BootstrapLauncher.java:210)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112)
at oolloo.jlw.Wrapper.main(Wrapper.java:105)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions