https://github.com/CoolMineman/BitsAndChisels
Bits and Chisels is a Fabric mod for modern Minecraft that lets you remove small bits from blocks using chisels. You can use these bits to build detailed decorations or whatever else you want. Requires Fabric API. Has Canvas Renderer support for shaders. Uses greedy meshing and the Fabric Renderer API to achieve high FPS post-1.13 rendering changes. This mod was inspired by Chisel and Bits.
For setup instructions please see the fabric wiki page that relates to the IDE that you are using.
This mod is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.