<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:54:03 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>[MC-1320] Dogs wont stop snarling after punched by someone else</title>
                <link>https://bugs.mojang.com/browse/MC-1320</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Dogs wont stop snarling after someone else than the owner punches it, even if you log off or the puncher logs off and-or goes somewhere else&lt;/p&gt;</description>
                <environment>Windows 7, Java 7 64bit</environment>
        <key id="12645">MC-1320</key>
            <summary>Dogs wont stop snarling after punched by someone else</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="1">Fixed</resolution>
                                        <assignee username="evilseph">EvilSeph (Warren Loo)</assignee>
                                    <reporter username="alili1996">Ali</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 Oct 2012 17:01:18 +0100</created>
                <updated>Fri, 20 Apr 2018 22:35:03 +0200</updated>
                            <resolved>Thu, 25 Apr 2013 19:37:05 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.5</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.5.1</version>
                                    <fixVersion>Snapshot 13w18a</fixVersion>
                                                        <votes>7</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="82773" author="feycat" created="Thu, 4 Jul 2013 23:38:32 +0200"  >&lt;p&gt;Not fixed at all. Playing 1.6.1, dogs have been tamed forever, I never hit them and there&apos;s no other players to do so. They don&apos;t despawn, they&apos;re just sitting there growling constantly.&lt;/p&gt;</comment>
                            <comment id="74945" author="3martini" created="Tue, 18 Jun 2013 07:40:17 +0200"  >&lt;p&gt;Still having this in 1.5.2 SMP.&lt;/p&gt;</comment>
                            <comment id="67622" author="piperg" created="Mon, 20 May 2013 20:51:39 +0200"  >&lt;p&gt;This still seems to be a bug in 1.5.2&lt;/p&gt;</comment>
                            <comment id="65083" author="deepicness12345" created="Sat, 4 May 2013 22:21:37 +0200"  >&lt;p&gt;Confirmed in 13w18c.&lt;br/&gt;
My dog won&apos;t stop growling! &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="59576" author="jasondude7116" created="Wed, 10 Apr 2013 02:07:02 +0200"  >&lt;p&gt;Confirmed in 1.5.1 . If a tamed wolf is &quot;angry with&quot;/&quot;attacking&quot; another player, the tamed wolf will remain angry indefinitely. That is even if players log off and back in, or die from the attacking dog. If angry dog is sitting and all players leave the area (area the size of mob spawning radius), the dog/dogs will de-spawn. I&apos;m guessing since they are angry/attacking, they are considered a hostile mob and are de-spawning as such. It is very difficult to keep tamed wolves for this reason.&lt;/p&gt;</comment>
                            <comment id="56348" author="mezum" created="Fri, 22 Mar 2013 19:12:16 +0100"  >&lt;p&gt;Maybe, I found solution for this problem that have plagued us for years.&lt;/p&gt;

&lt;p&gt;In SSP, tamed wolves probably do not growl whatever happens.&lt;br/&gt;
But, on SMP, when the owner of wolves hurt other players or are attacked from them,&lt;br/&gt;
tamed wolves will growl even if they had sat still.&lt;br/&gt;
In addition, when the wolves are angly, they can despawn.&lt;br/&gt;
For that reason, they was gone suddenly...&lt;/p&gt;

&lt;p&gt;&lt;b&gt;step to magic the wolves away:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;tame a wolf&lt;/li&gt;
	&lt;li&gt;sit him&lt;/li&gt;
	&lt;li&gt;attack another player (at this time, he growls sitting there)&lt;/li&gt;
	&lt;li&gt;all players, go to a place which is 200m away from him&lt;/li&gt;
	&lt;li&gt;go back&lt;/li&gt;
	&lt;li&gt;he disappeared...&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I think, the condition that wolf get angry has a mistake.&lt;br/&gt;
Perhaps, This code will work well.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;EntityWolf.java (MCP v7.44: MC 1.5.1)&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void setAttackTarget(EntityLiving par1EntityLiving)
{
    &lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt;.setAttackTarget(par1EntityLiving);

    &lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (par1EntityLiving &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; EntityPlayer)
&lt;/span&gt;    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (par1EntityLiving &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; EntityPlayer &amp;amp;&amp;amp; !&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.isTamed())
    {
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.setAngry(&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="42500" author="defaeco" created="Fri, 1 Feb 2013 21:24:10 +0100"  >&lt;p&gt;Can also ocnfirm this, my minecraft is fully up to date and it&apos;s hard to keep wolves. They also seem to still attack when in this aggressive state, even if they are sitting. &lt;/p&gt;</comment>
                            <comment id="26510" author="bljat" created="Tue, 4 Dec 2012 03:38:46 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="15459" author="jfivat" created="Tue, 30 Oct 2012 17:06:46 +0100"  >&lt;p&gt;I can confirm this. Even after they were not aggressive towards me anymore, they kept growling.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="19425">MC-6657</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20955">MC-8086</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24674">MC-10703</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25557">MC-11422</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26958">MC-12215</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28025">MC-13095</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33226">MC-17237</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12816">MC-1485</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="16791">MC-4345</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="12737">MC-1407</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="30805">MC-15116</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="198861">MC-128718</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 5 Feb 2013 00:45:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10302"><![CDATA[Community Consensus]]></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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i05vi7:</customfieldvalue>

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