Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-118266

placed_block trigger doesn't work with multiple blocks

XMLWordPrintable

    • Unconfirmed

      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"
      		}
      	}
      }
      

            Unassigned Unassigned
            Plagiatus Plagiatus
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: