<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:04:43 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-4482] Saplings placed on Farmland are not affected by Bonemeal</title>
                <link>https://bugs.mojang.com/browse/MC-4482</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;You can&apos;t use bone meal on a sapling placed on tilled dirt. If you try, one bone meal will be consumed but nothing will happen.&lt;/p&gt;

&lt;p&gt;Tried on both 1.4.5 and 1.4.6&lt;/p&gt;</description>
                <environment>Java 7&lt;br/&gt;
Mac OS X 10.7.5</environment>
        <key id="16998">MC-4482</key>
            <summary>Saplings placed on Farmland are not affected by Bonemeal</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="firehunterx">FireHunterX</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Dec 2012 00:14:26 +0100</created>
                <updated>Tue, 23 Sep 2014 04:36:54 +0200</updated>
                            <resolved>Wed, 28 Aug 2013 16:48:41 +0200</resolved>
                                    <version>Minecraft 1.4.5</version>
                    <version>Snapshot 12w49a</version>
                    <version>Snapshot 12w50a</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w04a</version>
                    <version>Snapshot 13w09a</version>
                    <version>Snapshot 13w09b</version>
                    <version>Snapshot 13w09c</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Minecraft 1.6.2</version>
                                    <fixVersion>Minecraft 13w36a</fixVersion>
                                                        <votes>5</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="201248" author="eclipseye" created="Tue, 23 Sep 2014 04:36:54 +0200"  >&lt;p&gt;@Sonicwave yeah... it would depend on the sapling, anyway, I followed @Kumasasa &apos;s advice and posted it on the minecraftsuggestions reddit &lt;a href=&quot;http://www.reddit.com/r/minecraftsuggestions/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.reddit.com/r/minecraftsuggestions/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="201246" author="ericz1" created="Tue, 23 Sep 2014 04:17:06 +0200"  >&lt;p&gt;@EclipsEyE: I believe that you can place saplings in flower pots without them growing (not the same thing, but the closest to it I guess).&lt;/p&gt;</comment>
                            <comment id="201222" author="eclipseye" created="Mon, 22 Sep 2014 23:46:06 +0200"  >&lt;p&gt;@Kumasasa btw, do you know how hard it would be to re-implement this coding-wise?&lt;/p&gt;</comment>
                            <comment id="201219" author="kumasasa" created="Mon, 22 Sep 2014 23:37:48 +0200"  >&lt;p&gt;This is unlikely yet not impossible &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/tongue.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="201215" author="eclipseye" created="Mon, 22 Sep 2014 23:32:28 +0200"  >&lt;p&gt;@Kumasasa random thought, if it were to be reimplemented via minecraftsuggestions, will it be ensured that it won&apos;t just be seen as a bug by someone and re-reported as a bug and have it removed again?&lt;/p&gt;</comment>
                            <comment id="198909" author="eclipseye" created="Mon, 8 Sep 2014 22:19:13 +0200"  >&lt;p&gt;That poster rings so true&lt;/p&gt;</comment>
                            <comment id="198908" author="eclipseye" created="Mon, 8 Sep 2014 22:17:49 +0200"  >&lt;p&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;Mod&amp;#93;&lt;/span&gt; Kumasasa I personally never saw it as a bug because I figured it was doing no harm, any way thanks for the link.&lt;/p&gt;</comment>
                            <comment id="198907" author="kumasasa" created="Mon, 8 Sep 2014 22:15:24 +0200"  >&lt;p&gt;@&lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=EclipsEyE&quot; class=&quot;user-hover&quot; rel=&quot;EclipsEyE&quot;&gt;EclipsEyE&lt;/a&gt;: This was a bug and was fixed and it will not be reverted. &lt;br/&gt;
You may of course request a feature change at &lt;a href=&quot;http://www.reddit.com/r/minecraftsuggestions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Minecraft Suggestions on Reddit&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;http://imgs.xkcd.com/comics/workflow.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
&lt;a href=&quot;http://xkcd.com/1172/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://xkcd.com/1172/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="198874" author="eclipseye" created="Mon, 8 Sep 2014 18:50:18 +0200"  >&lt;p&gt;I was using this &quot;issue&quot; as a feature for decoration and landscaping, and now I can&apos;t anymore.  I would like to know how I could reopen this and request mojang to reverse it for those of us that like to use it for aesthetic purposes.  I&apos;m a bit late to the party as I&apos;ve only just updated to 1.8 and only recently learned about this site.&lt;/p&gt;</comment>
                            <comment id="63475" author="firehunterx" created="Fri, 26 Apr 2013 13:34:06 +0200"  >&lt;p&gt;@Markku: I wouldn&apos;t assume that they didn&apos;t update the code, I would assume that it was an oversight. People don&apos;t really put saplings on farmland.&lt;/p&gt;</comment>
                            <comment id="48995" author="bugi74" created="Sat, 2 Mar 2013 12:26:05 +0100"  >&lt;p&gt;&lt;b&gt;Fixes&lt;/b&gt;&lt;br/&gt;
(Note, the reversed logic is just to reduce indentation for the code that follows. If the y check is also removed, it was unnecessary (as there is already one earlier).)&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;WorldGenTrees.generate()&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;        ...
        blockId = world.getBlockId(x, y - 1, z);
        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((blockId == Block.grass.blockID || blockId == Block.dirt.blockID) &amp;amp;&amp;amp; y &amp;lt; 256 - height - 1) {
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (blockId != Block.grass.blockID &amp;amp;&amp;amp; blockId != Block.dirt.blockID &amp;amp;&amp;amp; blockId != Block.tilledField.blockID )
            &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;WorldGenForest.generate()&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-object&quot;&gt;int&lt;/span&gt; groundBlockId = par1World.getBlockId(x, y - 1, z);
        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((groundBlockId == Block.grass.blockID || groundBlockId == Block.dirt.blockID) &amp;amp;&amp;amp; y &amp;lt; 256 - var6 - 1) {
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (groundBlockId != Block.grass.blockID &amp;amp;&amp;amp; groundBlockId != Block.dirt.blockID &amp;amp;&amp;amp; groundBlockId != Block.tilledField.blockID)
            &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;WorldGenBigTree.validTreeLocation()&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-object&quot;&gt;int&lt;/span&gt; blockId = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.getBlockId(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.basePos[0], &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.basePos[1] - 1, &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.basePos[2]);
        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (blockId != 2 &amp;amp;&amp;amp; blockId != 3)
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (blockId != Block.grass.blockID &amp;amp;&amp;amp; blockId != Block.dirt.blockID &amp;amp;&amp;amp; blockId != Block.tilledField.blockID)
            &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;WorldGenHugeTrees.generate()&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;            ...
                var12 = world.getBlockId(var10, var8, var11);
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (var12 != 0 &amp;amp;&amp;amp; var12 != Block.leaves.blockID &amp;amp;&amp;amp; var12 != Block.grass.blockID
                        &amp;amp;&amp;amp; var12 != Block.dirt.blockID &amp;amp;&amp;amp; var12 != Block.wood.blockID &amp;amp;&amp;amp; var12 != Block.sapling.blockID
                        &amp;amp;&amp;amp; var12 != Block.tilledField.blockID) {       &lt;span class=&quot;code-comment&quot;&gt;// ADDED
&lt;/span&gt;                    var7 = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
                }
            ...
        ...
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; groundBlockId = world.getBlockId(x, y - 1, z);
        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((groundBlockId == Block.grass.blockID || groundBlockId == Block.dirt.blockID) &amp;amp;&amp;amp; y &amp;lt; 256 - var6 - 1) {
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (groundBlockId != Block.grass.blockID &amp;amp;&amp;amp; groundBlockId != Block.dirt.blockID &amp;amp;&amp;amp; groundBlockId != Block.tilledField.blockID)
            &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;WorldGenTaiga2&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-object&quot;&gt;int&lt;/span&gt; groundBlockId = world.getBlockId(x, y - 1, z);
        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((groundBlockId == Block.grass.blockID || groundBlockId == Block.dirt.blockID) &amp;amp;&amp;amp; y &amp;lt; 256 - var6 - 1) {
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (groundBlockId != Block.grass.blockID &amp;amp;&amp;amp; groundBlockId != Block.dirt.blockID &amp;amp;&amp;amp; groundBlockId != Block.tilledField.blockID)
            &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;p&gt;WorldGenTaiga1 should also be given the same treatment, although it seems it is only used from world generation (which probably isn&apos;t trying to grow trees on farmland).&lt;/p&gt;


&lt;p&gt;&lt;b&gt;Background&lt;/b&gt;&lt;br/&gt;
Saplings (like flowers) are specifically allowed to be &lt;em&gt;planted&lt;/em&gt; on three block types:&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-keyword&quot;&gt;protected&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; canThisPlantGrowOnThisBlockID(&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par1) {
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; par1 == Block.grass.blockID || par1 == Block.dirt.blockID || par1 == Block.tilledField.blockID;
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, the tree generators only check for two of the block types, perhaps because trees are older stuff than farmland and their code was forgotten to be updated (curses of not following proper programming practices).&lt;/p&gt;

&lt;p&gt;Apparently mushrooms are not allowed to be planted on tilled dirt (I wonder why not? one can plant them even on iron block), but since they can not be planted there, there is no need to fix their huge version growth, either (for now, at least).&lt;/p&gt;</comment>
                            <comment id="27884" author="bljat" created="Wed, 12 Dec 2012 02:09:16 +0100"  >&lt;p&gt;Used up whole stack of bonemeal, nothing happened - confirmed.&lt;/p&gt;</comment>
                            <comment id="27883" author="cubethethird" created="Wed, 12 Dec 2012 02:04:38 +0100"  >&lt;p&gt;This is true, and because the proper conditions seem to be met, it is indeed not a duplicate of that other bug.&lt;/p&gt;</comment>
                            <comment id="27863" author="firehunterx" created="Wed, 12 Dec 2012 00:29:04 +0100"  >&lt;p&gt;I saw a post earlier about saplings not growing under a roof, but the saplings I planted on farmland wouldn&apos;t grow under normal circumstances. They were under direct sunlight and had plenty of space. &lt;/p&gt;</comment>
                            <comment id="27861" author="cubethethird" created="Wed, 12 Dec 2012 00:19:42 +0100"  >&lt;p&gt;Can confirm, though not sure if intended.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="24692">MC-10721</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49723">MC-29143</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>Wed, 12 Dec 2012 00:19: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_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Survival]]></customfieldvalue>

                        </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|i05nxz:</customfieldvalue>

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