<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 08:21:01 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-18223] is_sneaking == true can no longer be combined with has_equipement in Behavior Packs</title>
                <link>https://bugs.mojang.com/browse/BDS-18223</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;Attempting to combine a check for is_sneaking true can no longer be combined with a has_equipement check.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;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 &quot;interactions&quot; all_of check to:&lt;/p&gt;


&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; { &quot;test&quot;: &quot;has_equipment&quot;, &quot;subject&quot;: &quot;other&quot;, &quot;domain&quot;: &quot;hand&quot;, &quot;value&quot;: &quot;shears&quot;},&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; { &quot;test&quot;: &quot;is_family&quot;, &quot;subject&quot;: &quot;other&quot;, &quot;value&quot;: &quot;player&quot;},&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; { &quot;test&quot;: &quot;is_sneaking&quot;, &quot;subject&quot;: &quot;other&quot;, &quot;value&quot;: true },&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; { &quot;test&quot;: &quot;has_component&quot;, &quot;operator&quot;: &quot;!=&quot;, &quot;value&quot;: &quot;minecraft:is_sheared&quot;}&lt;/p&gt;

&lt;p&gt;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 &quot;any.&quot;&lt;/p&gt;

&lt;p&gt;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.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="530146">BDS-18223</key>
            <summary>is_sneaking == true can no longer be combined with has_equipement in Behavior Packs</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="7">Invalid</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Mykroft">Mykroft</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Mar 2023 17:45:20 +0100</created>
                <updated>Wed, 22 Mar 2023 18:12:57 +0100</updated>
                            <resolved>Wed, 22 Mar 2023 18:12:57 +0100</resolved>
                                    <version>1.19.71</version>
                                                            <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="1246054" author="JIRAUSER484247" created="Wed, 22 Mar 2023 18:12:57 +0100"  >&lt;p&gt;No problem, I&apos;ll just resolve this one as Invalid.&lt;/p&gt;</comment>
                            <comment id="1246039" author="JIRAUSER718589" created="Wed, 22 Mar 2023 17:46:22 +0100"  >&lt;p&gt;My apologies - this was accidently opened against BDS when it should be against vanilla Bedrock. This is a duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-168797&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://bugs.mojang.com/browse/MCPE-168797&lt;/a&gt;, which is in the correct project.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12700" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Description</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>[Briefly describe the bug here]&lt;br/&gt;
&lt;br/&gt;
*Steps to Reproduce:*&lt;br/&gt;
# [Step 1]&lt;br/&gt;
# [Step 2]&lt;br/&gt;
# [Step 3]&lt;br/&gt;
&lt;br/&gt;
*Observed Results:*&lt;br/&gt;
[Describe what happens]&lt;br/&gt;
&lt;br/&gt;
*Expected Results:*&lt;br/&gt;
[Describe what should happen]&lt;br/&gt;
&lt;br/&gt;
*Screenshots/Videos attached:* [please attach an image or short video]&lt;br/&gt;
&lt;br/&gt;
*Notes:*</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i2cubz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>