The Molang query "query.get_actor_info_id" no longer works on recipes "data" string.
Partner Rank: 3
Partner Team Reporting: Starfish Studios
Verification builds and Platforms:
ver. 1.16.100.50, build 4459742, Win10 and Android
Summary:
The Molang query "query.get_actor_info_id" no longer works in recipes to result in a spawn_egg item getting the actor's id as a data value.
Impact:
This prevents content that uses custom recipes to craft any entity's spawn egg from working properly, resulting in an null spawn egg when crafting.
Repro Steps:
- Download and install the attached behavior pack.
- Join a world with the behavior pack enabled.
- Give yourself a gunpowder /give @s gunpowder.
- Open the player inventory.
- Move the gunpowder from the inventory to the crafting grid.
Observed Results:
A null spawn egg is obtained, and is simply given the name "Spawn".
Expected Results:
A creeper spawn egg must be obtained.
Screenshots/Videos attached: Yes.
Attached a screenshot taken from the recipe JSON file, and a demo behavior pack for the issue repro steps.
It was also linked two videos recorded one in each version of Minecraft for Windows 10, where it shows the repro steps being done in both versions.
- get_actor_info_id working_1.16.20.54.mp4 - Molang query tested in beta version 1.16.20.54, where it works fine.
- get_actor_info_id issue_1.16.100.50.mp4 - Molang query tested in beta version 1.16.100.50, where the issue happens.
Regression Builds:
This worked up until beta 1.16.20.54. Also tested on the latest 1.16.10.02 hotfix.
Notes:
Math functions still work fine in the result object "data" string of the recipe.