I would like to make it so that players can't break log blocks exclusively. I've considered adventure mode, but that would require hundreds of command blocks to determine what a player CAN break, determining what a player can't break, specifically logs with bare hands, would be drastically less… Two dozen at most.
i've thought about how to actually stop the player and i'll accept anything that works, so far i've got: teleports the player to their current location, give player mining fatigue 255, turning logs into bedrock, and put the player into adventure mode, my only trouble is detecting whether or not a player is punching wood.