mojira.dev
MCPE-244363

query.is_item_name_any logs content error when called on the dressing room paperdoll

Steps to Reproduce:

  1. Navigate to the “Creator” tab in the settings

  2. Toggle on “Show content log UI”

  3. Apply the attached resource pack

  4. Navigate to the main menu, dressing room or game menu

Observed Results:
query.is_item_name_any returns false and logs a content error, and query.get_equipped_item_name silently returns false.

Expected Results:
Both queries log errors, or neither of them do.

Notes: Despite being deprecated, query.get_equipped_item_name is still used in the latest versions of Minecraft, and in the latest preview versions for 26.70, new variables are defined with it that are also loaded on the paperdoll. If one were to replace all instances of the deprecated query with query.is_item_name_any, as recommended by the official documentation, they’d get hit with this error.

Linked issues

Attachments

Comments 1

[Mod] LateLag

(Unassigned)

Unconfirmed

Multiple

26.70.24 Preview, 26.60

Retrieved