mojira.dev
MC-579

Entities (paintings,item frames, minecarts) are breakable in adventure mode

I'm currently building a custom map and tried whether I was able to break item frames or not. After switching to adventure mode and hitting the frame, the frame and the item dropped. This works for paintings as well, making players able to cheat.
I know that this is not really a bug but it is really annoying.
There are also a few things like rotating an item frame or opening a dispenser that shouldn't be possible in adventure mode, however, making the players unable to destroy the item frames is the most important thing in my opinion.

Linked issues

MC-2760 Adventure Mode Player can Break Minecarts Resolved MC-2978 Minecarts in adventure mode. Resolved MC-4508 Paintings Destroyed + Adventure Resolved MC-13195 Mining Fatigue does not affect Paintings and Item Frames in survival/adventure Resolved MC-32630 Item Frames Breakable in Adventure Resolved

Attachments

Comments 65

You could also use the item frames to give players items/maps in adventure mode, so it has its uses. Perhaps a gamerule could be made to toggle this?

Roberto Casula

Agree this is something that should have a gamerule associated with it. This would both help adventure maps where we only want to use item frames as clues or indicators as well as allowing a game mechanic where item frames can be made droppable (and the embedded item therefore available) when a user solves a puzzle and activates a command block to toggle the gamerule.

Abandoned account

Yes, a gamerule would definitely be awesome. ๐Ÿ™‚

Alexander Spielvogel

I use the breakable frames to give players items and like the other posters above, I think a gamerule would be nice to toggle it. ๐Ÿ™‚

I have this same problem, its annoying because i want them to press a button to get the items shown and for it to be reusable.

55 more comments

I think the ideal solution would be for the invulnerable tag to be copied from the item to the entity when it is placed. That way, a builder would only need to /give themselves one item with the invulnerable tag set, and all the entities placed using it would inherit the tag. This would preserve flexibility (both the breakable and unbreakable versions of these items have uses in an Adventure world) while reducing the difficulty of making use of that flexibility. However, they need to be breakable by default for the sake of survival mode.

If anyone wants an easy way to make item frames unbreakable without having to use a separate command block for each one, check out the filter Ani's Invulnerability Filter by texelelf โ€” http://elemanser.com/filters.html Just place them normally and run the filter through MCEdit. Simple.

Roberto Casula

It's now even easier in the latest snapshot with the new /entitydata command. You can do, for example, /entitydata @e[type=ItemFrame] {Invulnerable:1} to set all item frames to invulnerable. You can also use this programatically to change an existing item frame's invulnerability (or indeed any other property) via a command block in adventure mode. I'm definitely for closing this bug as resolved now as the complaints about the difficulty of creating invulnerable item frames/pictures etc. is to my mind resolved by the addition of the /entitydata command.

Interestingly, this works differently for armor stands (MC-71557).

Play Dash Number f800f8 000000

If armor stand is unbreakable in Adventure, you should also do it to Item Frames. Reopen.

Abandoned account

michael

Confirmed

entity, gamemode, item, minecart

Minecraft 1.4.2, Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, ..., Minecraft 14w17a, Minecraft 14w27b, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w30c

Retrieved