Just as the title suggests, I'm trying to figure out how to give my custom generated ore an experience drop. Meaning, similar to coal ore or diamond ore, when mined the player will gain a certain quantity of experience in return.
Here is a pastebin to my current code: https://pastebin.com/k96XG7He
I'm using IntelliJ, just an FYI.
Thank you so much to anybody who can help me in advance.