Mojira Archive
MCM-1516

Molang Queries "position" and "is_item_name_any" throw content log errors when used on player

Partner Rank: 3

Partner Team Reporting:

Spark Universe

Verification builds:

1.18.20, 1.18.30 Windows 10

Summary:

Molang Queries "position" and "is_item_name_any" throw content log errors when used on player and the player is rendered in the pause menu.

Impact:

Causes content log errors on several upcoming pieces of content

Repro Steps:

  1. Enable Content Log GUI in the "Creator" settings
  2. Place the attached player animation file in the "animations" folder of a resource pack
  3. Enter the game with the resource pack enabled
  4. Open the Pause screen by pressing ESC

Observed Results:

An error message appears in content log:

Error: query.is_item_name_any called without a specified entity

Expected Results:

No error should appear

Screenshots/Videos attached: Yes

Regression Builds:

-

Notes:

I noticed that it affects the queries "position" and "is_item_name_any". It probably affects some other queries as well.

Unresolved

Jannis T

2022-03-14, 08:28 PM

2024-03-06, 10:42 PM

12

7

Future Release

-