Loot table tag entry with "expand": true does not apply functions
The bug
When a loot entry uses the tag type and has expand set to true, any functions on that loot entry won't be applied to the item.
How to reproduce
- Add the loot table shown below to a data pack or download the attached data pack MC-212671.zip
. - Use the /loot command to give yourself the loot table
- Notice that you only get one item, when you expect to get a full stack.
Example loot table
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:tag",
"name": "minecraft:logs",
"expand": true,
"functions": [
{
"function": "minecraft:set_count",
"count": 64
}
]
}
]
}
]
}
2021-01-24, 12:23 AM
2025-01-15, 03:50 AM
8
7
-