So I was thinking of making myself a plugin that would upon destroying a wood log, destroy the entire tree including leaves connected to it. Disable it from dropping saplings and plant a sapling on the location where the tree was. The items that would normally be harvested by the tree (Amount of logs, odd chance of an apple or two) drop at the player's feet. This would only happen if the wood logs are NOT placed down by a player. Can anyone point me in the way of accomplishing this? As I have 0 idea how to get started on this.