<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:01:00 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-3370] Mobs cannot pick up items if mobGriefing is false, and custom spawners can&apos;t force them to</title>
                <link>https://bugs.mojang.com/browse/MC-3370</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;&lt;b&gt;What I expected to happen was&lt;/b&gt;&lt;br/&gt;
Mobs with CanPickUpLoot=1 would pick up dropped items.&lt;br/&gt;
Mob spawners with CanPickUpLoot=1 in the SpawnData would be able to spawn mobs with CanPickUpLoot=1.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What actually happened was&lt;/b&gt;&lt;br/&gt;
No mob could pick up items, regardless of the state of CanPickUpLoot.&lt;br/&gt;
Custom spawners could not even spawn mobs with CanPickUpLoot=1.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to reproduce, without external editors:&lt;/b&gt;&lt;br/&gt;
1. Make sure you are in Hard mode and Creative mode, with the gamerule mobGriefing set to false.&lt;br/&gt;
2. Make a small pit, and spawn a &lt;em&gt;massive&lt;/em&gt; number of zombies, skeletons, and/or pigmen in it.&lt;br/&gt;
3. Drop some items, weapons, and/or armor into the pit&lt;br/&gt;
4. Chances are you can&apos;t tell if anything&apos;s been picked up... Fly or teleport yourself about 200 blocks above the pit.&lt;br/&gt;
5. Fall back down to the pit.&lt;br/&gt;
6. Observe that &lt;em&gt;all&lt;/em&gt; mobs have despawned, and all items remain where you dropped them.&lt;/p&gt;

&lt;p&gt;Had any mob picked up an item, it would not have despawned, and the item would not remain on the ground.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to reproduce, the faster and less ambiguous way:&lt;/b&gt;&lt;br/&gt;
1. Spawn a zombie, pigman, or skeleton.&lt;br/&gt;
2. Save and quit your world.&lt;br/&gt;
3. Open the world in MCedit.&lt;br/&gt;
4. Find the mob, select the area it is in, and export to a schematic.&lt;br/&gt;
5. With NBTedit, set its CanPickUpLoot to 1.&lt;br/&gt;
6. Import the schematic back with MCedit.&lt;br/&gt;
7. Save the world, and return to the world in Minecraft.&lt;br/&gt;
8. Observe that the mob does not pick up any items you throw at it.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached a schematic of a CanPickUpLoot=1 zombie and a spawner which is meant to spawn such mobs (but for some reason, they still spawn with CanPickUpLoot=0, which is rather redundant considering CanPickUpLoot=1 doesn&apos;t make a difference). Make sure you have mobGriefing set to false before trying this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15378">MC-3370</key>
            <summary>Mobs cannot pick up items if mobGriefing is false, and custom spawners can&apos;t force them to</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="6">Works As Intended</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="wolfiemario">WolfieMario</reporter>
                        <labels>
                            <label>drop</label>
                            <label>item</label>
                            <label>loot</label>
                            <label>mob</label>
                            <label>pick</label>
                            <label>spawner</label>
                    </labels>
                <created>Sun, 18 Nov 2012 06:00:15 +0100</created>
                <updated>Wed, 27 Mar 2024 22:24:47 +0100</updated>
                            <resolved>Mon, 7 Apr 2014 09:58:55 +0200</resolved>
                                    <version>Minecraft 1.4.4</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w01a</version>
                    <version>Snapshot 13w01b</version>
                    <version>Snapshot 13w05b</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Snapshot 13w19a</version>
                    <version>Snapshot 13w21a</version>
                    <version>Snapshot 13w24b</version>
                    <version>Snapshot 13w25a</version>
                    <version>Snapshot 13w25b</version>
                    <version>Snapshot 13w25c</version>
                    <version>Minecraft 1.6</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 13w37b</version>
                    <version>Minecraft 1.7</version>
                    <version>Minecraft 1.7.1</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w04b</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 14w11b</version>
                    <version>Minecraft 1.7.6-pre2</version>
                                                                        <votes>3</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="43753" author="bljat" created="Tue, 5 Feb 2013 17:49:30 +0100"  >&lt;p&gt;Confirmed, but not sure if intended since picking up stuff is kind of &quot;griefing&quot;.&lt;/p&gt;</comment>
                            <comment id="23080" author="wolfiemario" created="Mon, 19 Nov 2012 00:03:49 +0100"  >&lt;p&gt;On further analysis (including trying again in a new world), I figured out that the mobGriefing gamerule was causing all of these issues. If set to false, mobs cannot steal items, and mobs created by spawner always have CanPickUpLoot set to 0 (which is rather redundant in my opinion, but that&apos;s just me).&lt;/p&gt;

&lt;p&gt;I&apos;ll update the issue; seeing as this is not documented anywhere it may still be a bug (considering mobs which steal items are now guaranteed to not despawn, it doesn&apos;t exactly qualify as &apos;griefing&apos; on the same level that explosions do).&lt;/p&gt;</comment>
                            <comment id="23018" author="chalmes" created="Sun, 18 Nov 2012 21:17:36 +0100"  >&lt;p&gt;Cannot reproduce as per screenshots.  Zombies picked up the swords given to them and remained after flying to altitude 250 while the others despawned as expected.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="32645">MC-16736</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="100991">MC-73084</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="239628">MC-150647</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="240381">MC-151069</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="244038">MC-153408</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="450271">MC-230507</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="511474">MC-254636</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="520007">MC-257217</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="521127">MC-257762</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="521128">MC-257763</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="521129">MC-257764</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="523634">MC-258806</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="527909">MC-260510</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="551962">MC-269089</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="553891">MC-269946</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="300906">MC-177120</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81628">MC-55218</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13302">MC-1924</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13657" name="1. Preparation.jpg" size="325128" author="chalmes" created="Sun, 18 Nov 2012 21:17:36 +0100"/>
                            <attachment id="13658" name="2. Zombies holding diamond swords.jpg" size="316045" author="chalmes" created="Sun, 18 Nov 2012 21:18:01 +0100"/>
                            <attachment id="13659" name="3. Results after flying away.jpg" size="295668" author="chalmes" created="Sun, 18 Nov 2012 21:18:27 +0100"/>
                            <attachment id="13578" name="mob.schematic" size="691" author="wolfiemario" created="Sun, 18 Nov 2012 06:00:15 +0100"/>
                            <attachment id="13577" name="spawner.schematic" size="1108" author="wolfiemario" created="Sun, 18 Nov 2012 06:00:15 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 5 Feb 2013 17:48: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_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|i06qif:</customfieldvalue>

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