Crusher and Compressor (Fabric)
Almost everything is crushable. Whether it is sensible and profitable to crush some things is quite another matter. You can even crush sand, but you will get only sand, and gain some experience.
The Crusher works similar to a furnace, and has a similar recipe:
The Compressor can sometimes reverse the action of the Crusher. And sometimes it can create new things.
It also works similar to a furnace, and even has a similar recipe:
License
Standard MIT license. Feel free to learn from it and incorporate it in your own projects.
Source code
For developers
Quite often, when I start learning programming on a new platform, I find even the simplest examples too complicated.
Tutorials, written by experts, with years of experience programming on that platform, sometimes forget how difficult those first step are.
This is why I decided to make all my Minecraft mods publicly available.
Requires
Thanks
This mod was inspired by Stone Crusher made by Blyrium. Reading his code helped me a lot, writing this mod.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+