<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:20:10 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-9164] Chickens can be bred with nether wart, melon seeds, and pumpkin seeds</title>
                <link>https://bugs.mojang.com/browse/MC-9164</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;&lt;b&gt;What I expected to happen was...&lt;/b&gt;&lt;br/&gt;
Chickens would follow melon seeds, pumpkin seeds, and nether wart as they do wheat seeds.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What really happened was...&lt;/b&gt;&lt;br/&gt;
The Chickens ignored all three but could still be bred with them.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;br/&gt;
1. Make a new Creative world.&lt;br/&gt;
2. Spawn a Chicken.&lt;br/&gt;
3. Get melon seeds, pumpkin seeds, and nether wart and hold them in front of the Chicken.&lt;br/&gt;
4. Observe how the Chicken takes no notice, but if you right click it with those seeds it will enter love mode.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22655">MC-9164</key>
            <summary>Chickens can be bred with nether wart, melon seeds, and pumpkin seeds</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="TheMoogle">Mog (Ryan Holtz)</assignee>
                                    <reporter username="chumbanotz">Chumbanotz</reporter>
                        <labels>
                            <label>chickens</label>
                            <label>melon</label>
                            <label>nether</label>
                            <label>pumpkin</label>
                            <label>seeds</label>
                            <label>wart</label>
                    </labels>
                <created>Mon, 4 Feb 2013 01:20:00 +0100</created>
                <updated>Sun, 6 Sep 2015 22:31:24 +0200</updated>
                            <resolved>Sun, 24 Aug 2014 23:42:43 +0200</resolved>
                                    <version>Snapshot 13w05b</version>
                    <version>Snapshot 13w06a</version>
                    <version>Snapshot 13w07a</version>
                    <version>Snapshot 13w09a</version>
                    <version>Snapshot 13w09b</version>
                    <version>Snapshot 13w09c</version>
                    <version>Snapshot 13w10a</version>
                    <version>Snapshot 13w10b</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Snapshot 13w16b</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Snapshot 13w17a</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 1.7.1</version>
                    <version>Minecraft 1.7.2</version>
                    <version>Minecraft 13w48a</version>
                    <version>Minecraft 13w48b</version>
                    <version>Minecraft 13w49a</version>
                    <version>Minecraft 1.7.3</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w06b</version>
                    <version>Minecraft 14w07a</version>
                    <version>Minecraft 14w08a</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 14w10b</version>
                    <version>Minecraft 14w10c</version>
                    <version>Minecraft 14w17a</version>
                    <version>Minecraft 1.8-pre1</version>
                                    <fixVersion>Minecraft 14w34d</fixVersion>
                                                        <votes>13</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="193536" author="galaxy_2alex" created="Sun, 24 Aug 2014 22:20:21 +0200"  >&lt;p&gt;Works As Intended&lt;br/&gt;
From &lt;a href=&quot;https://bugs.mojang.com/browse/MC-68783&quot; title=&quot;Chicken can no longer be bred with anything else than regular seeds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-68783&quot;&gt;&lt;del&gt;MC-68783&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="192324" author="galaxy_2alex" created="Fri, 22 Aug 2014 15:35:01 +0200"  >&lt;p&gt;Reoccurs in 1.8 pre-1&lt;/p&gt;</comment>
                            <comment id="191983" author="dovakhan" created="Thu, 21 Aug 2014 19:58:47 +0200"  >&lt;p&gt;Ah, nice! &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/biggrin.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="191403" author="banana478" created="Wed, 20 Aug 2014 18:34:51 +0200"  >&lt;p&gt;Not sure if any of you who are complaining about the supposed new behavior have actually tested it, but they can&apos;t be bred or led with anything besides wheat seeds now.&lt;/p&gt;</comment>
                            <comment id="191391" author="mooo" created="Wed, 20 Aug 2014 18:08:26 +0200"  >&lt;p&gt;Yeah, for me, the real bug is that they can be bred using these other things, not that they don&apos;t follow them.&lt;br/&gt;
That netherwart is considered a seed by the chickens (for breeding) is a side-effect of how they are implemented, not any kind of logic.&lt;br/&gt;
For the other real seeds, that they can be bred is also a side-effect, but it&apos;s more reasonable, so it&apos;s up to them as to whether they should work or not. But it should still be consistent between following and breeding.&lt;/p&gt;</comment>
                            <comment id="191361" author="colorfusion" created="Wed, 20 Aug 2014 17:11:54 +0200"  >&lt;p&gt;@Atom clark      @Felipe Fernandez&lt;br/&gt;
They could be bred with them already since quite a while ago. If they can be bred with them, it only makes sense to also follow them. &lt;/p&gt;</comment>
                            <comment id="191356" author="dovakhan" created="Wed, 20 Aug 2014 16:54:06 +0200"  >&lt;p&gt;I can understand melon and pumpkin seeds, but Nether Wart? Since when chickens eat mushrooms/fungus? (or if they do, since when they&apos;re known for doing that?).&lt;/p&gt;</comment>
                            <comment id="191308" author="pneuma" created="Wed, 20 Aug 2014 16:11:42 +0200"  >&lt;p&gt;Is this really fixed ?&lt;/p&gt;</comment>
                            <comment id="191194" author="atomclk00" created="Wed, 20 Aug 2014 11:58:29 +0200"  >&lt;p&gt;i don&apos;t think they should follow nether warts, they aren&apos;t exactly &apos;seeds&apos;, their more just a plant that grows somewhere where you don&apos;t even get chickens (with the exception of Chicken Jockeys where the rider is a baby pitman, but thats too rare to be considered)&lt;/p&gt;</comment>
                            <comment id="152768" author="garyclosse" created="Sat, 26 Apr 2014 12:07:26 +0200"  >&lt;p&gt;Confirmed for 14w17a&lt;/p&gt;</comment>
                            <comment id="146247" author="garyclosse" created="Tue, 11 Mar 2014 17:52:52 +0100"  >&lt;p&gt;Confirmed for 1.7.5 and 14w10c&lt;/p&gt;</comment>
                            <comment id="142817" author="garyclosse" created="Mon, 24 Feb 2014 12:00:14 +0100"  >&lt;p&gt;Confirmed for 08a&lt;/p&gt;</comment>
                            <comment id="128369" author="bochen415" created="Mon, 30 Dec 2013 16:43:11 +0100"  >&lt;p&gt;Is this issue still in 1.7.4 in survival or it&apos;s just my chickens preference?&lt;/p&gt;</comment>
                            <comment id="44754" author="bugi74" created="Sat, 9 Feb 2013 15:40:25 +0100"  >&lt;p&gt;Chickens eat quite a bit of stuff, not just wheat seed. However, not knowing what the nether stuff really is or how chickens would like it, I&apos;ll only say the same &quot;seems strange to me&quot;. Also, I know what melon seeds are like, and I would think chickens wouldn&apos;t be that happy about eating them.&lt;/p&gt;

&lt;p&gt;The change to drop nether wart from follow-effect (with my fixes) and edibles (would need a change still) is easy.&lt;/p&gt;

&lt;p&gt;Also, simply dropping back to single seed (wheat&apos;s) would be just fine. However, I still think the change to allow multiple food items for tempting and breeding would be sensible in general, and just use it differently for different animals. Especially for pigs which eat just about anything. (Same seems to apply to some dogs, but that is another story.)&lt;/p&gt;</comment>
                            <comment id="44741" author="mooo" created="Sat, 9 Feb 2013 14:02:07 +0100"  >&lt;p&gt;Chickens eating nether warts would seem strange to me... I&apos;d also say they&apos;re only &quot;seeds&quot; for implementation reasons.&lt;br/&gt;
Maybe instead of changing the luring to match the breeding, the opposite would be more sensible?&lt;/p&gt;</comment>
                            <comment id="44124" author="bugi74" created="Thu, 7 Feb 2013 00:49:30 +0100"  >&lt;p&gt;Chicken&apos;s code checks the item used for breeding to be any kind of seed (all seed items inherit ItemSeeds class). However, the AI task responsible for detecting and following the player with seeds in hand defines only one acceptable item type; not by class or a list of IDs.&lt;/p&gt;

&lt;p&gt;Possible fixes are either adding more tasks (each configured with different seed type) or adjusting the task implementation to allow a list of different seed types. I like the latter better...&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Current code&lt;/b&gt;&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;EntityAITempt&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;private&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; breedingFood; &lt;span class=&quot;code-comment&quot;&gt;// &amp;lt;-- will be changed
&lt;/span&gt;    ...
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; EntityAITempt(EntityCreature creature, &lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt; par2, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; breedingFoodId, &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; par4) {
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.temptedEntity = creature;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.field_75282_b = par2;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.breedingFood = breedingFoodId; &lt;span class=&quot;code-comment&quot;&gt;// &amp;lt;-- will be changed
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.scaredByPlayerMovement = par4;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.setMutexBits(3);
    }
    ...
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; shouldExecute() {
                ...
                ItemStack var1 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.temptingPlayer.getCurrentEquippedItem();
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; var1 == &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; ? &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt; : var1.itemID == &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.breedingFood; &lt;span class=&quot;code-comment&quot;&gt;// &amp;lt;-- will be changed
&lt;/span&gt;            }
        }
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;EntityChicken&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; EntityChicken(World world) {
        ...
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.tasks.addTask(3, &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; EntityAITempt(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;, 0.25F, Item.seeds.itemID, &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;));
        ...
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;b&gt;Fix&lt;/b&gt;&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;EntityAITempt&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;private&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;[] breedingFoods; &lt;span class=&quot;code-comment&quot;&gt;// &amp;lt;-- part of fix
&lt;/span&gt;    ...
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; EntityAITempt(EntityCreature creature, &lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt; par2, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; breedingFoodId, &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; par4) {
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.temptedEntity = creature;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.field_75282_b = par2;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.breedingFoods = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;[] { breedingFoodId }; &lt;span class=&quot;code-comment&quot;&gt;// &amp;lt;-- part of fix
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.scaredByPlayerMovement = par4;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.setMutexBits(3);
    }
    &lt;span class=&quot;code-comment&quot;&gt;// New method
&lt;/span&gt;    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; EntityAITempt(EntityCreature par1EntityCreature, &lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt; par2, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;[] breedingFoodIds, &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; par4) {
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.temptedEntity = par1EntityCreature;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.field_75282_b = par2;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.breedingFoods = breedingFoodIds;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.scaredByPlayerMovement = par4;
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.setMutexBits(3);
    }
    ...
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; shouldExecute() {
                ...
                ItemStack var1 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.temptingPlayer.getCurrentEquippedItem();
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (var1 == &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;)
                    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
                &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; i = 0; i &amp;lt; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.breedingFoods.length; i++)
                    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (var1.itemID == &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.breedingFoods[i])
                        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
                &lt;span class=&quot;code-keyword&quot;&gt;return&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;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;EntityChicken&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; EntityChicken(World world) {
        ...
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.tasks.addTask(3, &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; EntityAITempt(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;, 0.25F, &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;[] { Item.seeds.itemID, Item.melonSeeds.itemID, Item.netherStalkSeeds.itemID, Item.pumpkinSeeds.itemID }, &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;));
        ...
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Changes tested on 1.4.7 and they work. Now where did I put that lava bucket, too many chickens love me...&lt;/p&gt;</comment>
                            <comment id="43956" author="bljat" created="Wed, 6 Feb 2013 15:03:19 +0100"  >&lt;p&gt;Added Nether Wart.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27146">MC-12314</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32965">MC-17027</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="93583">MC-66087</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12514">MC-1200</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="96387">MC-68783</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>Mon, 4 Feb 2013 01:22: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_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0e8p3:</customfieldvalue>

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