[MC-3370] Mobs cannot pick up items if mobGriefing is false, and custom spawners can't force them to Created: 18/Nov/12 Updated: 27/Mar/24 Resolved: 07/Apr/14 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.4, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w01a, Snapshot 13w01b, Snapshot 13w05b, Minecraft 1.5, Minecraft 1.5.2, Snapshot 13w19a, Snapshot 13w21a, Snapshot 13w24b, Snapshot 13w25a, Snapshot 13w25b, Snapshot 13w25c, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w37b, Minecraft 1.7, Minecraft 1.7.1, Minecraft 1.7.4, Minecraft 14w04b, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.6-pre2 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | WolfieMario | Assignee: | Unassigned |
| Resolution: | Works As Intended | Votes: | 3 |
| Labels: | drop, item, loot, mob, pick, spawner | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
What I expected to happen was What actually happened was Steps to reproduce, without external editors: Had any mob picked up an item, it would not have despawned, and the item would not remain on the ground. Steps to reproduce, the faster and less ambiguous way: I'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't make a difference). Make sure you have mobGriefing set to false before trying this. |
| Comments |
| Comment by Tails [ 05/Feb/13 ] |
|
Confirmed, but not sure if intended since picking up stuff is kind of "griefing". |
| Comment by WolfieMario [ 18/Nov/12 ] |
|
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's just me). I'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't exactly qualify as 'griefing' on the same level that explosions do). |
| Comment by Chalmes (Jon) [ 18/Nov/12 ] |
|
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. |