mojira.dev
MC-109963

Interacting in adventure mode, changing block states, has inconsistent results

The bug

The bug/inconsistency:
If you're in Adventure Mode, you can still alter some blocks or their states, which could be an issue, even more so if map-/Vanilla mod makers use different textures for each block state.

Expected
People in adventure mode not being able to alter certain blocks (or their states).

Example
Jukebox: Player can eject music disc, but not insert
Note blocks: rightclick still changes the tone and thus the possible alternate texture/model
Flower Pot incl. content: Content can be taken out of flower pot as well as inserted again

Following a list of blocks which can be interacted with as well as not interacted with; the listing does not suggest to change all of them, but is just made for an overview, to better decide which make sense to keep their current behaviour, and which should be changed.

Can be interacted with in adventure mode

(Trapped) Chests: Can be opened, things taken out and put in
Chests in Minecarts: Can be opened, things taken out and put in
Shulker Boxes: Can be opened, things taken out and put in
Ender Chest: Can be opened, things taken out and put in
Dispenser: Can be opened, things taken out and put in
Furnace: Can be opened, things taken out and put in
Crafting table: Can be accessed, things can be crafted
Flower Pot incl. content: Content can be taken out of flower pot as well as inserted again
Buttons: Can be activated by rightclicking
Wooden buttons: Can be activated by player shooting an arrow at them
Pressure Plates: Can be activated/stepped on
Armor Stand: Armour can be taken from a regular armor stand (and equipped)
Furnace in Minecart: Can be broken (into furnace + cart, then picked up) when player punches them
Chest in Minecart: Can be broken (into chest + cart, then picked up) when player punches them

Minecart: Can be broken if player punches them.
Boat: Can be broken if player punches them.
ItemFrame: Things can be inserted as well as taken out, (not invulnerable) itemframe pops off by player punching or shooting them (e.g. bow, snowballs, egg)
Painting: Pop off if player punches them.
Ender Crystals: blow up when player punches or shoots them.

Living entities: Those which can be leashed as well as unleashed in Survival-, can also in Adventure Mode.
Chicken Eggs: Player in adventure mode can throw eggs and also spawn eventually a chicken by doing so.
Snowballs: Can be thrown, as a result can pop off (not invulnerable) itemframes/paintings.

Can not be interacted with in adventure mode:

Repeater
Comparator
Daylight detector

Which of the above mentioned blocks should be possible for someone in Adventure mode to be accessible or changeable or breakable, is of course up to Mojang, but it'd be great if map makers could add their opinion as well.

Linked issues

Attachments

Comments 30

it was changed in version 16w39b.
Maybe to fix the bug [MC-107405]

Confirmed for 17w18b

Can confirm for MC 1.12.1.

Confirmed for all 1.13 snapshots

20 more comments

Confirmed for 21w37a

Wanted to use Suspicious Gravel and Sand in an Adventure map. Can't use the brushing feature. It'd be great if there was a CanBrush-Tag for the brush, CanStrip-Tag for the axe. 

You just need CanPlaceOn entries for the desired blocks for those items, Ohtacaro.

Doesn't seem like I can lock/seal flower pots in adventure mode in 1.21; although with the lack of consistent documentation I can't be sure that I just don't know how. I did figure out how to lock/seal item frames and paintings, but those are entities, and the flower pot is a block.

Can confirm this still happens in 1.21.8.
I’ve tried most of the instances you stated and the only difference I could find is that the player can now insert a disc into the jukebox as well as eject it.

Cedric Klöpsch

Meri Diana

(Unassigned)

Confirmed

Platform

Low

Block states

adventure, block-state, blockstate, flower_pot, gamemode, inconsistency, interact, interaction, right-click, rightclick

Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w18b, ..., 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17, 1.17.1, 21w37a

Retrieved