<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:05:58 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-4855] Mob spawners miss a row on X and Z axis for the spawn range</title>
                <link>https://bugs.mojang.com/browse/MC-4855</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;I manipulated NBT data a bit to spawn anvils with mob spawners. Problem is they always miss one row on X and Z axis.&lt;/p&gt;

&lt;p&gt;As english isn&apos;t my native language I made a video showing the issue. It&apos;s to large to upload as attachment, so here&apos;s a link: &lt;a href=&quot;https://vimeo.com/55709238&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://vimeo.com/55709238&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also I try to explain: Let&apos;s say the spawner is at x 6 and z 6. spawn range is 5. The expected output is to add 5 to all sides, so spawn from 0 to 11 on x and z (5 + 1 (the mob spawner) + 5). The given result is 5 + 1 + 4, so from 0 to 10.&lt;/p&gt;

&lt;p&gt;BTW: This happens with all entities, anvils are just good to show it. This note is important as it says that this happens with vanilla gameplay, too.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17407">MC-4855</key>
            <summary>Mob spawners miss a row on X and Z axis for the spawn range</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="v10lator">Thomas Rohloff</reporter>
                        <labels>
                            <label>mobSpawner</label>
                    </labels>
                <created>Mon, 17 Dec 2012 08:17:03 +0100</created>
                <updated>Sun, 23 Jan 2022 00:30:46 +0100</updated>
                            <resolved>Thu, 26 Jun 2014 14:49:34 +0200</resolved>
                                    <version>Minecraft 1.4.5</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Snapshot 13w19a</version>
                    <version>Snapshot 13w21a</version>
                    <version>Snapshot 13w21b</version>
                    <version>Minecraft 1.7.9</version>
                    <version>Minecraft 14w20b</version>
                    <version>Minecraft 14w21a</version>
                    <version>Minecraft 14w21b</version>
                                    <fixVersion>Minecraft 14w26c</fixVersion>
                                                        <votes>4</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="160442" author="trazlander" created="Tue, 27 May 2014 16:10:10 +0200"  >&lt;p&gt;ya it&apos;s still around&lt;/p&gt;</comment>
                            <comment id="137867" author="ezekielelin" created="Mon, 3 Feb 2014 15:38:51 +0100"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;14w05b&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="69314" author="banana478" created="Mon, 27 May 2013 22:33:28 +0200"  >&lt;p&gt;Confirmed in 13w21b.&lt;/p&gt;</comment>
                            <comment id="69305" author="trazlander" created="Mon, 27 May 2013 22:02:59 +0200"  >&lt;p&gt;Well hello there bug. You&apos;ve been around a while.&lt;/p&gt;

&lt;p&gt;This is still in the game as of the latest Minecraft version. SpawnRange doubles.&lt;br/&gt;
SpawnRange:1 checks 2 blocks outward from the spawner.&lt;br/&gt;
SpawnRange:2 checks 4 blocks outward from the spawner.&lt;br/&gt;
SpawnRange:3 checks 6 blocks outward from the spawner, etc.&lt;/p&gt;</comment>
                            <comment id="46698" author="bugi74" created="Wed, 20 Feb 2013 10:33:49 +0100"  >&lt;p&gt;&lt;b&gt;Possible fix&lt;/b&gt;&lt;br/&gt;
(Using MCP naming)&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;TileEntityMobSpawner.updateEntity()&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;if&lt;/span&gt; (var13 != &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) {
        var5 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.xCoord + (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.rand.nextDouble() - &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.rand.nextDouble()) * (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.spawnRange;
        var5 += 0.5; &lt;span class=&quot;code-comment&quot;&gt;// FIX, feel free to combine into the previous line
&lt;/span&gt;        &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var7 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.yCoord + &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.rand.nextInt(3) - 1);
        &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var9 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.zCoord + (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.rand.nextDouble() - &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.rand.nextDouble()) * (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.spawnRange;
        var9 += 0.5; &lt;span class=&quot;code-comment&quot;&gt;// FIX, feel free to combine into the previous line
&lt;/span&gt;        ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I did not test these changes, but it looks quite obvious.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="16784">MC-4338</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="494275">MC-248225</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17790">MC-5215</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>Mon, 27 May 2013 22:04:00 +0200</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0fsfz:</customfieldvalue>

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