mojira.dev
MC-91071

LootTable only works for chest blocks but works for all container minecarts

The LootTable tag only works for chests and trapped chests blocks, however it works for all container minecart variants. This means for example loot tables do not work with the hopper block but work with a MinecartHopper:

Example command MinecartHopper

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

Example command Hopper

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

Linked issues

Comments 3

The description and title are a bit confusing together, please update them. Thank you.

Is it intended that this (duplicating) report is open again?

Probably not. Will investigate.

marcono1234

migrated

Confirmed

hopper, hopper-minecart, loot-table

Minecraft 15w43a, Minecraft 15w45a, Minecraft 15w46a

Retrieved