Converted Woodcutting to Java