Attempting to combine a check for is_sneaking true can no longer be combined with a has_equipement check.
A simple repro is to create a new behavior pack with the default snow_golem entity from the 1.19.70.2 samples pack. Change the "interactions" all_of check to:
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
{ "test": "is_family", "subject": "other", "value": "player"},
{ "test": "is_sneaking", "subject": "other", "value": true },
{ "test": "has_component", "operator": "!=", "value": "minecraft:is_sheared"}
The expected result here is that the Snow Golem can only be sheared when crouching. The observed result is that the Snow Golem cannot be sheared at all. This also reproduces if the has_equipment domain is changed to "any."
If the conditions are changed to remove has_equipment and keep is_sneaking == true, then the Snow Golem can be sheared when crouching as expected.
Thank you for your report!
We're tracking this issue in MCPE-168449, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.