<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:16:42 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>[MCPE-17759] Some entity .json files are invalid - contain behaviors with the same priority level</title>
                <link>https://bugs.mojang.com/browse/MCPE-17759</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;UPDATE: cavespider.json and spider.json also have this same issue.&lt;/p&gt;

&lt;p&gt;Behaviors in the entity behavior .json format shouldn&apos;t have the same priority level as other behaviors in the same .json. But that is exactly what happens in the official vanilla zombie.json, which you can find in C:\Program Files\WindowsApps\Microsoft.MinecraftUWP_0.1600.5.0_x64__8wekyb3d8bbwe\data\resourcepacks\vanilla\server\entities if you are using Windows 10 Edition.&lt;/p&gt;

&lt;p&gt;Here is the broken part of the vanilla zombie.json:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:behavior.hurt_by_target&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;priority&quot;&lt;/span&gt;: 3
      },
      &lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:behavior.melee_attack&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;priority&quot;&lt;/span&gt;: 3,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;speed_multiplier&quot;&lt;/span&gt;: 1,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;track_target&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;
      },
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This also happens here:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:behavior.look_at_player&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;priority&quot;&lt;/span&gt;: 7,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;look_distance&quot;&lt;/span&gt;: 6,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;probability&quot;&lt;/span&gt;: 0.02
      },
      &lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:behavior.random_look_around&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;priority&quot;&lt;/span&gt;: 7
      },
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;It is possible that this is not the only instance of mistakes in the official entity .json files&lt;/b&gt;, but this is the only one I&apos;ve found so far. Let me know in the comments if you find more. For some reason it doesn&apos;t crash the game, but resource packs using their own zombie.json that hasn&apos;t had this error fixed will not apply all their behaviors correctly&lt;/p&gt;

&lt;p&gt;The correct fix for this would be to make &quot;minecraft:behavior.hurt_by_target&quot; have a priority level of 2, and for &quot;minecraft:behavior.random_look_around&quot; to have a priority level of 8.&lt;/p&gt;</description>
            <key id="152944">MCPE-17759</key>
            <summary>Some entity .json files are invalid - contain behaviors with the same priority level</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>
                                            <reporter username="SuperGeniusZeb">Zeb</reporter>
                        <labels>
                            <label>add-on</label>
                            <label>behavior-pack</label>
                            <label>cave_spider</label>
                            <label>spider</label>
                            <label>zombie</label>
                    </labels>
                <created>Thu, 27 Oct 2016 21:24:30 +0200</created>
                <updated>Sun, 11 Jun 2017 21:21:09 +0200</updated>
                            <resolved>Fri, 23 Dec 2016 21:45:13 +0100</resolved>
                                    <version>0.16.0</version>
                    <version>0.16.1</version>
                    <version>0.17.0.1</version>
                    <version>1.0.0.1</version>
                                                                        <votes>1</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="350514" author="zebulanstanphill@gmail.com" created="Fri, 23 Dec 2016 21:45:13 +0100"  >&lt;p&gt;Turns out I was wrong... if 2 behaviors have the same priority, which one goes first is somewhat randomized. The problems I was having with add-ons were because of my own mistakes... and possibly a few small bugs that seem to be fixed now? Anyway, this was never a bug. Closing as invalid.&lt;/p&gt;</comment>
                            <comment id="338623" author="depressed-pho" created="Fri, 28 Oct 2016 11:41:22 +0200"  >&lt;p&gt;cavespider.json and spider.json both have the same issue.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="152202">MCPE-17536</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 9 Dec 2016 19:12:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <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_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11300" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>Operating System Version</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Windows 10 Version 1607</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10402" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Platform</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10901"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i07gq7:</customfieldvalue>

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