Skip to content

[Suggestion]: Add support for DataMaps #4213

@no-name-provided

Description

@no-name-provided

Suggestion

Please add support for searching and displaying ingredients based on their datamap values. Datamaps are a NeoForge feature that generalizes tags, and, like tags, can provide useful information to players. For items, the NeoForge tooltip events can be used to manually add this information. For tags, this information is automatically appended (and searchable). However, there appears to be no side-effect free way to manipulate tooltips on fluid stacks. This is a problem that only arises when a mod displays fluidstacks in a GUI, so I don't anticipate a solution from NeoForge.

Personal motivation: For one of my mods, I would like to display additional information in all contexts, including the search grid, and make this information searchable. Currently, there appears to be no way to add a tooltip (or tooltip callback) to a fluidstack that renders in all contexts. Tags are automatically supported. It would be nice if I could provide a callback that let JEI parse my Datamap, and render sensible, searchable, tooltip lines.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions