mojira.dev
MC-59472

Item Frames Drop as an Item When Not Supported by Block Even When Game Rules Say Not to

I used command blocks to teleport an Item Frame with a Map in it to air. It, as usual, broke and fell into items. However, in this scenario, it shouldn't have, since both gamerules "doTileDrops" and "doMobLoot" were both set to false.
Picture 1: The Item Frame with Map are supported by block.
Picture 2: The Item Frame with Map are teleported to air, right before they break.
Picture 3: They are now broken, but are items, even though the gamerules say they shouldn't.

Attachments

Comments 6

doTileDrops is not effective here since Item Frames are no blocks, they are entities.

So why doesn't doMobLoot make them not drop anything?

Because all Mobs are Entities, but not all Entities are mobs?
Well, your point is valid, reopening.

Fixed?? This should have been intended. Now, players can't get items from breaking item frames in custom maps if doTileDrops is false. This never should have been changed. One perception by an individual has effectively ruined MANY adventure maps' mechanics.

I don't know if I should open a new bug or not.

There should be an argument in the command that has exceptions the the game rule.

Spencer Stith

migrated

Unconfirmed

Minecraft 14w26c

Minecraft 14w31a

Retrieved