changed canTakeCactusDamage() to a more generic method takeDamageWhenHugged(Material.BLOCK);