Mojira Archive
MC-118266

placed_block trigger doesn't work with multiple blocks

the placed_block advancement trigger doesn't work with doors of any kind, as well as cocoa, carrots and potatoes.

I've tried it both with a "block" criterion and a "item" criterion, which both worked fine if changed to e.g. "dirt" instead of "wooden_door"

To replicate, create an advancement that features one of these criteria, place down an oak door and see that nothing happens. You can of course replace minecraft:wooden_door with minecraft:dirt to check whether the syntax is correct and you'll see that it triggers just as you would expect.

"place_wooden_door":{
	"trigger":"minecraft:placed_block",
	"conditions":{
		"block":"minecraft:wooden_door"
	}
}
"place_wooden_door":{
	"trigger":"minecraft:placed_block",
	"conditions":{
		"item":{
			"item":"minecraft:wooden_door"
		}
	}
}

Fixed

Plagiatus

2017-06-04, 10:57 PM

2018-08-22, 07:04 PM

2018-08-22, 07:04 PM

6

5

Unconfirmed

advancement, criteria, trigger

Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.2

Minecraft 1.13