Custom block generation

Hello, I was wondering if it's possible to generate note blocks in cave biomes in Minecraft, in the same way that default ore veins (like coal, gold, or redstone) are generated. Additionally, I'd like to implement this feature in cave biomes added by the Terralith datapack. The note blocks must be generated on the server because I'm using the Oraxen (Nexo) plugin and leveraging note block mechanics as custom ores. I've tried using the SmartOreGeneration library in a datapack, but I can't seem to get it working correctly. Would anyone be able to clarify how to achieve this or suggest an alternative method? Thank you in advance!
Continue to help post