Not sure if this is fixable (possibly by making player-placed blocks unable to spawn the treasure) but you can keep placing and breaking blocks that have a chance of spawning the treasure, causing a bit of an exploit where you can just stand in one spot and get free/easy loot. (At the cost of durability of whatever tool your using, but still)
While this is not completely game breaking, I believe it takes away from the spirit of the mod/datapack, which is being an incentive for mining out areas and strip mining.
Not sure if this is fixable (possibly by making player-placed blocks unable to spawn the treasure) but you can keep placing and breaking blocks that have a chance of spawning the treasure, causing a bit of an exploit where you can just stand in one spot and get free/easy loot. (At the cost of durability of whatever tool your using, but still)
While this is not completely game breaking, I believe it takes away from the spirit of the mod/datapack, which is being an incentive for mining out areas and strip mining.
I am playing on the 1.18.2 version.