mojira.dev
MC-159623

Placing something inside a flower pot does not trigger the "placed_block" advancement trigger

I was trying to create an advancement which requires you to place every possible type of plant inside a flower pot. One of the criteria looks like the following:

 

"potted_dandelion": {
    "trigger": "minecraft:placed_block",
    "conditions": {
        "block": "minecraft:potted_dandelion"
    }
}

However, it didn't trigger, and this led me to discover that even using just a simple placed_block trigger without the condition as follows:

 

"potted_dandelion": {
    "trigger": "minecraft:placed_block",
},

This will not trigger upon placing anything inside a flower pot, but it does trigger upon placing other blocks as intended.

Comments 1

Likely intended since you're not actually placing a block. 20w20a added the item_used_on_block trigger which can detect putting something in a flower pot.

Cavinator1

(Unassigned)

Unconfirmed

(Unassigned)

1.14.4, 19w34a, 19w40a, 19w45a, 1.15.2, ..., 20w11a, 20w13a, 20w15a, 20w16a, 20w17a

Retrieved