mojira.dev

Paul Hayes

Assigned

No issues.

Reported

MC-192573 "/loot give @p fish minecraft:gameplay/fishing ~ ~ ~ mainhand" does not give you any treasure no matter where the command is run Invalid

Comments

Also, literally just found out that it also applies to Fishing Bobbers too.

Just experienced this bug while messing with area effect clouds in 1.16.1. Something I found out that isn't really mentioned (At least for Area effect clouds) is that they're still technically there, which you can find out if you do "/execute as @e[type=area_effect_cloud at @s run summon armor_stand" and it will be at the area effect cloud's current location instead of the aec's visual location.

I actually showed this to a friend and one of them pointed out that it probably broke because the loot table detects if the bobber is in open water. However, since this is a command running it and not an entity then the check fails and always gives you treasure. So you can fix this if you remove the condition from the loot table. So maybe this is less of a bug and more of a side effect. Still, it is kind of annoying so I hope that they do something about because otherwise I either have to remove that or add a system that chooses if the player gets fish or treasure loot.

I was thinking the reason that it didn't work is because of the changes to fishing not allowing you to get treasure unless you fulfill certain conditions. But even when the spot that you fish in does fulfill said conditions it doesn't give you treasure at all so that's not it.