mojira.dev
MC-117900

summoned_entity trigger doesn't work with items creating entities on use

The bug

Using the minecraft:summoned_entity trigger in an advancement doesn't account for a bunch of entities a player can create directly via placing of an item:

  1. minecraft:armor_stand

  2. minecraft:painting

  3. minecraft:minecart

  4. minecraft:boat

  5. minecraft:lead

  6. minecraft:fireworks/minecraft:fireworks_rocket

(also, it won't work for spawn_eggs, but this might be different issue).

How to reproduce

  1. Download the attached data pack

[media]
  1. and place it in the datapacks directory of your world folder

  2. Open the world

  3. Place an armor stand
    → ❌ The advancement is not made

  4. Place two snow blocks and a pumpkin on top of each other to spawn a snow golem
    → ✔ The advancement is made

Attachments

Comments 1

Confirmed for 1.13.2-pre2. Please keep the ticket updated.

I've moved the attached advancement file into a datapack (

[media]

).

Plagiatus

(Unassigned)

Confirmed

(Unassigned)

advancement, advancement-trigger, armor_stand, boat, criteria, fireworks_rocket, lead, minecart, painting, summoned_entity, use-item

Minecraft 1.12 Pre-Release 5, Minecraft 1.13.2-pre2, 1.15.2, 20w06a, 20w20b, 1.18.2

Retrieved