Skip to content

Spotlight pages dont display tooltip component #317

@thomasglasser

Description

@thomasglasser

Describe the bug
When an itemstack has a TooltipComponent, it is not rendered in the tooltip in the book.

To Reproduce
Steps to reproduce the behavior:

  1. Make a spotlight page
  2. Give the item bundle contents
  3. View item

Expected behavior
The bundle contents show up.

Screenshots
Image

System (please complete the following information):

  • Modonomicon Version: 1.117.2
  • OS: Windows 11
  • Minecraft Version: 1.21.1

Additional context
It seems to be because the method for rendering the tooltip doesnt collect the component like the methods in GuiGraphics do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions