<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:24:26 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-19753] &quot;minecraft:behavior.ocelotattack&quot; component ignores attack damage value set by &quot;minecraft:attack&quot;</title>
                <link>https://bugs.mojang.com/browse/MCPE-19753</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;&lt;b&gt;Original Description:&lt;/b&gt;&lt;br/&gt;
No matter what I cannot change the attack damage or health max for ocelots. My json changes work on virtually all other mobs, but not for this one. Very annoying. &lt;/p&gt;

&lt;p&gt;Please look into this. Thanks.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Edit by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=SuperGeniusZeb&quot; class=&quot;user-hover&quot; rel=&quot;SuperGeniusZeb&quot;&gt;SuperGeniusZeb&lt;/a&gt;:&lt;/b&gt;&lt;br/&gt;
This bug is caused by the fact that ocelots attack using the &quot;minecraft:behavior.ocelotattack&quot; component, which does not respect the attack damage values set by the &quot;minecraft:attack&quot; component.&lt;/p&gt;

&lt;p&gt;The vanilla ocelot.json also contains a typo with its &quot;minecraft:attack&quot; component, &lt;b&gt;but fixing it does NOT fix this bug.&lt;/b&gt; (But this typo still needs to be fixed as well, obviously.):&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:attack_damage&quot;&lt;/span&gt;: {
	&lt;span class=&quot;code-quote&quot;&gt;&quot;value&quot;&lt;/span&gt;: 4
},&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This snippet &lt;b&gt;should&lt;/b&gt; be:&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:attack&quot;&lt;/span&gt;: {
	&lt;span class=&quot;code-quote&quot;&gt;&quot;damage&quot;&lt;/span&gt;: 4
},&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
            <key id="160541">MCPE-19753</key>
            <summary>&quot;minecraft:behavior.ocelotattack&quot; component ignores attack damage value set by &quot;minecraft:attack&quot;</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="5">Cannot Reproduce</resolution>
                                            <reporter username="Ezra101">Cecil McIntosh</reporter>
                        <labels>
                            <label>add-on</label>
                            <label>behavior-pack</label>
                            <label>ocelot</label>
                    </labels>
                <created>Sun, 15 Jan 2017 22:32:27 +0100</created>
                <updated>Tue, 27 Mar 2018 16:43:15 +0200</updated>
                            <resolved>Tue, 27 Mar 2018 16:43:15 +0200</resolved>
                                    <version>1.0.1</version>
                    <version>1.0.4.11</version>
                                                                        <votes>1</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="443221" author="mega_spud" created="Tue, 27 Mar 2018 16:43:15 +0200"  >&lt;p&gt;Cleaning up old tickets:  This ticket has not been updated recently (1 year+) so is being closed as &lt;em&gt;Cannot Reproduce&lt;/em&gt;.  If you feel this is still a valid issue then please comment, or create a new ticket following the &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; title=&quot;How To Write helpful bug reports&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; title=&quot;How To Write Awesome Tickets! &#128175;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://www.reddit.com/r/MCPE/&quot; title=&quot;Help From the Minecraft Community &#128377;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://feedback.minecraft.net/&quot; title=&quot;Feedback and Suggestions &#9997;&#65039;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;http://minecraft.gamepedia.com/Minecraft_Wiki&quot; title=&quot;Official Minecraft Wiki &#127891;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Game Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="373441" author="zebulanstanphill@gmail.com" created="Thu, 23 Mar 2017 00:40:08 +0100"  >&lt;p&gt;Revised title &amp;amp; description to be more descriptive and explain the root cause of the bug.&lt;/p&gt;</comment>
                            <comment id="355283" author="ezra101" created="Sat, 21 Jan 2017 18:16:24 +0100"  >&lt;p&gt;Yup sorry for the false info on health. The health does work, it is just the attack damage.&lt;/p&gt;</comment>
                            <comment id="354515" author="zebulanstanphill@gmail.com" created="Mon, 16 Jan 2017 15:13:25 +0100"  >&lt;p&gt;I can confirm the attack damage of ocelots cannot be changed. However, I believe you may be making a mistake in changing the health value. You mention &quot;max health&quot;. Keep in mind that the max value for health is a value used for limiting the amount of health the mobs can receive from positive mob effects... NOT the amount of health it spawns with. The ocelots health value it normally has is unaffected by the &quot;max&quot; parameter, and is instead controlled by the &quot;value&quot; parameter.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if the &quot;max&quot; parameter controls how big the health bar for a mob is, while the &quot;value&quot; param controls how much it spawns with (which would mean healing potions could increase its health to the max limit); or if the &quot;value&quot; param controls the normal health bar size, and the &quot;max&quot; param controls how big the bar can get due to effects like Health Boost. (Is that even in MCPE yet?)&lt;/p&gt;</comment>
                            <comment id="354497" author="mega_spud" created="Mon, 16 Jan 2017 13:19:43 +0100"  >&lt;p&gt;Are you sure you&apos;re editing the correct fields for the health?  I was able to change the health value for both tamed and untamed ocelots and it worked.&lt;/p&gt;

&lt;p&gt;I think the attack damage is not working correctly though; I set ocelots to attack cows, and they would kill the cow in four hits every time, whether the attack damage was set to 4, 400, or 4000&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 23 Mar 2017 00:33:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></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</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|i0e0gn:</customfieldvalue>

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