Closed lwskosa closed 1 year ago
That seems to be because the mod checks if the id of an item contains the search text and because vanilla minecraft uses minecraft:beef
for Raw Beef
and minecraft:cooked_beef
for Steak
. This means that searching for Steak
wont find the item as the identifier for Steak
is minecraft:cooked_beef
.
One way I can think of to solve this is to translate the name of the item and then check for a match with the search term. That way people could also search for items in their native language and it would still work.
Example:
Scenario:
Player has enough EMC to afford items
steak
does not find itembeef
finds bothBeef
andSteak
itemsSame pattern is present with other items, search is not very reliable