mojira.dev
MCPE-132869

Paintings and Minecarts can be broken by players with visitor permission level

As the title says, paintings are breakable by players who are set to "Visitor", meaning they should have no interaction in the world. I only found this out after building a spawn area in my survival world at the world spawn, and setting up paintings to make things look nicer. I then decided to do some testing with other non-living entities, and found that minecarts are also affected by this issue, making it quite annoying if a friend joins that likes to troll you or mess with you, and you don't want it.

Steps to reproduce:
Create any world in creative mode
Place a painting on a wall, and a minecart on a rail
Switch to survival mode, and set your permission level to "visitor", which equates to having no permissions at all
Punch the painting and minecart, you'll be able to break both

Expected Result:
You should be unable to interact with the paintings or minecart, as you're unable to interact with anything else

Observed Result:
Anyone can break paintings or minecarts even when they shouldn't be able to as visitors.

Paintings and minecarts should, at the very least, require the "attack mobs" permission to be broken, to coincide with other entities in the game.

Linked issues

Comments 6

This is working as intended, see MCPE-22181 / MC-579.

This bug is not about adventure mode. This is for visitors who lack the ability to destroy blocks or attack mobs. There is no reason to believe breaking paintings is WAI given MCPE-22181 & MC-579 as both are adventure mode-specific.

What Douglas said, This is an issue with visitor permissions, NOT adventure mode permisssions.

Reopening since visitor is supposed to be more restrictive than adventure mode (e.g. you can't hurt mobs)

Wow. It's about time someone actually realized why this is a problem... only had to make a second report that was instantly shot down...
Seriously though, please get this fixed, it's a fairly serious issue.

Gamershy

(Unassigned)

683390

Confirmed

Multiple

1.17.2 Hotfix

1.18.20.21 Beta, 1.18.30

Retrieved