Mojira Archive
MC-121826

Blockstate matching uses default values for not set properties instead of wildcard

The bug

Blockstate matching uses the default values for not set properties instead of allowing any value. This means that for example stone matches only stone[variant=stone]

How to reproduce

  1. Place granite below you
    /setblock ~ ~-1 ~ stone[variant=granite]
    
  2. Try to test for stone in general
    /execute if block ~ ~-1 ~ stone run say Any stone found
    

    → The message is not displayed, only when changing stone to stone[variant=granite]

Duplicate

Boomber

2017-11-11, 07:24 AM

2017-11-12, 05:10 AM

2017-11-12, 05:10 AM

1

0

Confirmed

blockstate

Minecraft 17w45b

-