Modifiable voxel

It really depends of what type of voxel algorithm you are using. One of which is dual contouring, and uses CSG (Constructive Solid Geometry) to the modifications, JME source code can be found for a project someone did a couple months ago:

There is also a way to do it for marching cubes as well (again, a smooth terrain approach)