<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:02:51 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-3927] Iron golems spawning in slabs, glass, farmland and grass path</title>
                <link>https://bugs.mojang.com/browse/MC-3927</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #FFFFCE;border-color: #ccc;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #ccc;background-color: #F7D6C1;&quot;&gt;&lt;b&gt;Risk of confusion&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #FFFFCE;&quot;&gt;
&lt;p&gt;This report describes &lt;b&gt;only&lt;/b&gt; iron golems spawning inside non-opaque non-full cubes.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://bugs.mojang.com/browse/MC-130270&quot; title=&quot;Iron golem spawning inside blocks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-130270&quot;&gt;&lt;del&gt;MC-130270&lt;/del&gt;&lt;/a&gt; for them spawning even inside opaque full cubes, which started during the 1.13 snapshots.&lt;/p&gt;

&lt;p&gt;This issue reappeared in 1.14, see &lt;a href=&quot;https://bugs.mojang.com/browse/MC-148955&quot; title=&quot;Iron golems can spawn inside of non-full blocks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-148955&quot;&gt;&lt;del&gt;MC-148955&lt;/del&gt;&lt;/a&gt; for more details.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;h3&gt;&lt;a name=&quot;Thebug&quot;&gt;&lt;/a&gt;The bug&lt;/h3&gt;
&lt;p&gt;Iron golems can spawn in blocks which are considered as not normal cube (normal cubes are: &lt;tt&gt;state.getMaterial().isOpaque() &amp;amp;&amp;amp; state.isFullCube() &amp;amp;&amp;amp; !state.canProvidePower()&lt;/tt&gt;).&lt;/p&gt;

&lt;p&gt;This makes them spawn in slabs, glass, farmland, grass path, ...&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Howtoreproduce&quot;&gt;&lt;/a&gt;How to reproduce&lt;/h3&gt;
&lt;ol&gt;
	&lt;li&gt;Create village with villagers&lt;/li&gt;
	&lt;li&gt;Fill all air blocks at the village center with for example glass&lt;/li&gt;
	&lt;li&gt;Wait for an iron golem to spawn&lt;/li&gt;
&lt;/ol&gt;


&lt;h3&gt;&lt;a name=&quot;Codeanalysis&quot;&gt;&lt;/a&gt;Code analysis&lt;/h3&gt;
&lt;p&gt;Based on 1.12.2 decompiled using MCP 9.40&lt;/p&gt;

&lt;p&gt;The method &lt;tt&gt;net.minecraft.village.Village.isAreaClearAround(BlockPos, BlockPos)&lt;/tt&gt; only considers a spawn location as invalid if the blocks at this position are &lt;tt&gt;net.minecraft.block.state.IBlockProperties.isNormalCube()&lt;/tt&gt;, it should probably instead use logic similar to the one used in &lt;tt&gt;net.minecraft.world.WorldEntitySpawner.findChunksForSpawning(WorldServer, boolean, boolean, boolean)&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="16186">MC-3927</key>
            <summary>Iron golems spawning in slabs, glass, farmland and grass path</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="-1">Unassigned</assignee>
                                    <reporter username="a_bakedpotato">matthew</reporter>
                        <labels>
                            <label>iron_golem</label>
                            <label>spawning</label>
                    </labels>
                <created>Wed, 28 Nov 2012 10:37:32 +0100</created>
                <updated>Wed, 29 Apr 2020 16:24:47 +0200</updated>
                            <resolved>Wed, 1 Aug 2018 09:58:58 +0200</resolved>
                                    <version>Minecraft 1.4.5</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 1.8-pre3</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.9</version>
                    <version>Minecraft 1.9 Pre-Release 2</version>
                    <version>Minecraft 1.9 Pre-Release 4</version>
                    <version>Minecraft 1.9</version>
                    <version>Minecraft 1.9.4</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w33a</version>
                    <version>Minecraft 16w35a</version>
                    <version>Minecraft 16w40a</version>
                    <version>Minecraft 16w41a</version>
                    <version>Minecraft 1.12.2</version>
                    <version>Minecraft 1.13-pre1</version>
                    <version>Minecraft 1.13-pre6</version>
                                    <fixVersion>Minecraft 18w30b</fixVersion>
                                                        <votes>21</votes>
                                    <watches>21</watches>
                                                                            <comments>
                            <comment id="607733" author="farogaming" created="Sun, 24 Nov 2019 22:47:09 +0100"  >&lt;p&gt;Then please create a new report with exact reproduction steps for that version.&lt;/p&gt;</comment>
                            <comment id="607725" author="pcuser" created="Sun, 24 Nov 2019 21:39:46 +0100"  >&lt;p&gt;In 1.14.4 Golems are spawning in farmland and it&apos;s really annoying - it would be nice to have a command to stop any certain mob from spawning at all.&lt;/p&gt;</comment>
                            <comment id="478699" author="aidowl" created="Wed, 1 Aug 2018 09:31:13 +0200"  >&lt;p&gt;I don&apos;t know about those blocks, but it can be easily tested by using a large multi village iron farm and placing the glass/farmlang on top of a solid, opaque spawning platform (allowing for the golems to spawn there) to see if the golems spawn within the glass/farmland blocks.&lt;/p&gt;</comment>
                            <comment id="478698" author="neko" created="Wed, 1 Aug 2018 09:24:42 +0200"  >&lt;p&gt;Are glass, farmland, and grass paths fixed as well?&lt;/p&gt;</comment>
                            <comment id="478696" author="aidowl" created="Wed, 1 Aug 2018 09:23:26 +0200"  >&lt;p&gt;This should be marked as Fixed, I can confirm that iron golems no longer spawn in slabs. Also the bug report &lt;a href=&quot;https://bugs.mojang.com/browse/MC-135128&quot; title=&quot;Iron golems don&amp;#39;t spawn inside of slabs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-135128&quot;&gt;&lt;del&gt;MC-135128&lt;/del&gt;&lt;/a&gt; that stated that golems could no longer spawn in slabs has been marked as Works as Intended, thus proving Mojang has intentionally fixed this bug!&lt;/p&gt;</comment>
                            <comment id="477620" author="neko" created="Sun, 29 Jul 2018 02:09:01 +0200"  >&lt;p&gt;According to &lt;a href=&quot;https://bugs.mojang.com/browse/MC-135128&quot; title=&quot;Iron golems don&amp;#39;t spawn inside of slabs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-135128&quot;&gt;&lt;del&gt;MC-135128&lt;/del&gt;&lt;/a&gt;, this has been fixed in 18w30b. Can anyone confirm?&lt;/p&gt;</comment>
                            <comment id="468744" author="azrhei" created="Sun, 8 Jul 2018 19:29:24 +0200"  >&lt;p&gt;Can confirm this happens in 1.13-pre6 . I attempted to place glass panes alternating blocks to fix problem but they are either spawning on the panes or diagonally between them. World was created in 1.13 pre6 never loaded in any other versions.&lt;/p&gt;</comment>
                            <comment id="308716" author="shadowtani" created="Tue, 31 May 2016 13:44:42 +0200"  >&lt;p&gt;Now that they are having villages generate with grass paths rather than gravel roads this issue need fixing more than ever...&lt;/p&gt;</comment>
                            <comment id="301673" author="a_bakedpotato" created="Tue, 26 Apr 2016 07:33:08 +0200"  >&lt;p&gt;I just want to say it&apos;s been fun watching this thread gain and lose interest over the past 4 years since I submitted it, I doubt it&apos;s ever going to get fixed though. &lt;/p&gt;</comment>
                            <comment id="299817" author="debatra" created="Tue, 12 Apr 2016 18:09:05 +0200"  >&lt;p&gt;You can pull it out of farmland with a lead if you can fly or get some ladders close enough. Haven&apos;t tested with other blocks. Still needs fixing though.&lt;/p&gt;</comment>
                            <comment id="297583" author="thecaptain314" created="Wed, 30 Mar 2016 20:08:06 +0200"  >&lt;p&gt;It looks like golems are spawning on rails too, but possibly aren&apos;t spawning in running water.  I built an iron farm, and they&apos;re only spawning in one specific 1x2 spot which isn&apos;t on the spawn platforms.  Not sure if this is a separate issue or a related one.&lt;/p&gt;</comment>
                            <comment id="297429" author="acemccrank" created="Wed, 30 Mar 2016 04:53:30 +0200"  >&lt;p&gt;1.9, this also occurs on farmland, and on paths created by the shovel.&lt;br/&gt;
I have a screenshot of it happening on the path if needed.&lt;/p&gt;</comment>
                            <comment id="295774" author="sillyfrog" created="Sun, 20 Mar 2016 09:31:47 +0100"  >&lt;p&gt;I have been testing this further, and I have found that if I move that entire section of the world down 1 block (using a clone/move command), the issue goes away. In case it&apos;s of value I have uploaded the worlds both before and after (I have set the worldspawn, but in case it does not work, go to about 130 70 -1460).&lt;/p&gt;

&lt;p&gt;The original world having the issue: &lt;a href=&quot;http://sillyfrog.com/tmp/Iron_Golem_in_Ground.zip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://sillyfrog.com/tmp/Iron_Golem_in_Ground.zip&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the world where I have moved it down one block, and it appears to be fixed: &lt;a href=&quot;http://sillyfrog.com/tmp/Iron_Golem_NOT_in_Ground.zip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://sillyfrog.com/tmp/Iron_Golem_NOT_in_Ground.zip&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="295497" author="sillyfrog" created="Fri, 18 Mar 2016 23:17:31 +0100"  >&lt;p&gt;I&apos;m getting a similar issue, but I don&apos;t even need half slabs! I have attached an image showing what happens. I have done some experimentation, and found the following:&lt;br/&gt;
The Iron Golems will NOT spawn if the dirt is only 1 high (I cleared out 3 high under the dirt, then under the 3 air it is just stone etc). The Iron Golems don&apos;t appear to even spawn in the opening (ie: they are not spawning anywhere)&lt;/p&gt;

&lt;p&gt;If I put another layer of dirt under the top layer of dirt (as per the image with &quot;3 Iron Golems in ground&quot;), then they spawn again, however half in the dirt so they can&apos;t actually move. When this happens I can just walk up to them and hit them with my sword, and they do nothing, unless I get very very close, then they can attack.&lt;/p&gt;

&lt;p&gt;This is Minecraft 1.9 final.&lt;/p&gt;</comment>
                            <comment id="290189" author="dzurg" created="Sat, 27 Feb 2016 18:56:58 +0100"  >&lt;p&gt;It is still a problem in the latest snapshot 1.9-pre4.&lt;/p&gt;</comment>
                            <comment id="270834" author="kumasasa" created="Sun, 6 Dec 2015 23:07:17 +0100"  >&lt;p&gt;Is this still an issue in the current Minecraft Snapshot &lt;b&gt;15w49b&lt;/b&gt; or later? 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="219075" author="gt4431b" created="Sun, 15 Feb 2015 19:27:54 +0100"  >&lt;p&gt;I found this behavior in cases where I was trying to prevent a golem spawn in a certain area, and attempted to solve this by topping that area with half-slabs and glass blocks but ran straight into this defect.&lt;/p&gt;

&lt;p&gt;I&apos;ve found a workaround for this that seems to work in 1.8.x.  Put a solid block underneath the half-slab, at a level at which golems would not be too short in any covered area underneath.  Of course now my problem is that the golems are spawning &lt;b&gt;on top of&lt;/b&gt; the half-slab (see &lt;a href=&quot;https://bugs.mojang.com/browse/MC-77620&quot; title=&quot;Iron Golems spawning on top of half slabs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-77620&quot;&gt;&lt;del&gt;MC-77620&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="208546" author="niedroprog" created="Mon, 10 Nov 2014 17:52:15 +0100"  >&lt;p&gt;This bug is still present in Minecraft 1.8.&lt;/p&gt;</comment>
                            <comment id="142834" author="ezekielelin" created="Mon, 24 Feb 2014 15:15:42 +0100"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;14w08a&lt;/b&gt;? 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="124260" author="keenwolfpaw" created="Tue, 10 Dec 2013 00:41:54 +0100"  >&lt;p&gt;Confirmed still an issue in 1.7.4.&lt;/p&gt;

&lt;p&gt;You can check out the image proof here: &lt;br/&gt;
&lt;a href=&quot;http://i.imgur.com/osB6WUb.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://i.imgur.com/osB6WUb.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Edit: Sorry for the late reply, I was waiting to see if any spawned for about 2 hours, which he eventually did. Anyway, if this might help he spawned through 2 slabs, I have a layer of stone, a slab and then another slab floating above that, it seems he spawned through both of them. &lt;br/&gt;
Edit 2: For further evidence, you can check out the screenshot of the floor cutaway attached to the bug post for verification. &lt;br/&gt;
Edit 3: Grammar. &lt;/p&gt;</comment>
                            <comment id="124226" author="ezekielelin" created="Mon, 9 Dec 2013 22:56:29 +0100"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;1.7.4&lt;/b&gt;? 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="124225" author="keenwolfpaw" created="Mon, 9 Dec 2013 22:55:22 +0100"  >&lt;p&gt;I&apos;d like to add a bit more info because the main post is hard to follow.&lt;/p&gt;

&lt;p&gt;The main issue here is: &lt;br/&gt;
If all of the default spawn conditions are met, Iron Golems are able to spawn inside of slabs and glass.&lt;/p&gt;

&lt;p&gt;They do require a solid ground block for them to spawn on top of, they still spawn even if half slabs or glass is in the way. &lt;/p&gt;


</comment>
                            <comment id="116308" author="arahman21" created="Mon, 28 Oct 2013 17:49:18 +0100"  >&lt;p&gt;Should I open a new issue, or can this be reopened? I have had Golems spawn anywhere there&apos;s at least 3 blocks of space. And that includes stairs. And golems don&apos;t spawn &lt;em&gt;on&lt;/em&gt; stairs, they spawn on the ground below, and thus get completely stuck.&lt;/p&gt;

&lt;p&gt;EDIT: Minecraft 1.7.2.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10101">
                    <name>Cloners</name>
                                                                <inwardlinks description="is cloned by">
                                        <issuelink>
            <issuekey id="236821">MC-148955</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="64087">MC-40992</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="65799">MC-42117</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81731">MC-55312</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="95381">MC-67816</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="97568">MC-69919</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="132655">MC-96259</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="135003">MC-97551</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="135828">MC-98150</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="138038">MC-99969</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="139832">MC-101293</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="140743">MC-101916</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="141614">MC-102602</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="202001">MC-130306</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="202373">MC-130502</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="203602">MC-131248</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="203627">MC-131263</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="201919">MC-130270</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="210171">MC-135128</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="50141" name="2013-11-26_19.00.31.png" size="62881" author="KeenWolfPaw" created="Mon, 9 Dec 2013 22:57:02 +0100"/>
                            <attachment id="50143" name="2013-12-09_18.46.30.png" size="69703" author="KeenWolfPaw" created="Tue, 10 Dec 2013 00:47:39 +0100"/>
                            <attachment id="114212" name="3 Iron Golems in ground.png" size="265956" author="sillyfrog" created="Fri, 18 Mar 2016 23:14:01 +0100"/>
                            <attachment id="14369" name="Untitled.png" size="536690" author="a_bakedpotato" created="Wed, 28 Nov 2012 10:37:33 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Mar 2014 10:21: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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0mzbb:</customfieldvalue>

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