Mojira Archive
MC-217407

'/setblock' does not work on opened barrels (allows for duplicating barrels in multi-player)

How to reproduce

  1. Run:
    /setblock ~ ~ ~ minecraft:repeating_command_block{Command:"execute positioned ~ ~1 ~ if block ~ ~ ~ barrel[open=true] run setblock ~ ~ ~ bookshelf",auto:1b}
    
  2. Place a barrel on the command block and open the barrel
    The barrel should become a bookshelf but not

Note: this isn't an issue in 1.16.5

Fixed

wayne

[Mojang] Bartosz Bok

2021-03-01, 08:30 AM

2021-04-07, 03:32 PM

2021-04-07, 03:32 PM

2

4

Confirmed

Important

Block states, Commands

21w08b, 21w11a

21w14a