This is a Fabric mod that lets you throw blocks. Just right click while holding a block, and it will be thrown through the air (like a snowball).
When it lands, the block will be placed where it hit. If it hits an entity, it just drops as an item.
FABRIC API REQUIRED