mojira.dev
MC-91765

Loot tables work with Hopper Minecarts but not with Hoppers

Setting LootTable for a Minecart with Hopper works, but setting it for a Hopper block does not.

Steps to reproduce:
1. Run the command

/summon MinecartHopper ~ ~ ~ {LootTable:minecraft:chests/simple_dungeon}
/summon MinecartHopper ~ ~ ~ {LootTable:minecraft:chests/simple_dungeon}

2. Open the cart and see the items.

3. Run the command

/setblock ~ ~ ~ minecraft:chest 0 replace {LootTable:minecraft:chests/simple_dungeon}
/setblock ~ ~ ~ minecraft:chest 0 replace {LootTable:minecraft:chests/simple_dungeon}

3. Open the chest and see the items.

4. Finally, run the command

/setblock ~ ~ ~ minecraft:hopper 0 replace {LootTable:minecraft:chests/simple_dungeon}
/setblock ~ ~ ~ minecraft:hopper 0 replace {LootTable:minecraft:chests/simple_dungeon}

5. Open the hopper and see no items.

Linked issues

Comments 0

No comments.

AjaxGb

migrated

Unconfirmed

Minecraft 15w44b

Minecraft 15w50a

Retrieved