This is a mod that works in 26.3 of Minecraft and just requires that you be wielding an axe. It also differentiates between player placed and naturally spawned logs and leaves. No worries about chopping down your base. Will not count player placed Logs prior to installation of the mod.

