mojira.dev
MC-1673

Several mobs can pop off paintings, item frames and leads and destroy minecarts, armor stands and anything in item form even when mobGriefing is turned off

Even after setting

/gamerule mobGriefing false

, item frames, paintings, leads, armor stands and anything in item form are still affectable by mobs (or their projectiles), e.g. creepers, withers, skeletons, strays, shulkers, ghasts and snowmen.
(What each mob can affect depends on the mob type, not all mobs can affect everything in the list.)

Overview:
Armor stands: Marker set to false, if they held any armour, this armour drops to the ground (only the armor stand gets destroyed). Armor stands with Marker set to true are not affected.
(If gamerule doTileDrops is set to false, an armor stand holding armour will not drop that armour, the armour will be destroyed together with the armor stand.)

Paintings and Item frames: When e.g. a creeper explodes closeby paintings and item frames, they drop to the ground, they are not destroyed (unless gamerule doEntityDrops is set to false).
(If an item frame held anything, it drops to the ground as well.)
If Invulnerable is set to true, they remain attached (including an inserted item, if they are item frames and hold anything).

Leads (on leashed mobs): They drop to the ground (even if gamerule doEntityDrops is set to false, see MC-75494).

Anything in item form: Gets destroyed (e.g. creeper explosion).

Linked issues

MC-617 Wither Explosions Knock Off Paintings and Item Frames Even With Mob Griefing Off Resolved MC-2467 Creepers and item frames Resolved MC-3411 Gamerule - mobGriefing bugs Resolved MC-8746 gamerule mobGriefing + explode = destroy paint and frame Resolved MC-10658 Item frames get destroyed when mob briefing is set to off Resolved

Attachments

Comments 95

what happens is that because the item frame (full or not) is an ENTITY meaning it is alive it takes damage from explosions as a mob would even with mob griefing turned off it still dies-also occours with painting and if your bothered to test mobs

Out of all the ways you could've conveyed that information, you chose the most D-baggish way possible. Good for you,you know more about a game than I do. Don't bother responding.

Adam is right, though. Paintings and Frames are entities, not blocks, so they "die" from explosions.

Confirmed in 1.4.5.

85 more comments

Can confirm in 1.19.1.

Can confirm in 1.19.2.

Can confirm in 23w04a

Can confirm in 23w06a

Relates to MC-225270

Taylor Witte

Meri Diana

etanaratsastaja

Confirmed

Platform

Normal

Commands, Entities

gamerule, mobGriefing

Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w09a, ..., 23w04a, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.3 Release Candidate 1

24w33a

Retrieved