mojira.dev
MC-269706

Hoppers cannot extract from unopened crafter with loot table

Summary
Hoppers do not pull from crafters with loot table until the crafter is opened. This behavior is inconsistent with that of chests.

Steps to Reproduce

  1. Enable 1.21 experiments.

  2. Get a crafter with a loot table. In 1.20.4, use:

    /give @s crafter{BlockEntityTag:{LootTable:"minecraft:entities/chicken"}}
    /give @s crafter{BlockEntityTag:{LootTable:"minecraft:entities/chicken"}}

    In 24w12a, use

    /give @s crafter[minecraft:block_entity_data={LootTable:"minecraft:entities/chicken",id:"minecraft:crafter"}]
    /give @s crafter[minecraft:block_entity_data={LootTable:"minecraft:entities/chicken",id:"minecraft:crafter"}]
  3. Place a hopper.

  4. Place the crafter on top of the hopper.

  5. Check the contents of the hopper.

Expected Result
Hopper contains a raw chicken.

Actual Result
Hopper is empty. After opening the crafter, the items are transferred to the hopper.

Attachments

Comments 1

(Audio warning for the video, it's very loud)

apple502j

(Unassigned)

1210749

Confirmed

Expansion B

Normal

Loot tables, Redstone

1.20.4, 24w12a

Retrieved