<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:50:50 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-379] spawn-animals and spawn-npcs=false removes all villagers and prevents summoning new mobs</title>
                <link>https://bugs.mojang.com/browse/MC-379</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Setting &lt;b&gt;spawn-npcs=false&lt;/b&gt; in server.properties disables villagers completely&lt;br/&gt;
Setting &lt;b&gt;spawn-animals=false&lt;/b&gt; prevents any mob from being spawned by commands or mob spawners.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expected to happen was...&lt;/b&gt;&lt;br/&gt;
Villagers and animals to stop naturally spawning.&lt;br/&gt;
Mobs to still be allowed to be summoned via commands&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What actually happened was...&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;ALL&lt;/b&gt; Villagers, including pre-existing ones in the world, or ones newly placed via spawn eggs, disappear instantly.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Run a server&lt;/li&gt;
	&lt;li&gt;Change server.properties to:
&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;spawn-npcs=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;
spawn-animals=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;
spawn-monsters=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;Join the server and execute the following commands
&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;/summon villager
/summon wolf
/summon zombie
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;With difficulty on non-peaceful, you can see the Zombie summons fine.  But the Villager and Wolf do not stay in the world.&lt;br/&gt;
For custom maps, commands should override any server.properties as it does with hostile mobs.&lt;/p&gt;</description>
                <environment>Windows 7 64 bit, Java 1.7.0_07 64 bit</environment>
        <key id="11642">MC-379</key>
            <summary>spawn-animals and spawn-npcs=false removes all villagers and prevents summoning new mobs</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="iliketra1ns">iliketra1ns</reporter>
                        <labels>
                            <label>npc</label>
                            <label>server</label>
                            <label>villager</label>
                    </labels>
                <created>Thu, 25 Oct 2012 09:55:35 +0200</created>
                <updated>Tue, 3 Sep 2024 21:25:45 +0200</updated>
                            <resolved>Wed, 14 Aug 2024 13:38:06 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>20w14a</version>
                    <version>1.16.3</version>
                    <version>21w05b</version>
                    <version>21w06a</version>
                    <version>21w07a</version>
                    <version>21w08a</version>
                    <version>21w08b</version>
                    <version>21w10a</version>
                    <version>21w11a</version>
                    <version>21w13a</version>
                    <version>21w14a</version>
                    <version>21w15a</version>
                    <version>21w16a</version>
                    <version>21w17a</version>
                    <version>21w18a</version>
                    <version>21w19a</version>
                    <version>21w20a</version>
                    <version>1.17 Pre-release 1</version>
                    <version>1.17 Pre-release 2</version>
                    <version>1.17 Pre-release 3</version>
                    <version>1.17 Pre-release 4</version>
                    <version>1.17 Pre-release 5</version>
                    <version>1.17</version>
                    <version>1.17.1</version>
                    <version>21w37a</version>
                    <version>21w38a</version>
                    <version>21w39a</version>
                    <version>21w40a</version>
                    <version>21w41a</version>
                    <version>21w43a</version>
                    <version>1.18</version>
                    <version>1.18.1</version>
                    <version>22w06a</version>
                    <version>1.18.2</version>
                    <version>22w13a</version>
                    <version>22w16b</version>
                    <version>1.19 Pre-release 4</version>
                    <version>1.19.3</version>
                    <version>23w03a</version>
                    <version>23w04a</version>
                    <version>1.20.4</version>
                    <version>24w12a</version>
                                    <fixVersion>24w33a</fixVersion>
                                                        <votes>20</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="1353093" author="ultramoo" created="Tue, 3 Sep 2024 21:21:52 +0200"  >&lt;p&gt;Wait what....&lt;/p&gt;

&lt;p&gt;You resolved spawn-animals bug option by just removing the feature altogether?&lt;/p&gt;

&lt;p&gt;We have been using this feature for 10+ years. How would we disable animals now?&lt;/p&gt;</comment>
                            <comment id="1267215" author="JIRAUSER734481" created="Wed, 5 Jul 2023 17:53:13 +0200"  >&lt;p&gt;Can confirm in 1.20.1&lt;/p&gt;</comment>
                            <comment id="1234887" author="JIRAUSER734481" created="Wed, 1 Feb 2023 17:04:05 +0100"  >&lt;p&gt;Can confirm in 23w06a&lt;/p&gt;</comment>
                            <comment id="1233485" author="JIRAUSER734481" created="Wed, 25 Jan 2023 08:19:43 +0100"  >&lt;p&gt;Can confirm in 23w04a&lt;/p&gt;</comment>
                            <comment id="1221694" author="JIRAUSER734481" created="Wed, 18 Jan 2023 15:23:56 +0100"  >&lt;p&gt;Can confirm in 23w03a&lt;/p&gt;</comment>
                            <comment id="1221068" author="JIRAUSER734481" created="Sat, 14 Jan 2023 15:11:21 +0100"  >&lt;p&gt;Can confirm in 1.19.3&lt;/p&gt;</comment>
                            <comment id="1066797" author="JIRAUSER71590" created="Mon, 6 Sep 2021 08:56:36 +0200"  >&lt;p&gt;/summon or spawn egg.&lt;/p&gt;</comment>
                            <comment id="1066750" author="JIRAUSER499211" created="Mon, 6 Sep 2021 04:42:23 +0200"  >&lt;p&gt;uhhhhh&lt;br/&gt;
how to spawn a mob when spawn-monsters off?&lt;br/&gt;
I don&apos;t want natural generated mobs, just custom ones&lt;/p&gt;</comment>
                            <comment id="1035032" author="JIRAUSER665525" created="Tue, 13 Jul 2021 02:52:15 +0200"  >&lt;p&gt;I experience the same as OP where&#160;&lt;b&gt;spawn-monsters&lt;/b&gt;&#160;still allows hostile mobs to exist in the world while&#160;&lt;b&gt;spawn-npcs&lt;/b&gt; and&#160;&lt;b&gt;spawn-animals&lt;/b&gt;&#160;immediately delete their respective entities. There is definitely unintentional behavior going on here. Did these options all get added in the same update?&lt;/p&gt;</comment>
                            <comment id="912668" author="JIRAUSER504770" created="Thu, 4 Feb 2021 19:59:30 +0100"  >&lt;p&gt;Affects 21w05b&lt;/p&gt;</comment>
                            <comment id="18819" author="evilseph" created="Tue, 6 Nov 2012 18:20:57 +0100"  >&lt;p&gt;Other settings named along the same lines (spawn-animals, spawn-monsters) works the same way.&lt;/p&gt;</comment>
                            <comment id="13192" author="grygrflzr" created="Thu, 25 Oct 2012 15:38:44 +0200"  >&lt;p&gt;Even if it is intended, the option name is misleading - it should be &lt;b&gt;enable-npcs&lt;/b&gt;, not &lt;b&gt;spawn-npcs&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="13180" author="twoloud" created="Thu, 25 Oct 2012 15:25:57 +0200"  >&lt;p&gt;The option functions as intended. It disables the mob completely. This is how the other mobs a work as well.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="39687">MC-20766</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="78110">MC-52087</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="91071">MC-63676</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_12800" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Area</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="12602"><![CDATA[Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 5 Apr 2020 00:44:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11901" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11612"><![CDATA[Mob spawning]]></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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12200" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Mojang Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11703"><![CDATA[Low]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i083of:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12201" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Triaged Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 1 Jun 2021 09:41:04 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>