Had Enough Items

Had Enough Items

3M Downloads

`#` Tooltip search not working / inconsistently

Krutoy242 opened this issue ยท 2 comments

commented

Tooltip search (using # prefix) working inconsistently:

  1. Cant find items when prefix search just enable,
  2. After restart or toggling "Ultra Low Memory Usage Mode" it working partially - random items could be found, but other dont.

How to reproduce on E2EE modpack:

  • Tooltip search is set to require_prefix:
    image

  • Not all items that have tooltip actually considering as having tooltip:

image
image

I created new issue since my last report to this thread was not responded.

commented

I can't reproduce this when I:

  • Listened to ItemTooltipEvent and renamed select amount of items to have the tooltip line "#Tank"
  • Turned on required_prefix for tooltips
  • Searching #Tank showed up only the items with that tooltip line.
  • Searching with -##Tank Tank is the same as searching Tank (which is the same as vanilla JustEnoughItems)
commented

Listened to ItemTooltipEvent

I dont know what is ItemTooltipEvent. I'm adding tooltips with CraftTweaker function IIngredient.addTooltip(). But this is not the only case. Sometimes, items cant be found even for modded tooltips, added with Java mod code without using CraftTweaker.

Searching with -##Tank Tank is the same as searching Tank

Maybe i don't understand how search work, but, isnt -##Tank Tank should show Items with name includes "Tank" but tooltip excludes "#Tank"?
But even if im wrong, this still not changing the issue - ##Tank search still not showing items with #Tank in their tooltips.