<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:03:53 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-4232] SpawnPotentials list working incorrectly</title>
                <link>https://bugs.mojang.com/browse/MC-4232</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;The new SpawnPotentials list works about 90% correctly.  Mob Spawners with a SpawnPotentials list will properly cycle through the mob types in the list (as can be seen by the mob being displayed in the cage), but are spawned with the wrong EntityId.  The spawner&apos;s base EntityId tag is used to spawn the entities in the list, instead of the provided Type variable.  When saving and closing Minecraft, the current EntityId (depending on which one it is on in the cycle) gets saved to the map data, and is used for spawning new mobs when the map is reloaded.  Below is the NBT structure of the spawner I have tested this with:&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;TAG_Compound({
  &lt;span class=&quot;code-quote&quot;&gt;&quot;MinSpawnDelay&quot;&lt;/span&gt;: TAG_Short(20),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;MaxSpawnDelay&quot;&lt;/span&gt;: TAG_Short(80),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;SpawnCount&quot;&lt;/span&gt;: TAG_Short(4),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;MobSpawner&apos;&lt;/span&gt;),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;RequiredPlayerRange&quot;&lt;/span&gt;: TAG_Short(16),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;Delay&quot;&lt;/span&gt;: TAG_Short(21),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;MaxNearbyEntities&quot;&lt;/span&gt;: TAG_Short(6),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;SpawnRange&quot;&lt;/span&gt;: TAG_Short(4),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;SpawnPotentials&quot;&lt;/span&gt;: TAG_List([
    TAG_Compound({
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Weight&quot;&lt;/span&gt;: TAG_Int(50),
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Type&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;Skeleton&apos;&lt;/span&gt;),
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Properties&quot;&lt;/span&gt;: TAG_Compound({
        &lt;span class=&quot;code-quote&quot;&gt;&quot;HurtTime&quot;&lt;/span&gt;: TAG_Short(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;IsVillager&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Air&quot;&lt;/span&gt;: TAG_Short(300),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;CanPickUpLoot&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;AttackTime&quot;&lt;/span&gt;: TAG_Short(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;IsBaby&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;PersistenceRequired&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Fire&quot;&lt;/span&gt;: TAG_Short(-1),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;FallDistance&quot;&lt;/span&gt;: TAG_Float(0.0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Invulnerable&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;EntityId&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;Skeleton&apos;&lt;/span&gt;),
      }),
    }),
    TAG_Compound({
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Weight&quot;&lt;/span&gt;: TAG_Int(50),
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Type&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;PigZombie&apos;&lt;/span&gt;),
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Properties&quot;&lt;/span&gt;: TAG_Compound({
        &lt;span class=&quot;code-quote&quot;&gt;&quot;DropChances&quot;&lt;/span&gt;: TAG_List([
          TAG_Float(1.0),
          TAG_Float(0.05000000074505806),
          TAG_Float(0.05000000074505806),
          TAG_Float(0.05000000074505806),
          TAG_Float(0.05000000074505806),
        ]),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Equipment&quot;&lt;/span&gt;: TAG_List([
          TAG_Compound({
            &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(276),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Damage&quot;&lt;/span&gt;: TAG_Short(0),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Count&quot;&lt;/span&gt;: TAG_Byte(1),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;tag&quot;&lt;/span&gt;: TAG_Compound({
              &lt;span class=&quot;code-quote&quot;&gt;&quot;ench&quot;&lt;/span&gt;: TAG_List([
                TAG_Compound({
                  &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(16),
                  &lt;span class=&quot;code-quote&quot;&gt;&quot;lvl&quot;&lt;/span&gt;: TAG_Short(5),
                }),
              ]),
              &lt;span class=&quot;code-quote&quot;&gt;&quot;display&quot;&lt;/span&gt;: TAG_Compound({
                &lt;span class=&quot;code-quote&quot;&gt;&quot;Name&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;\xa7rRipper&apos;&lt;/span&gt;),
                &lt;span class=&quot;code-quote&quot;&gt;&quot;Lore&quot;&lt;/span&gt;: TAG_List([
                  TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;Of the Jack variety&apos;&lt;/span&gt;),
                ]),
              }),
            }),
          }),
          TAG_Compound({
            &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(301),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Damage&quot;&lt;/span&gt;: TAG_Short(0),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Count&quot;&lt;/span&gt;: TAG_Byte(1),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;tag&quot;&lt;/span&gt;: TAG_Compound({
              &lt;span class=&quot;code-quote&quot;&gt;&quot;display&quot;&lt;/span&gt;: TAG_Compound({
                &lt;span class=&quot;code-quote&quot;&gt;&quot;color&quot;&lt;/span&gt;: TAG_Int(16776960),
              }),
            }),
          }),
          TAG_Compound({
            &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(300),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Damage&quot;&lt;/span&gt;: TAG_Short(0),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Count&quot;&lt;/span&gt;: TAG_Byte(1),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;tag&quot;&lt;/span&gt;: TAG_Compound({
              &lt;span class=&quot;code-quote&quot;&gt;&quot;display&quot;&lt;/span&gt;: TAG_Compound({
                &lt;span class=&quot;code-quote&quot;&gt;&quot;color&quot;&lt;/span&gt;: TAG_Int(255),
              }),
            }),
          }),
          TAG_Compound({}),
          TAG_Compound({}),
        ]),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;HurtTime&quot;&lt;/span&gt;: TAG_Short(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;IsVillager&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Air&quot;&lt;/span&gt;: TAG_Short(300),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;CanPickUpLoot&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;AttackTime&quot;&lt;/span&gt;: TAG_Short(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;IsBaby&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;PersistenceRequired&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Fire&quot;&lt;/span&gt;: TAG_Short(-1),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;FallDistance&quot;&lt;/span&gt;: TAG_Float(0.0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Invulnerable&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;EntityId&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;PigZombie&apos;&lt;/span&gt;),
      }),
    }),
    TAG_Compound({
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Weight&quot;&lt;/span&gt;: TAG_Int(50),
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Type&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;Zombie&apos;&lt;/span&gt;),
      &lt;span class=&quot;code-quote&quot;&gt;&quot;Properties&quot;&lt;/span&gt;: TAG_Compound({
        &lt;span class=&quot;code-quote&quot;&gt;&quot;DropChances&quot;&lt;/span&gt;: TAG_List([
          TAG_Float(1.0),
          TAG_Float(0.05000000074505806),
          TAG_Float(0.05000000074505806),
          TAG_Float(0.05000000074505806),
          TAG_Float(0.05000000074505806),
        ]),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Equipment&quot;&lt;/span&gt;: TAG_List([
          TAG_Compound({
            &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(279),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Damage&quot;&lt;/span&gt;: TAG_Short(0),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Count&quot;&lt;/span&gt;: TAG_Byte(1),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;tag&quot;&lt;/span&gt;: TAG_Compound({
              &lt;span class=&quot;code-quote&quot;&gt;&quot;ench&quot;&lt;/span&gt;: TAG_List([
                TAG_Compound({
                  &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(16),
                  &lt;span class=&quot;code-quote&quot;&gt;&quot;lvl&quot;&lt;/span&gt;: TAG_Short(5),
                }),
              ]),
              &lt;span class=&quot;code-quote&quot;&gt;&quot;display&quot;&lt;/span&gt;: TAG_Compound({
                &lt;span class=&quot;code-quote&quot;&gt;&quot;Name&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;\xa7rRipper&apos;&lt;/span&gt;),
                &lt;span class=&quot;code-quote&quot;&gt;&quot;Lore&quot;&lt;/span&gt;: TAG_List([
                  TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;Of the Jack variety&apos;&lt;/span&gt;),
                ]),
              }),
            }),
          }),
          TAG_Compound({
            &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(301),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Damage&quot;&lt;/span&gt;: TAG_Short(0),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Count&quot;&lt;/span&gt;: TAG_Byte(1),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;tag&quot;&lt;/span&gt;: TAG_Compound({
              &lt;span class=&quot;code-quote&quot;&gt;&quot;display&quot;&lt;/span&gt;: TAG_Compound({
                &lt;span class=&quot;code-quote&quot;&gt;&quot;color&quot;&lt;/span&gt;: TAG_Int(16776960),
              }),
            }),
          }),
          TAG_Compound({}),
          TAG_Compound({}),
          TAG_Compound({
            &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;: TAG_Short(298),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Damage&quot;&lt;/span&gt;: TAG_Short(0),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;Count&quot;&lt;/span&gt;: TAG_Byte(1),
            &lt;span class=&quot;code-quote&quot;&gt;&quot;tag&quot;&lt;/span&gt;: TAG_Compound({
              &lt;span class=&quot;code-quote&quot;&gt;&quot;display&quot;&lt;/span&gt;: TAG_Compound({
                &lt;span class=&quot;code-quote&quot;&gt;&quot;color&quot;&lt;/span&gt;: TAG_Int(16711680),
              }),
            }),
          }),
        ]),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;HurtTime&quot;&lt;/span&gt;: TAG_Short(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;IsVillager&quot;&lt;/span&gt;: TAG_Byte(1),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Air&quot;&lt;/span&gt;: TAG_Short(300),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;CanPickUpLoot&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;AttackTime&quot;&lt;/span&gt;: TAG_Short(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;IsBaby&quot;&lt;/span&gt;: TAG_Byte(1),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;PersistenceRequired&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Fire&quot;&lt;/span&gt;: TAG_Short(-1),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;FallDistance&quot;&lt;/span&gt;: TAG_Float(0.0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;Invulnerable&quot;&lt;/span&gt;: TAG_Byte(0),
        &lt;span class=&quot;code-quote&quot;&gt;&quot;EntityId&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;Zombie&apos;&lt;/span&gt;),
      }),
    }),
  ]),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;EntityId&quot;&lt;/span&gt;: TAG_String(u&lt;span class=&quot;code-quote&quot;&gt;&apos;Zombie&apos;&lt;/span&gt;),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;x&quot;&lt;/span&gt;: TAG_Int(44),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;y&quot;&lt;/span&gt;: TAG_Int(10),
  &lt;span class=&quot;code-quote&quot;&gt;&quot;z&quot;&lt;/span&gt;: TAG_Int(-210),
})
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Windows 7 Ultimate</environment>
        <key id="16665">MC-4232</key>
            <summary>SpawnPotentials list working incorrectly</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="texelelf">Elf Elf</reporter>
                        <labels>
                            <label>mob</label>
                            <label>spawner</label>
                    </labels>
                <created>Sat, 8 Dec 2012 01:52:15 +0100</created>
                <updated>Sun, 6 Sep 2015 21:32:27 +0200</updated>
                            <resolved>Tue, 5 Feb 2013 22:51:09 +0100</resolved>
                                    <version>Minecraft 1.4.5</version>
                                    <fixVersion>Snapshot 13w05a</fixVersion>
                                                        <votes>2</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="43841" author="bljat" created="Tue, 5 Feb 2013 22:51:09 +0100"  >&lt;p&gt;Thanks for the update &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.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="43838" author="texelelf" created="Tue, 5 Feb 2013 22:47:58 +0100"  >&lt;p&gt;It was corrected the same night I told Dinnerbone about it on Twitter; this bug report was submitted at his request.  As it&apos;s fixed, this report should be resolved.&lt;/p&gt;</comment>
                            <comment id="43828" author="bljat" created="Tue, 5 Feb 2013 22:15:24 +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="27111" author="kumasasa" created="Sat, 8 Dec 2012 09:46:49 +0100"  >&lt;p&gt;A &quot;code&quot; tag helps here&lt;/p&gt;</comment>
                            <comment id="27061" author="unon1100" created="Sat, 8 Dec 2012 04:34:28 +0100"  >&lt;p&gt;Please put the code on pastebin. Kinda hard to read the NBT tags without the spaces/tabs working properly&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></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|i0mzin:</customfieldvalue>

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