The current plugin that "works" OreReplacer has been completely deleted from Spigot and hasn't had an update in years causing some bugs.
This one hasn't been updated either but still works completely fine on 1.16.1 and 1.16.2
https://dev.bukkit.org/projects/anti-x-ray
It would be appreciated if this were added! Thank you!