Mojira Archive
MC-116254

Players in Adventure mode can use some items even without CanPlaceOn tag

The bug

Players in Adventure mode can use some items which create entities on use even if the items do not have the CanPlaceOn tag. This is inconsistent with other items like armor stands, paintings and item frames which require this tag.

Affected items

Item Note
fireworks -
minecart Could be used for rail type distinction
boat Problem: Would probably not work with water
lead Problem: Player may not have lead item anymore when using it on a fence

Steps to reproduce

  1. Switch to Adventure mode
    /gamemode adventure
    
  2. Give yourself one of the affected items
  3. Try to place them

Fixed

Plagiatus

2017-04-17, 11:32 PM

2018-06-25, 04:04 AM

2017-11-24, 11:56 PM

4

1

Confirmed

CanPlaceOn, boat, entity, fireworks, item, minecart, player

Minecraft 1.11.2, Minecraft 17w14a, Minecraft 17w15a, Minecraft 1.12.1 Pre-Release 1

Minecraft 17w47b