-
Bug
-
Resolution: Invalid
-
None
-
24w36a
-
None
-
Windows 10, Java version 21
-
Unconfirmed
-
(Unassigned)
Expected: adding
"function": "minecraft:enchanted_count_increase"
would allow for looting to be applied to the loot table
What happened instead: There is an error validating the loot table,
Found loot table element validation problem in {minecraft:loot_table/minecraft:shearing/mooshroom}.pools[0].entries[0].entry[1]->{minecraft:shearing/mooshroom/brown}.pools[0].entries[0].functions[1]: Parameters [<parameter minecraft:attacking_entity>] are not provided in this context
Attempts to fix this issue: I have also attempted to use the fortune "apply_bonus", adding:
{ "function": "minecraft:apply_bonus", "enchantment": "minecraft:fortune", "formula": "uniform_bonus_count", "parameters": { "bonusMultiplier": 1 } }
And got this error:
Found loot table element validation problem in {minecraft:loot_table/minecraft:shearing/mooshroom}.pools[0].entries[0].entry[1]->{minecraft:shearing/mooshroom/brown}.pools[0].entries[0].functions[1]: Parameters [<parameter minecraft:tool>] are not provided in this context